[linux-lvm] lvreduce nightmare

Andy Smith andy at strugglers.net
Sun May 20 19:45:54 UTC 2012


Hi Tariq,

On Sun, May 20, 2012 at 02:29:56PM +0530, tariq wali wrote:
> I am not sure if reducing by lvreduce alone is safe and will actually
> reduce the underneath file system also,

It won't; I never said it would.

My point was that you said:

> and then lvreduce -n data -L 100G /dev/vg0/data ( to reduce the lvm by
> 100

but that WON'T do what you want. That will reduce the LV *to* 100G.

You need BOTH your resize2fs AND lvreduce commands to be correct.

Cheers,
Andy

-- 
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/20120520/d34760a7/attachment.sig>


More information about the linux-lvm mailing list