Skip to contentSkip to conversation

Patch for adding --resize to manpage

DISCUSSION Zdenek Kabelac 3 participants 4 messages Jun 8, 2010 – Jun 18, 2010

lore
Share & tools
lore
#0 lore raw

Here is proposal for adding documentation about --resizefs, --nofsck,--force option for lvextend, lvresize, lvreduce.

It should resolve: https://bugzilla.redhat.com/show_bug.cgi?id=592428

Zdenek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Man-page-update-for-lvresize-resizefs.patch
Type: text/x-patch
Size: 4426 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/lvm-devel/attachments/20100608/ce40df99/attachment.bin>

#1 lore raw
Quoted 2 lines · Zdenek Kabelac

Here is proposal for adding documentation about --resizefs, --nofsck,--force option for lvextend, lvresize, lvreduce.

No native english speaker acked that...

ack, otherwise it will wait forever.

m.

#2 lore raw
In reply to Zdenek Kabelac

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."

Under lvreduce, is there no '--force' option? If not, we should probably remove a reference to in in '--nofsck'.

Under lvreduce/'--resize', same comment concerning fsadm.

Under lvresize/'--force', s/question/questions/

Under lvresize/'--resize', same as above

Otherwise, seems fine.
brassow

Quoted 11 lines · Zdenek Kabelac

Here is proposal for adding documentation about --resizefs, -- nofsck,--force option for lvextend, lvresize, lvreduce.

It should resolve: https://bugzilla.redhat.com/show_bug.cgi?id=592428

Zdenek

<Man-page-update-for-lvresize-resizefs.patch>--
lvm-devel mailing list
lvm-devel at redhat.com
https://www.redhat.com/mailman/listinfo/lvm-devel

#3 lore raw

Dne 18.6.2010 00:10, Jonathan Brassow napsal(a):

Quoted 6 lines

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.

Zdenek