HP XP20000/XP24000 HP StorageWorks XP Disk Array Configuration Guide for Linux - Page 22

Creating the mount directories, file to specify the automount parameters for each device.

Page 22 highlights

2. Repeat step 1 for each device on the disk array. Creating the mount directories Create mount directories using the mkdir command. Choose names for the mount directories which identify both the logical volume and partition. 1. Enter mkdir /mnt/mount_point. Example # mkdir /mnt/A5700F_LU00 2. Repeat step 1 for each device on the disk array. Creating the mount table Add the new devices to the /etc/fstab file to specify the automount parameters for each device. 1. Edit the /etc/fstab file to add one line for each device to be automounted. Each line of the file contains: (A) device name, (B) mount point, (C) file system type ("ext2"), (D) mount options ("defaults"), (E) enhance parameter ("1"), and (F) fsck pass 2. Example /dev/sdb /A5700F_ID08 ext2 defaults 1 2 /dev/sdc /A5700F_ID09 ext2 defaults 1 2 /dev/sdd /A5700F_ID10 ext2 defaults 1 2 A B C D E F Make an entry for each device. After all the entries are made, save the file and exit the editor. 22 Installing and configuring Linux for the XP disk array

  • 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

2.
Repeat step 1 for each device on the disk array.
Creating the mount directories
Create mount directories using the
mkdir
command. Choose names for the mount directories which
identify both the logical volume and partition.
1.
Enter
mkdir /mnt/
mount_point
.
Example
# mkdir /mnt/A5700F_LU00
2.
Repeat step 1 for each device on the disk array.
Creating the mount table
Add the new devices to the
/etc/fstab
file to specify the automount parameters for each device.
1.
Edit the
/etc/fstab
file to add one line for each device to be automounted.
Each line of the file contains: (A) device name, (B) mount point, (C) file system type (“ext2”), (D)
mount options (“defaults”), (E) enhance parameter (“1”), and (F) fsck pass 2.
Example
/dev/sdb
/A5700F_ID08
ext2
defaults
1
2
/dev/sdc
/A5700F_ID09
ext2
defaults
1
2
/dev/sdd
/A5700F_ID10
ext2
defaults
1
2
A
B
C
D
E
F
Make an entry for each device. After all the entries are made, save the file and exit the editor.
Installing and configuring Linux for the XP disk array
22