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

File Systems

Page 34 highlights

Disks and File Systems For example: # mknod /dev/vg01/group c 64 0x010000 5. Create the volume group specifying each physical volume to be included using vgcreate. For example: # vgcreate /dev/vg01 /dev/dsk/c0t0d0 /dev/dsk/c0t1d0 Use the block device file to include each disk in your volume group. You can assign all the physical volumes to the volume group with one command. No physical volume can already be part of an existing volume group. 6. Once you have created a volume group, you can now create a logical volume using lvcreate: # lvcreate /dev/vg01/lvol1 When LVM creates the logical volume, it creates the block and character device files and places them in the directory /dev/vg nn. File Systems For HP-UX 10/11, there are now two types of local hard disk file systems you may use. Information on each is presented in the following table: FILE SYSTEM TYPE HFS (High Performance File System) VxFS (VERITAS File System) WHEN SHOULD I USE IT? When you do not have any special file system needs If you require fast file system recovery and the ability to perform a variety of administrative tasks online ADDITIONAL INFORMATION Represents HP-UX's standard implementation of the UNIX file system HP-UX's implementation of a journaled file system (JFS) An Introduction to VxFS HP-UX's implementation of a journaled file system, also known as JFS, is based on VxFS, the version from VERITAS Software, Inc. Prior to the version 10 release of HP-UX, HFS was the only available locally mounted read/write file system. Compared to HFS, VxFS allows much shorter recovery times in the event of system failure. It is also particularly useful in environments requiring high performance or dealing with large volumes of data, because the unit of file storage, called an extent, can be multiple blocks, allowing considerably faster I/O than with HFS. It also provides for minimal downtime by allowing online backup and administration. You may not want to configure VxFS, though, on a system with limited memory because VxFS memory requirements are larger than those of HFS. Basic VxFS functionality is included with the HP-UX operating system software. Additional enhancements to VxFS are available as a separately orderable product called HP OnlineJFS. Creating a File System When creating either an HFS or VxFS file system, you can use SAM or a sequence of HP-UX commands. Using SAM is quicker and simpler. The following checklist provides sub-tasks for creating a file system that is useful if you are not using SAM. If you use SAM, you do not have to explicitly perform each distinct task below; rather, proceed from SAM's Disks and File Systems area menu. SAM will perform all the necessary steps for you. 29

  • 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
29
For example:
# mknod /dev/vg01/group c 64 0x010000
5.
Create the volume group specifying each physical volume to be included using
vgcreate
. For example:
# vgcreate /dev/vg01 /dev/dsk/c0t0d0 /dev/dsk/c0t1d0
Use the block device file to include each disk in your volume group. You can assign all the physical
volumes to the volume group with one command. No physical volume can already be part of an
existing volume group.
6.
Once you have created a volume group, you can now create a logical volume using
lvcreate
:
# lvcreate /dev/vg01/lvol1
When LVM creates the logical volume, it creates the block and character device files and places them
in the directory
/dev/vg nn
.
File Systems
For HP-UX 10/11, there are now two types of local hard disk file systems you may use. Information on
each is presented in the following table:
F
ILE
S
YSTEM
T
YPE
W
HEN
S
HOULD
I U
SE
I
T
?
A
DDITIONAL
I
NFORMATION
HFS (High Performance File
System)
When you do not have any
special file system needs
Represents HP-UX±s standard
implementation of the UNIX file
system
VxFS (VERITAS File System)
If you require fast file system
recovery and the ability to
perform a variety of
administrative tasks online
HP-UX±s implementation of a
journaled file system (JFS)
An Introduction to VxFS
HP-UX±s implementation of a journaled file system, also known as JFS, is based on VxFS, the version
from VERITAS Software, Inc. Prior to the version 10 release of HP-UX, HFS was the only available
locally mounted read/write file system.
Compared to HFS, VxFS allows much shorter recovery times in the event of system failure. It is also
particularly useful in environments requiring high performance or dealing with large volumes of data,
because the unit of file storage, called an
extent
, can be multiple blocks, allowing considerably faster I/O
than with HFS.
It also provides for minimal downtime by allowing online backup and administration. You
may not want to configure VxFS, though, on a system with limited memory because VxFS memory
requirements are larger than those of HFS.
Basic VxFS functionality is included with the HP-UX operating system software. Additional enhancements
to VxFS are available as a separately orderable product called HP OnlineJFS.
Creating a File System
When creating either an HFS or VxFS file system, you can use SAM or a sequence of HP-UX commands.
Using SAM is quicker and simpler. The following checklist provides sub-tasks for creating a file system
that is useful if you are not using SAM. If you use SAM, you do not have to explicitly perform each distinct
task below; rather, proceed from SAM±s
Disks and File Systems
area menu. SAM will perform all the
necessary steps for you.