Example: Adding a Disk
- Physically attach the disk to the system. Make sure there are no SCSI ID conflicts.
- Run cfgmgr to detect new device. Device will be installed as hdiskn, where n is some integer.
- Run extendvg vgname hdiskn to add the disk to a VG named vgname.
- To create a new filesystem on this VG, use crfs -v jfs -g vgname -A yes -a size=262144. (Note that the size parameter indicates the number of 512-byte blocks, so 262144 means 128MB.)
- To add 128MB to an existing filesystem on this VG, use chfs -a size=+262144 /filesystem/name.
Mark D. Roth <roth@feep.net>