Safe lvm reduce

Luciano Rocha strange at nsk.no-ip.org
Tue Oct 16 17:26:47 UTC 2007


On Tue, Oct 16, 2007 at 07:22:27PM +0200, Demeter Tibor wrote:
> > The value of fs_blocks is usually 4096, but depends on the filesystem.
> > You can find the correct value with dumpe2fs device | grep size:
> > ...
> > Block size:               4096
> > ...
> >   
>  If i using resize2fs newsize_in_fs_GB or MBinstead of blocksize then is 
>  problem?
>  I don't understand what is the different.

You can, with the suffix G and M, respectively, but only on recent
resize2fs versions.

I.e., resize2fs /dev/device 8G is the same as
  resize2fs /dev/device 8192M is the same as
  resize2fs /dev/device 2097152 (assuming 4096 blocks).

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071016/cff3f608/attachment-0001.sig>


More information about the fedora-list mailing list