[linux-lvm] shrink pv without pvresize (FC3 LVM)

Ilya Goldin goldin+ at pitt.edu
Fri Dec 10 22:55:09 UTC 2004


I did something stupid, and I need help.

The goal is to have a single hard drive with four partitions: NTFS,
FAT32 (/home), swap, and LVM ext3 (/). What I have now is NTFS, Swap,
and one LVM VG that contains both / and /home, and both are ext3.

First,

# pvresize
Command not implemented yet.

Is there a workaround (short of writing pvresize)?

Second, I had a feeble hope that Windows XP (booted off the NTFS
partition) would deign to see a FAT32 LV under LVM. That is, if I change
/home to be FAT32, Windows might see it, so I figured I'd give it a
shot. (Is this futile?)

# mkdosfs -F 32 /dev/VolGroup00/LogVol02
mkdosfs 2.8 (28 Feb 2001)
mkdosfs: Unable to get drive geometry for '/dev/VolGroup00/LogVol02'

Why can't it get the geometry? Does LVM support FAT32 LVs? Does mkdosfs
support LVM?

Thanks!





More information about the linux-lvm mailing list