HP XC System Software Installation Guide Version 3.0
Vendor: COMPAQ Model: HSV110 (C)COMPAQ Rev: 2003
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 02 Lun: 00
Vendor: COMPAQ Model: HSV110 (C)COMPAQ Rev: 2003
Type: Unknown ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 02 Lun: 01
Vendor: COMPAQ Model: HSV110 (C)COMPAQ Rev: 2003
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 03 Lun: 00
Vendor: COMPAQ Model: HSV110 (C)COMPAQ Rev: 2003
Type: Unknown ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 03 Lun: 01
Vendor: COMPAQ Model: HSV110 (C)COMPAQ Rev: 2003
Type: Direct-Access ANSI SCSI revision: 02
3. Locate the device labels found at boot time:
# dmesg | grep "Attached scsi disk"
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 2
Attached scsi disk sdc at scsi2, channel 0, id 0, lun 3
Attached scsi disk sdd at scsi2, channel 0, id 1, lun 2
Attached scsi disk sde at scsi2, channel 0, id 1, lun 3
Attached scsi disk sdf at scsi2, channel 0, id 2, lun 1
Attached scsi disk sdg at scsi2, channel 0, id 3, lun 1
4. Locate the entries in step 2 that correspond to the attached disks; the important numbers to match are
those labeled lun in both step 2 and step 3.
Each SAN volume has two entries, and each SAN volume will have the same lun; in the output from
step 3, sdb and sdd are both located on lun 2, on id 0 and id 1. Therefore, they correspond to
the same SAN volume. Similarly, sdc and sde are on lun 3 and correspond to the same volume.
Both /dev/sdb and /dev/sdd contain the same data, and either can be mounted to access it.
5. Make the file system using the mke2fs command. HP recommends that you use the RAID option
stride=. The calculation to determine the value of the stride option is (chunk size)/(sector
size), where:
• chunk size is the same as raid-sector size that you define in the SAN when you create a
volume.
• sector size is also called the inode size or the file system block size, and it is set to 4 KB in
ext2 and ext3 file system types by default. You can change the value of the sector size parameter
according to the limits specified in mke2fs( 8) .
See mke2fs( 8) for more information.
Partitioning of the SAN volumes is not currently supported, so each SAN volume is treated as a single
contiguous space.
To make an ext3 file system, enter the following command, where /dev/sdb is the device name.
# mke2fs -j -R stride=n /dev/sdb
Command output looks similar to the following:
mke2fs 1.26 (03-Jan-2006)
/dev/sdb is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
5128192 inodes, 10239780 blocks
511989 blocks (5.00%) reserved for the super user
First data block=0
313 block groups
Making and Mounting the SAN Storage File Systems 75