minors and lv's
how is it possible to figure out what minor in parted's ouput refers to a specific lv
for example:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/Volume00/LogVol00
12502184 5094096 6773004 43% /
/dev/hda1 1541680 38320 1425048 3% /boot
/dev/Volume00/LogVol01
12502184 290392 11576708 3% /home
none 240160 0 240160 0% /dev/shm
/dev/hdb1 9614116 1000540 8125204 11% /shared
/dev/Volume00/LogVol03
95195 4853 85427 6% /tmp
/dev/Volume00/LogVol02
12493992 241100 11999024 2% /usr/local
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1 0.031 1529.626 primary ext3 boot
2 1529.657 19045.810 primary ntfs
3 19045.811 31455.395 primary lvm
4 31455.396 57239.406 extended lba
5 31455.426 43864.980 logical lvm
6 43865.011 56274.565 logical lvm
7 56274.596 57035.456 logical linux-swap
8 57035.487 57137.431 logical lvm
9 57137.462 57239.406 logical lvm
I resized LogVol02 :
e2fsadm -L-5 /dev/Volume00/LogVol02
then
lvextend -L +2 /dev/Volume00/LogVol00
so
i need to make these changes in the fs of LogVol00
(I think e2fsadm alrady reduced th fs for LogVol02
right?)
the problem is LogVol00=/ and cant be unmounted. Perhaps parted will allow me to resize but I cand figure out which minor is LogVol00 or /
|