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

Re: [linux-lvm] lvm partition on ramdisk

On Mon, 12 May 2008, Larry Dickson wrote:

> OK, I got it to work using your workaround. Thanks, Stuart.
> How do I get LVM to put all the extents of the ramdisk BEFORE any of the
> extents of the raid array? Even if I list the pvs, ramdisk first, in the
> lvcreate command and/or start with the ramdisk in a vgcreate followed by
> adding the raid array in a vgextend... it always ignores the ramdisk and
> only assigns extents from the raid array. (I suppose it is putting the
> ramdisk at the end, where it is useless for my purposes.)

You can specify which PV to use in lvcreate.  

Let me repeat the warning - if the system goes down while the ramdisk
is part of the volume group, LVM will be unhappy and require recovery
of the volume group.  (I.e. your system could be unbootable.)  You had better
not have your root fs on the VG.  

	      Stuart D. Gathman <stuart bmsi com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

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