[linux-lvm] removing a pv from an lv formatted xfs

Ken Savich ken at daydream.net
Sun Jan 13 05:14:02 UTC 2002


Knowing now that xfs cannot be shrunk, I'm stuck with a problem. I have 
one vg that consists of
three pv's

hde = 160gig
hdb = 40gig
hdg = 100gig

that all belong to one lv mount at /u1 with xfs as the filesys

I started this with the first 160 gig that had 103gig of data on it. I 
added hdb and hdg and have since
not written anything to the lv. My problem lies in the fact that hdb is 
now going bad with tons of errors
on umount from the kernel. I need to remove it but I cannot shrink the 
xfs partition that the lv it belongs
to is on. How can I remove this disk? If I remove hdb from the lv 
without shrinking the filesystem, will it whack
my data? Is there any way around this? I'm sure there is only data on 
hde, the original first disk of the vg.
Please, help me so I don't lose my stuff....

I'm using lvm 1.0.1 with kernel 2.4.16 and xfs 1.0.2

thanks a million for any suggestions...

Ken





More information about the linux-lvm mailing list