Sync usage with man page.
[netbsd-mini2440.git] / external / gpl2 / lvm2 / dist / test / t-lvresize-usage.sh
blobd9860e96f053a8f07cfa5d7571019e46c1e362a5
1 # Copyright (C) 2007-2008 Red Hat, Inc. All rights reserved.
3 # This copyrighted material is made available to anyone wishing to use,
4 # modify, copy, or redistribute it subject to the terms and conditions
5 # of the GNU General Public License v.2.
7 # You should have received a copy of the GNU General Public License
8 # along with this program; if not, write to the Free Software Foundation,
9 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
11 . ./test-utils.sh
13 aux prepare_vg 2
15 lvcreate -L 10M -n lv -i2 $vg
16 lvresize -l +4 $vg/lv
17 lvremove -ff $vg
19 lvcreate -L 64M -n $lv -i2 $vg
20 not lvresize -v -l +4 xxx/$lv