[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#336514: yaird: falls down when new scsi/sata disks are added



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 30 Oct 2005 16:18:11 -0500
Daniel Jacobowitz <dan@debian.org> wrote:

> This system has three SATA drives in it.  sda and sdc have a RAID-1
> array on them, with LVM on top of that, holding my root partition.
> sdb has a Windows installation.
> 
> The Windows installation is new.  So is the drive; I plugged it in
> yesterday.  Previously the RAID array was on sda and sdc.
                                                       ^^^

I suspect you meant sdb here.


> It would be nice if yaird could identify SATA devices by something
> other than their previous names, so that I didn't have to manually
> restart mdadm in the initrd using just dash and cat.

By default yaird generates ramdisks strictly tied to the environment at
ramdisk build time.

In your case it would make sense to only have the image tied to the
UUID, but in other cases perhaps it would make sense to ignore UUID and
instead only use device names.

What I believe will work (I haven't tried myself) is to
edit /etc/yaird/Templates.cfg and at TEMPLATE mdadm remove the third
line of the script (remember to also remove the trailing "\" in the
line above).

 - Jonas

- -- 
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDZVlNn7DbMsAkQLgRAiMDAJ0VSskofbAtu4jlRGsck9eRgQJhqgCeNxhJ
MSIrynyEYXurc5lDhQcsYIE=
=xJ2w
-----END PGP SIGNATURE-----



Reply to: