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

Re: [linux-lvm] which files, which physical volumes?




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.


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