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

Re: [lvm-devel] Patch for adding --resize to manpage

Dne 18.6.2010 00:10, Jonathan Brassow napsal(a):
Under lvextend/'--force', s/without any question/without any questions/.

Under lvextend/'--resizefs', The sentence about 'fsadm' seems to imply that it
is necessary in addition to the argument. Is this the case? If not, perhaps we
could say something like, "fsadm can be used to resize a filesystem separately
if this option is not used."

It works rather this way:

lvresize calculates new blocksize from command line options and
- resizes LV and execs fsadm for fs resize (lvextend)
- or execs fsadm for fs shrink and then reduces LV (lvreduce)

It will not work without fsadm as the lvresize command does not know anything about filesystems and their utilities for its resizing.

The other way around is - to use only  fsadm - which will use lvresize.
It should have easier syntax for user - on the other hand - doesn't handle given sizes - i.e. 1.5GB (float numbers) are not yet supported by this tool and user needs to use 1500M.


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