1growpart(1)                       cloud-utils                      growpart(1)
2
3
4

NAME

6       growpart  -  extend  a partition in a partition table to fill available
7       space
8
9

SYNOPSIS

11       growpart [OPTIONS] DISK PARTITION-NUMBER
12
13       growpart partition
14          rewrite partition table so that partition takes up all the space  it
15       can
16          options:
17           -h | --help      print Usage an exit
18                --fudge F   if part could be resized, but change would be
19                            less than 'F', do not resize (default: 20480)
20           -N  |  --dry-run   only report what would be done, show new 'sfdisk
21       -d'
22           -v | --verbose   increase verbosity / debug
23
24

OPTIONS

26       -h | --help
27              Show usage and exit
28
29       -N | --dry-run
30              Only report what would be done
31
32       --fudge COUNT
33              Only modify partition table if the given  partition  would  grow
34              more than COUNT sectors (512 bytes).  The default value is 20480
35              indicating that no change will be made unless more than  10M  of
36              space would be gained.
37
38       -v | --verbose
39              Give more information to stderr.
40
41

ARGUMENTS

43       DISK   The device or disk image to operate on
44
45       PARTITION-NUMBER
46              The number of the partition to resize (counting from 1)
47
48

DESCRIPTION

50       Rewrite  a  partition  table  in a disk or disk image so that the given
51       partition takes up as much space as it can.  After running, the  parti‐
52       tion  will  end at the end of the disk, or at the beginning of the next
53       partition.
54
55

EXAMPLES

57       Extend partition 1 in /dev/sda to fill empty space until end of disk or
58       next partition
59                 growpart /dev/sda 1
60
61       Extend partition 2 in disk image my.image.
62                 growpart my.image 2
63
64

EXIT STATUS

66       The  exit  status  is  0  if the partition was successfully grown or if
67       --dry-run was specified and it could be grown. The exit status is 1  if
68       the  partition  could  not be grown due to lack of available space. The
69       exit status is 2 if an error occurred.
70
71
72

AUTHOR

74       This manpage was written  by  Scott  Moser  <smoser@canonical.com>  for
75       Ubuntu  systems  (but may be used by others).  Permission is granted to
76       copy, distribute and/or modify this document under the terms of the GNU
77       General  Public License, Version 3 published by the Free Software Foun‐
78       dation.
79
80       On Debian systems, the complete text of the GNU General Public  License
81       can be found in /usr/share/common-licenses/GPL.
82
83
84
85cloud-utils                       25 Feb 2011                      growpart(1)
Impressum