HP XC System Software Installation Guide Version 2.1

Host: scsi2 Channel: 00 Id: 01 Lun: 03
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. Locatetheentriesinstep2thatcorrespondto the attached disks; the important numbers
to match are those labeled lun in both step 2 an d step 3.
There will be two entries for each SAN volum e, and each will have the same lun;inthe
output from step 3, sdb and sdd are both l ocated on lun 2,onid 0 and id 1,and
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 will contain the same data, and eith er can be mou nted
to access it.
5. Make the file system using the mke2fs command. H P recommends that you use the
RAID option stride=. The calculation to determine the value of the st ride option is
(chunk size)/(sector size),where:
chunk size is the same as raid-sector size that you define in th e SAN wh en
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 the mke2fs
(8)manpage.
Refer to mke2fs
(8)for m ore 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 nam e.
# mke2fs -j -R stride=n /dev/sdb
Command output looks sim ilar to t he following:
mke2fs 1.26 (24-May-2005)
/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
Configuring SAN Storage Devices 6-3