|
- The following fields must be set within this structure:
- Set PCTL_EXT_FSNAME to the name of the file system to be extended.
- If your request is to allocate space on a new volume, set the
PCTL_EXT_NEW_VOL flag on.
- Set PCTL_EXT_UNIT to one of the following units to extend:
- ExtendFS_UNIT_MB to indicate that the amount to extend is in megabytes
(MB).
- ExtendFS_UNIT_TRK to indicate that the amount to extend is in
tracks.
- ExtendFS_UNIT_CYL to indicate that the amount to extend is in
cylinders.
- Set PCTL_EXT_AMT to the amount to be extended.
- The caller must be a superuser.
- If the flag PCTL_EXT_NEW_VOL = off, an attempt to obtain additional
space is only made on the last volume of the HFS. The HFS will not
be extended to a new volume.
- If the flag PCTL_EXT_NEW_VOL = on, an attempt to obtain additional
space is only made on a new volume. In this case, candidate volumes
must exist for the HFS, and the candidate volumes must have existed
at the time of the current mount of the HFS.
- If a secondary space amount exists for the HFS, it is ignored.
- If the entire amount requested cannot be obtained, the operation
fails.
- This command is equivalent to the confighfs shell command:
confighfs -x size pathname To extend on the same volume
confighfs -xn size pathname To extend to a new volume
where
size is the amount to be extended suffixed by the extend unit of M
(megabytes), T (tracks), or C (cylinders) and pathname is an absolute
or relative pathname that identifies the HFS.
|