HP StorageWorks Disk Array XP operating system configuration guide for Linux XP24000, XP12000, XP10000, SVS200, v01 (A5951 - 96096, June 2007)

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
2. Creating the file systems
3. Creating the mount directories
4. Creating the mount table
5. Verifying file system operation
Creating scripts to configure all devices at once may save you considerable time.
Partitioning the devices
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.
4. Select w to write the partition information to disk and complete the fdisk command.
5. Other commands that you might want to use include:
d to remove partitions
q to stop a change
6. Repeat the above steps for each device.
Creating the file systems
The supported file system for Linux is ext2.
Creating file systems with ext2
1. Enter mkfs –t ext2 /dev/device_name.
Example
# mkfs –t ext2 /dev/sdd
XP Disk Array Configuration Guide for Linux 21