]> git.pld-linux.org Git - projects/geninitrd.git/blame - lvm.todo
- ChangeLog update by changelog.sh
[projects/geninitrd.git] / lvm.todo
CommitLineData
41b2b327
AF
1Thing to implement for using LVM on rootfs:
2- if rootfs device have unsupported name then check if this is block device
3 with major 58
4- check PVDEVICES and if empty do:
5-- run lvdisplay to determine volumen group (vg)
6-- run pvscan to find physical volumens (pv) belong to determined vg
7 (better write help application to parse /etc/lvmtab.d/[vgname] or
8 /etc/lvmconf/[vgname].conf - ask malekith for help)
9- for all finded pvs find needed modules (support all devices that are
10 supported for rootfs device)
11- add to startup:
12mount /proc
13mount /tmp
14mkdir /tmp/lvmtab.d
15mkdir /tmp/lvmconf
16lvm-initrd vgscan
17lvm-initrd vgchange -a y
18umount /tmp
19umount /proc
20
21NOTE: vgscan need writable /etc/lvmtab and /etc/lvmtab.d/. Distrib kernel are
22builded only with romfs, so mount tmpfs on /tmp and symlink writable files from
23original location to /tmp.
24But tmpfs are only in kernel series 2.4.x or later.
This page took 0.042888 seconds and 4 git commands to generate.