[Gllug] DVD`s supporting DMA?

Nix nix at esperi.org.uk
Tue May 24 12:53:05 UTC 2005


On Mon, 23 May 2005, Rich Walker murmured woefully:
> Nix <nix at esperi.org.uk> writes:
>> LVM, mount-by-LABEL, mount-by-UUID... there are *lots* of ways to fix
>> this.
> 
> Root disk moving around during boot is my main problem. But GRUB makes
> this easy.

Yes :)

> And yes, it does have LVM - but the software RAID array that is LVM'd
> seems to need 2 successful boots - one to take on board the re-arranged
> disks, and the other to let device-mapper pass this to LVM properly.

Sounds like you need to adapt your startup scripts.

# Mount /proc, so that vgscan and friends can use it, and /tmp, for locking.
mount /proc
mount /tmp

# Create the device-mapper device nodes.
/sbin/devmap_mknod.sh

# Ignore locking failures and make device nodes.

# Scan for volume groups.
/sbin/vgscan --ignorelockingfailure --mknodes
/sbin/vgchange -ay --ignorelockingfailure


does a perfectly good job for me.

(If your root filesystem is LVMed, you'll need to do something similar
both in your initrd and early in your post-initrd boot scripts.)

-- 
`Once again, I must remark on the far-reaching extent of my
 ladylike nature.' --- Rosie Taylor
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list