[linux-lvm] lvreduce nightmare

Andy Smith andy at strugglers.net
Sat May 19 23:14:05 UTC 2012

Hi tariq,

On Fri, May 18, 2012 at 07:43:40PM +0530, tariq wali wrote:
> so to i guess to do this right i should have
> resize2fs /dev/vg0/data 1.6T or (1600G)
> and then lvreduce -n data -L 100G /dev/vg0/data ( to reduce the lvm by 100
> )

I believe that will also reduce the LV *to* 100G. You want:

# lvreduce -n data -L-100G

if you want to reduce it *by* 100G.

Nothing like FS/LV shrinking to keep you on your toes..


http://bitfolk.com/ -- No-nonsense VPS hosting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20120519/2845f47d/attachment.sig>

More information about the linux-lvm mailing list