Re: Linear device of two arrays

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

 



On Sat, Jul 08, 2017 at 02:53:18AM +0500, Roman Mamedov wrote:
> however it requires a shrinkable filesystem, and XFS cannot be shrunk.

And an easy way to adapt may be thus:

Just backup the last 100M of the filesystem. Then you can consider 
the filesystem to be shrunk by 100M. Not really, but it covers 
the space that will be lost in the LVM conversion (two extents).

When the conversion is done, you grow the LV back to original size, 
(now that's using two extents on another PV you have to provide) 
and restore the 100M you backed up to the LV.

The conversion is an offline operation anyways so it doesn't matter 
whether you really shrank the filesystem or not, as long as you can 
provide enough space for an LV of the original partition size.

Regards
Andreas Klauer
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux