17.3 FILE SYSTEMS AND DISKS The requirements for the file system resources for OpenView are outlined in the Installation Guide for the Management Server. The requirements for file system resources change as the system used to store information as the OpenView domain grows. The default configuration for disks can be examined using the Logical Volume Manager (LVM) provided with HP-UX as an example for disk storage allocation. Other volume manager products (such as Veritas Volume Manager, also supported on HP-UX) use similar concepts. Disk storage devices are generally assigned to a volume group; the volume group is used to allocate capacity to partitions (called logical volumes). The result of the allocation of logical volumes becomes a file system available for use to store the data for the operating system and applications. Over time, the file system requirements for OpenView may change. In some cases, the allocation of physical disks within volume groups may change if some of the original allocation of capacity is unused. Other reasons to evaluate the allocation of disk and file system resources include changes to the database when additional extents are required and performance issues.17.3.1 Check the Disks Available on the System LVM and file system commands to help check the disks and allocation of disk capacity within the system are listed here for reference purposes. Refer to the system documentation for a complete description of the commands.- ioscan funC disk
Check which disks are physically attached to the system - vgdisplay v
Display volume groups and logical volumes - lvdisplay v /dev/vg00/lvol1
Display information about a specific logical volume - bdf
Check which logical volumes are mounted to the file systems - more /etc/fstab
Check that the file systems are mounted during system startup - fsck
Check the file system integrity (requires specific options)
17.3.2 Check the Available Capacity of the File Systems The file system information is helpful to keep track of potential file systems that will require added capacity or file systems that are not using all the allocated capacity. Refer to the HP-UX System Administration Guide for details. You can also receive regular updates about the file systems if you implement file system monitor templates. You can implement file system monitor templates by creating them or by installing the OS-SPI. The file system listing here is generated from executing the bdf command.Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 262144 104752 147585 42% / /dev/vg00/lvol1 299157 46169 223072 17% /stand /dev/vg00/lvol6 2097152 1375663 678526 67% /var /dev/vg00/lvol5 2097152 1078611 954919 53% /usr /dev/vg01/lvol2 4096000 2845065 1172754 71% /u01 /dev/vg01/lvol1 524288 215234 290673 43% /tmp /dev/vg00/lvol7 2048000 1569073 449503 78% /opt /dev/vg00/lvol4 262144 1181 244657 0% /home /dev/vg01/lvol8 2048000 1607 1918501 0% /backup
|