Dale wrote:
So, the commands is something like this:
resize2fs /dev/mapper/data-data1 400G < this should make the VG a
absolute size of 400Gbs which leaves a little room left over. If I
used a - in front, it would reduce by that amount. >
lvreduce -L 400G /dev/data/data1 < I assume I can make this the same
size as above? >
pvmove -v /dev/sdb1
pvremove /dev/sdb1
For some poor soul that is as new to LVM as I am. Here is the commands
I ended up using:
umount /data
e2fsck -f /dev/mapper/data-data1
resize2fs /dev/mapper/data-data1 400G
lvreduce -L 400G /dev/data/data1
pvmove -v /dev/sdb1
I did have to unmount it first. It just wouldn't proceed without that
one. It then told me I had to run fsck on it too. Other than that, it
seems to have worked fine.
Now to figure out a few other things. I may be back. o_O
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how
you interpreted my words!