HP Surestore Disk Array 12h SGI IRIX Configuration Guide - Page 33

Register, Mount, and Verify the File Systems, To register the new file systems in the mount table:

Page 33 highlights

Register, Mount, and Verify the File Systems To register the new file systems in the mount table: 1. Make a backup copy of the mount table by entering cp /etc/fstab /etc/fstab.backup 2. Edit the file /etc/fstab by using the vi editor. Example # cp /etc/fstab /etc/fstab.backup # vi /etc/fstab /dev/root / xfs rw,raw=/dev/rroot 0 0 /dev/dsk/dks5d4s7 /disk54 efs rw,raw=/dev/rdsk/dks5d4s7 0 0 /dev/dsk/dks5d4l1s7 /disk541 efs rw,raw=/dev/rdsk/dks5d4l1s7 0 0 /dev/dsk/dks5d4l2s7 /disk542 efs rw,raw=/dev/rdsk/dks5d4l2s7 0 0 /dev/dsk/dks5d4l3s7 /disk543 efs rw,raw=/dev/rdsk/dks5d4l3s7 0 0 /dev/dsk/dks5d4l4s7 /disk544 efs rw,raw=/dev/rdsk/dks5d4l4s7 0 0 /dev/dsk/dks4d4s7 /HP5700_LU0 efs rw,raw=/dev/rdsk/dks4d4s7 1 2 /dev/dsk/dks4d4l1s7 /HP5700_LU1 efs rw,raw=/dev/rdsk/dks4d4l1s7 1 2 /dev/dsk/dks4d4l2s7 /HP5700_LU2 efs rw,raw=/dev/rdsk/dks4d4l2s7 1 2 /dev/dsk/dks4d4l3s7 /HP5700_LU3 efs rw,raw=/dev/rdsk/dks4d4l3s7 1 2 1 2 3 4 56 1 Device to mount (device file name) 2 Mount point (mount directory) 3 File system (FS) type 4 Mount options (usually [rw,noquota]) 5 Enhance: enter 0 for disk array devices 6 fsck pass: order in which FS checks are to be performed 3. Add a line in the file for each new file system. For example, to register an EFS file system for the device at controller 4, disk 4, LUN 3, slice 7, mounted on the /HP5700_LU0 directory, enter /dev/dsk/dks4d4l3s7 /HP5700_LU0 xfs rw,raw=/dev/rdsk/dks4d4l3s7 1 2 For example, to register an XFS file system for the device at controller 4, disk 4, LUN 3, slice 7, mounted on the /HP5700_LU0 directory, enter /dev/dsk/dks4d4l3s7 /HP5700_LU0 xfs rw,raw=/dev/rdsk/dks4d4l3s7 1 2 4. When you are finished adding the new file systems to the mount table, save the changes and exit the vi editor. 5. Verify that the new file systems are registered correctly by entering df Example # df File system /dev/root /dev/dsk/dks4d4s7 /dev/dsk/dks4d4l1s7 /dev/dsk/dks4d4l2s7 /dev/dsk/dks4d4l3s7 : : # Type xfs efs efs efs efs Blocks 1852624 4659286 4659286 4659286 4659286 use 1038184 2 2 2 2 avail 814440 4193354 4193354 4193354 4193354 %use 57 0 0 0 0 Mounted on / /HP5700_LU0 /HP5700_LU1 /HP5700_LU2 /HP5700_LU3 SGI IRIX Installation 33

  • 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

SGI IRIX Installation
33
Register, Mount, and Verify the File Systems
To register the new file systems in the mount table:
1.
Make a backup copy of the mount table by entering
cp /etc/fstab /etc/fstab.backup
2.
Edit the file
/etc/fstab
by using the
vi
editor.
Example
#
cp /etc/fstab
/etc/fstab.backup
#
vi /etc/fstab
/dev/root / xfs rw,raw=/dev/rroot 0 0
1
Device to mount (device file name)
2
Mount point (mount directory)
3
File system (FS) type
4
Mount options (usually [rw,noquota])
5
Enhance: enter 0 for disk array devices
6
fsck pass: order in which FS checks are to be performed
3.
Add a line in the file for each new file system.
For example, to register an EFS file system for the device at controller 4, disk 4,
LUN 3, slice 7, mounted on the /HP5700_LU0 directory, enter
/dev/dsk/dks4d4l3s7
/HP5700_LU0 xfs
rw,raw=/dev/rdsk/dks4d4l3s7
1
2
For example, to register an XFS file system for the device at controller 4, disk 4,
LUN 3, slice 7, mounted on the /HP5700_LU0 directory, enter
/dev/dsk/dks4d4l3s7
/HP5700_LU0 xfs
rw,raw=/dev/rdsk/dks4d4l3s7
1
2
4.
When you are finished adding the new file systems to the mount table, save the
changes and exit the
vi
editor.
5.
Verify that the new file systems are registered correctly by entering
df
Example
#
df
:
:
#
/dev/dsk/dks5d4s7
/disk54
efs rw,raw=/dev/rdsk/dks5d4s7
00
/dev/dsk/dks5d4l1s7 /disk541
efs rw,raw=/dev/rdsk/dks5d4l1s7 0 0
/dev/dsk/dks5d4l2s7 /disk542
efs rw,raw=/dev/rdsk/dks5d4l2s7 0 0
/dev/dsk/dks5d4l3s7 /disk543
efs rw,raw=/dev/rdsk/dks5d4l3s7 0 0
/dev/dsk/dks5d4l4s7 /disk544
efs rw,raw=/dev/rdsk/dks5d4l4s7 0 0
/dev/dsk/dks4d4s7
/HP5700_LU0 efs rw,raw=/dev/rdsk/dks4d4s7
12
/dev/dsk/dks4d4l1s7 /HP5700_LU1 efs rw,raw=/dev/rdsk/dks4d4l1s7 1 2
/dev/dsk/dks4d4l2s7 /HP5700_LU2 efs rw,raw=/dev/rdsk/dks4d4l2s7 1 2
/dev/dsk/dks4d4l3s7 /HP5700_LU3 efs rw,raw=/dev/rdsk/dks4d4l3s7 1 2
1
2
3
4
5
6
File system
Type Blocks
use
avail
%use
Mounted on
/dev/root
xfs
1852624
1038184
814440
57
/
/dev/dsk/dks4d4s7
efs
4659286
2
4193354
0
/HP5700_LU0
/dev/dsk/dks4d4l1s7
efs
4659286
2
4193354
0
/HP5700_LU1
/dev/dsk/dks4d4l2s7
efs
4659286
2
4193354
0
/HP5700_LU2
/dev/dsk/dks4d4l3s7
efs
4659286
2
4193354
0
/HP5700_LU3