HP XP7 Disk Array Configuration Guide (H6F56-96003)

3. Verify that the system recognizes the disk array partitions by viewing the /proc/partitions
file.
Example
#cat /proc/partitions
major minor #blocks name rio rmerge rsect ...
8 0 7211520 sda 1 3 8 ...
8 1 7181087 sda1 0 0 0 ...
8 2 28272 sda2 0 0 0 ...
8 16 7211520 sdb 1 3 8 ...
8 17 7181087 sdb1 0 0 0 ...
8 18 28272 sdb2 0 0 0 ...
8 32 7211520 sdc 1 3 8 ...
8 33 7181087 sdc1 0 0 0 ...
8 34 28272 sdc2 0 0 0 ...
8 48 7211520 sdd 1 3 8 ...
8 49 7181087 sdd1 0 0 0 ...
8 50 28272 sdd2 0 0 0 ...
8 64 7211520 sde 1 3 8 ...
8 65 7181087 sde1 0 0 0 ...
8 66 28272 sde2 0 0 0 ...
8 80 7211520 sdf 1 3 8 ...
8 81 7173022 sdf1 0 0 0 ...
8 82 32130 sdf2 0 0 0 ...
8 96 7211520 sdg 1 3 8 ...
8 97 7173022 sdg1 0 0 0 ...
104 0 17776560 cciss/c0d0 168200 352184 4166792...
104 1 257024 cciss/c0d0p1 1 3 8 ...
104 2 1048560 cciss/c0d0p2 2 3 16 ...
104 3 16470960 cciss/c0d0p3 168193 352166 4166736...
In the previous example, the “sd” devices represent the XP7 Storage disk partitions and the
cciss” devices represent the internal hard drive partitions on an HP Proliant system.
Configuring disk array devices
Disks in the disk array are configured using the same procedure for configuring any new disk on
the host. This includes the following procedures:
1. “Partitioning the devices” (page 64)
2. “Creating the file systems” (page 65)
3. “Creating the mount directories” (page 65)
4. “Creating the mount table” (page 66)
5. “Verifying file system operation” (page 66)
Creating scripts to configure all devices at once could save you considerable time.
Partitioning the devices
In a Linux environment, one LUN can be divided into a maximum of four primary partitions (using
fdisk) or maximum of one extended partition.
After the device parameters have been set, the next step is to set the partitions. To partition the
devices:
1. Enter fdisk/dev/device_name.
Example
# fdisk/dev/sda
2. Select p to display the present partitions.
3. Select n to make a new partition. You can make up to four primary partitions or you can make
one extended partition. The extended partition can be divided into a maximum of 11 logical
partitions, which can be assigned partition numbers from 5 to 15.
64 Linux