Commands For UNIX System Administration
Commands For UNIX System Administration
This is an automatically-generated printer-friendly PDF version of the HTML web page at Commands for UNIX System Administration CLICK HERE to get the standard HTML version of this document. This is an automatically-generated printer-friendly PDF version of the HTML web pages at Commands for UNIX System Administration CLICK HERE to get the standard HTML version of this document.
This is an automatically-generated printer-friendly PDF version of the HTML web pages at Microcode Levels CLICK HERE to get the standard HTML version of this document.
This is an automatically-generated printer-friendly PDF version of the HTML web pages at Software Package Filesets CLICK HERE to get the standard HTML version of this document.
This is an automatically-generated printer-friendly PDF version of the HTML web pages at Users and Groups CLICK HERE to get the standard HTML version of this document.
This is an automatically-generated printer-friendly PDF version of the HTML web pages at How To Manage Terminals and Async Ports CLICK HERE to get the standard HTML version of
Page 1 of 4 1
Commands for UNIX File System Administration How to find the amount of free space available
Display the number of free physical partitions
Determine the logical volume associated with the paging space or file system: 1 For a paging space: lsps -t lv For non-paging file systems: df -k Determine the volume group associated with the logical volume: 2 lslv hd# Don't include the /dev/ prefix. The number of 1024-blocks will be the number of LPs times the PP SIZE times 1024. Determine if there are enough free physical partitions in the volume group to increase space. 3 lsvg vgname For mirrored drives, the number of FREE PPs must be at least the number of logical partitions to be added times the number of COPIES in the lslv command. The number of USED PPs in the lsvg output will be 4 more than the sum of the allocated PPs shown in the output of the lslv commands for all of the logical volumes allocated from the volume group.
This is an automatically-generated printer-friendly PDF version of the HTML web pages at Commands for UNIX File System Administration CLICK HERE to get the standard HTML version of this document.
Other Commands Create a backup of the root volume group (rootvg) on tape
mksysb -iXV /dev/rmt0 i creates an /image.data file with some important information needed for rebuilding other volumes and file systems. X
2 Page 2 of 4
mount command
To access the data on a CD-ROM, use the smit mountfs FastPath or issue the mount command: mount -rv cdrfs /dev/cd0 /cdrom cd /cdrom where /cdrom is the mount point where the CD-ROM is to be accessed.
umount command
A file system can be unmounted using the smit umountfs FastPath or by issuing the umount command with either the device name: umount /dev/cd0 or with the mount point: umount /cdrom The file system to be unmounted cannot be active, so you may need to ensure that there are no users accessing it.
This is an automatically-generated printer-friendly PDF version of the HTML web pages at UNIX mksysb command CLICK HERE to get the standard HTML version of this document.
Page 3 of 4
Index
Page 4 of 4