PDA

View Full Version : lvm in bootup/shutdown script



sireasoning
01-21-2003, 08:44 AM
I have successfully used lvm with knoppix but so far I have to a lot of manual configuring.

It would be nice if Knoppix could be smart enough to:
recognize drives formated to lvm and not post them to /etc/fstab (and therefore creating links on the kde desktop) as a regular partition to mount (it is pointless)

have the startup script activate lvm volumes (vgscan && vgchange -a y) and then have knoppix post those volumes (partitions) in fstab (and therefore create a link on the kde desktop).

have the shutdown script deactivate lvm after all partitions (and volumes) have been unmounted (vgchange -a n)