HP XP20000/XP24000 HP StorageWorks XP Disk Array Configuration Guide (T5278-96 - Page 85
Creating file systems with ext2, Creating the mount directories
View all HP XP20000/XP24000 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 85 highlights
Creating file systems with ext2 1. Enter mkfs -t ext2 /dev/device_name. Example # mkfs -t ext2 /dev/sdd 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. 2. Reboot the system. Configuring disk array devices 85