HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 31
Journaled File Systems, IRIX Disk Logical Volume Creation, IRIX Logical Volume Increase, Logical
View all HP Visualize J210XC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 31 highlights
Disks and File Systems Journaled File Systems The IRIX operating system uses XFS as a journaling file system. Journaled file systems use a log system instead of fsck to reinstate a file system after a failure, for a rapid and reliable recovery after a system crash. XFS uses user specified block sizes from 512 bytes to 64KB. HP-UX also has a journaled file system with similar capabilities. IRIX Disk Logical Volume Creation Logical volumes are created through the use of the xlv_make command. The make starts from the volume level and works its way down through the hierarchy to the physical disk via the options to the command. In HP-UX, the system manager will use a separate command to create volume groups and logical volumes and work their way up through the hierarchy starting at the physical disk and ending with the creation of the logical volume. Once the logical volume is created, a file system needs to be built on it. In IRIX the mkfs command is used, and in HP-UX newfs is used. The next step is to mount the new file system using the mount command on either system. To create a striped logical volume, IRIX will use the stripe option in the xlv_make command when specifying the volume elements to be included in the volume. In HP-UX, specify the number of disks to stripe across in the lvcreate (logical volume create) command. IRIX Logical Volume Increase Increasing the size of the logical volume in IRIX can be accomplished by adding volume elements to its plexes. The volume element will be created with xlv_make and then attached with the xlv_mgr utility. In HP-UX, the equivalent set of commands would be vgextend to extent the volume group and lvextend to extend the size of the logical volume. The actual file system would then need to be extended. In IRIX you can use the xfs_growfs command, and in HP-UX the equivalent is the extendfs command. HP-UX Logical Volume Manager LVM is now available on HP-UX. Prior to the 10.0 release, disks were managed differently. On the Series 700 Workstations, neither disk sectioning nor logical volumes were supported. Instead, disks contained only a single section that could contain a file system and optionally a swap area and a boot area. An entire disk could also be used as a raw data area, dump device, or swap area. With the current release of HP-UX, disks are managed identically on Server and Workstation systems and, on both, LVM is recommended as the preferred mechanism for managing disks. Although the use of logical volumes is encouraged, disks on both Servers and Workstations can be managed as non-partitioned disks, or with hard partitions for those disk models that support hard partitions. Existing non-partitioned or hard-partitioned disks can be converted to use logical volumes. Both LVM disks and non-LVM disks can exist simultaneously on your system, but a given disk must be managed entirely by either LVM or non-LVM methods. That is, you cannot combine these techniques for use with a single disk. The disk striping capabilities of Software Disk Striping (SDS) on Workstations are no longer supported beginning at version 10 and have been replaced by disk striping on logical volumes. Existing arrays of disks that made use of SDS are automatically converted to use logical volumes during the upgrade process. 26