Patchwork [Precise] d-i: Add dm-multipath and scsi device handlers

login
register
mail settings
Submitter Stefan Bader
Date March 20, 2012, 10:43 a.m.
Message ID <1332240182-7220-1-git-send-email-stefan.bader@canonical.com>
Download mbox | patch
Permalink /patch/147781/
State New
Headers show

Comments

Stefan Bader - March 20, 2012, 10:43 a.m.
In Lucid dm-multipath was built-in but now is a module. So it
needs to be added to the md-modules list.
The scsi device handlers never where but probably should as
they are required for certain types of storage. On amd64 this
adds about 100KB for the four handler modules.

-Stefan


From 028f7a593ddda220e92d9bbe9c725bcabb39bfe0 Mon Sep 17 00:00:00 2001
From: Stefan Bader <stefan.bader@canonical.com>
Date: Tue, 20 Mar 2012 10:28:14 +0100
Subject: [PATCH] UBUNTU: d-i: Add dm-multipath and scsi device handlers

This is required to support installing onto multipath devices
(or preseed) from the install media.

BugLink: http://bugs.launchpad.net/bugs/959749

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
---
 debian.master/d-i/modules/md-modules   |    1 +
 debian.master/d-i/modules/scsi-modules |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)
Leann Ogasawara - March 20, 2012, 1:43 p.m.
Applied to Precise master-next.

Thanks,
Leann

On Tue, 2012-03-20 at 11:43 +0100, Stefan Bader wrote:
> In Lucid dm-multipath was built-in but now is a module. So it
> needs to be added to the md-modules list.
> The scsi device handlers never where but probably should as
> they are required for certain types of storage. On amd64 this
> adds about 100KB for the four handler modules.
> 
> -Stefan
> 
> 
> From 028f7a593ddda220e92d9bbe9c725bcabb39bfe0 Mon Sep 17 00:00:00 2001
> From: Stefan Bader <stefan.bader@canonical.com>
> Date: Tue, 20 Mar 2012 10:28:14 +0100
> Subject: [PATCH] UBUNTU: d-i: Add dm-multipath and scsi device handlers
> 
> This is required to support installing onto multipath devices
> (or preseed) from the install media.
> 
> BugLink: http://bugs.launchpad.net/bugs/959749
> 
> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>  debian.master/d-i/modules/md-modules   |    1 +
>  debian.master/d-i/modules/scsi-modules |    6 ++++++
>  2 files changed, 7 insertions(+), 0 deletions(-)
> 
> diff --git a/debian.master/d-i/modules/md-modules b/debian.master/d-i/modules/md-modules
> index 18d0214..9b43a3f 100644
> --- a/debian.master/d-i/modules/md-modules
> +++ b/debian.master/d-i/modules/md-modules
> @@ -1,3 +1,4 @@
> +dm-multipath ?
>  dm-crypt ?
>  dm-zero ?
>  faulty ?
> diff --git a/debian.master/d-i/modules/scsi-modules b/debian.master/d-i/modules/scsi-modules
> index 5425b06..f09c60f 100644
> --- a/debian.master/d-i/modules/scsi-modules
> +++ b/debian.master/d-i/modules/scsi-modules
> @@ -117,3 +117,9 @@ vmw_pvscsi ?
>  ums-cypress ?
>  be2iscsi ?
>  3w-sas ?
> +
> +# device handlers
> +scsi_dh_alua ?
> +scsi_dh_emc ?
> +scsi_dh_rdac ?
> +scsi_dh_hp_sw ?
> -- 
> 1.7.9.1
> 
>

Patch

diff --git a/debian.master/d-i/modules/md-modules b/debian.master/d-i/modules/md-modules
index 18d0214..9b43a3f 100644
--- a/debian.master/d-i/modules/md-modules
+++ b/debian.master/d-i/modules/md-modules
@@ -1,3 +1,4 @@ 
+dm-multipath ?
 dm-crypt ?
 dm-zero ?
 faulty ?
diff --git a/debian.master/d-i/modules/scsi-modules b/debian.master/d-i/modules/scsi-modules
index 5425b06..f09c60f 100644
--- a/debian.master/d-i/modules/scsi-modules
+++ b/debian.master/d-i/modules/scsi-modules
@@ -117,3 +117,9 @@  vmw_pvscsi ?
 ums-cypress ?
 be2iscsi ?
 3w-sas ?
+
+# device handlers
+scsi_dh_alua ?
+scsi_dh_emc ?
+scsi_dh_rdac ?
+scsi_dh_hp_sw ?