allocatefs utility: allocates drives for InfoPrint Manager for AIX file systems
Syntax
allocatefs [-d hdiskn] |
allocatefs [-s volume_group] |
allocatefs [-f filesystem [hdiskn hdiskn [hdiskn...]] |
allocatefs -?
Description
Use the allocatefs utility to allocate drives and specify a volume group for the InfoPrint Manager for AIX file systems.
Flags
The allocatefs utility uses these flags:
- -d
- Specifies the drive you want InfoPrint to use when allocating the three shared file systems /var/psf, /var/psf/segments, and /var/pddir.
- -s
- Specifies an existing shared volume group you want InfoPrint to use when allocating
the three shared file systems /var/psf, /var/psf/segments, and /var/pddir.
This presumes that the AIX administrator wants to put these shared file systems into a particular volume group.
- -f
- Allocates either the /var/pd or the /var/pddir file system.
You can assign a minimum of two drives and a maximum of four drives for these file systems. This script automatically determines disk size and stripes the drives together.
- ?
- Displays help for the allocatefs utility.
Arguments
The argument value identifies the server to which the utility applies.
Valid argument values for the allocatefs utility are:
- hdisk-n
- Specifies the disk drives on your system for allocating the different file systems.
For the -f flag, you must specify an hdisk where /var/psf, /var/psf/segments, and /var/pddir will all be placed.
For the -f flag, you must specify each file system (either /var/pd or /var/psf/segments) in a separate command and provide from two to four disks as the second sets of arguments with each command.
- shared_volume_group
- Specifies the existing shared volume group name that you want to use for allocating
the three shared file systems /var/psf, /var/psf/segments, and /var/pddir.
For the -s flag, you must specify the name of the predefined shared volume group where /var/psf, /var/psf/segments, and /var/pddir will all be placed.
Examples
- To allocate the shared file systems /var/psf, /var/psf/segments, and /var/pddir on hdiskn, enter:
allocatefs -d hdisk1
- To allocate all shared filesystems to an existing shared volume group (my_vg), enter:
allocatefs -s my_vg
- To allocate the file system /var/pd across hdisk2 and hdisk3, enter:
allocatefs -f /var/pd hdisk2 hdisk3
- To allocate the file system /var/psf/segments across hdisk4 through hdisk6, enter:
allocatefs -f /var/psf/segments hdisk4 hdisk5 hdisk6