Re: which files, which physical volumes?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thursday, September 23, 2004, at 11:31 PM, Steve Wray wrote:

Luca Berra wrote:

On Fri, Sep 24, 2004 at 02:29:37PM +1200, Steve Wray wrote:
Or maybe pvmove is *still* broken, in which case I need to find the files which occupy that physical volume, move them to a different logical volume altogether and then forcibly remove that physical volume without regard to the files that are no longer on it... and hopefuly this won't cause corruption on the filesystem on that logical volume.
this will certainly cause corruption.

So is there any other way to decomission that physical volume that doesn't involve pvmove?


Actually, this just got more interesting because after the last
pvmove --abort I now get this error out of pvmove -tv;

Insufficient contiguous allocatable extents (780) for logical volume pvmove0: 1292 required
Allocation for temporary pvmove LV failed


which is new.

I am guessing here, but if I moved some of the larger files out of that logical volume, might pvmove be able to work around this?


LVM knows nothing of your files. It knows blocks, and it allocates them to Volume Groups and Logical Volumess without regard to whether or not the filesystem will use them.


Yours seems to be telling you that you can't move 1292 physical extents into 780. You'll have to add physical volumes (NFS mounted loopback? External USB harddrive?), or remove other logical volumes.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux