utility extends the
the disk must be labeled to a bigger size using
If you wish to grow a file system beyond the boundary of
the slice it resides in, you must re-size the slice using
If you are using volumes you must enlarge them by using
utility extends the size of the file system on the specified special file.
can only enlarge unmounted file systems.
Do not try enlarging a mounted file system, your system may panic and you will
not be able to use the file system any longer.
Most of the
options cannot be changed by
In fact, you can only increase the size of the file system.
for other changes.
The following options are available:
Causes the new file system parameters to be printed out without actually
enlarging the file system.
will ask you if you took a backup of your data before and will do some tests
is currently mounted or whether there are any active snapshots on the file
This will be suppressed.
So use this option with great care!
of the file system after enlarging in sectors.
This value defaults to the size of the raw partition specified in
(in other words,
will enlarge the file system to the size of the entire partition).
growfs -s 4194304 /dev/vinum/testvol
up to 2GB if there is enough space in
utility works starting with
There may be cases on
Fx 3.x only, when
does not recognize properly whether or not the file system is mounted and
exits with an error message.
Then please use
if you are sure that the file system is not mounted.
It is also recommended to always use
after enlarging (just to be on the safe side).
For enlarging beyond certain limits, it is essential to have some free blocks
available in the first cylinder group.
If that space is not available in the first cylinder group, a critical data
structure has to be relocated into one of the new available cylinder groups.
Fx 3.x this will cause problems with
needs to be patched if you want to use
This patch is already integrated in
Fx starting with
Fx 4.4 .
To avoid an unexpected relocation of that structure it is possible to use
on the first cylinder group to verify that
in the CYLINDER SUMMARY (internal cs) of the CYLINDER GROUP
has enough blocks.
As a rule of thumb for default file system parameters one block is needed for
every 2 GB of total file system size.
writes this critical structure to disk and reads it again later for doing more
This read operation will provide unexpected data when using
Therefore, this part cannot really be simulated and will be skipped in test