[CentOS] shrink LV with ext3 filesystem
strange at nsk.no-ip.org
Tue Sep 4 10:53:03 UTC 2007
On Tue, Sep 04, 2007 at 12:40:24PM +0200, Thomas Antony wrote:
> I want to make a snapshot from a logical volume and noticed that there must
> be enough free disk space in the volume group. Actually there is no free
> disk space left.
> How do i shrink online /var without losing any data or restore from backup?
You can't shrink ext2/ext3 filesystems online. You'll have to schedule a
Another solution is to remove and use a file for swap (swapoff ... &&
lvremove ...), or reduce it (swapoff ... && lvreduce ... && mkswap && swapon).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20070904/e1fb9035/attachment.bin
More information about the CentOS