HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 31

Journaled File Systems, IRIX Disk Logical Volume Creation, IRIX Logical Volume Increase, Logical

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125

Disks and File Systems
26
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.