Setup guide

4 Repeat for each disk.
To partition disk or LUN devices with drives smaller than 450 GB:
1 Reboot your system to reload the fibre channel adapter drivers.
2 Open a terminal, and log in as root and view a list of disks or LUN devices detected by the operating
system: fdisk -l | grep dev. Identify the disk or LUN devices that are part of the storage array to be
configured with a standard filesystem. These devices will be re-partitioned.
3 If you plan to configure a standard filesystem on a former Stone FS storage array, delete the volume
label and volume table on each LUN device that is part of the storage array. Type the following command
for each LUN device: dd if=/dev/zero of=<LUN device> count=4096 Where <LUN device> is the device
name of a LUN in your storage array, such as /dev/sdc.
WARNING When using the dd command, be very careful to not delete your system drive (usually /dev/sda)
or any other drive aside from the LUNs in your storage array.
4 Use fdisk to re-partition each disk device identified in the previous step: fdisk <disk name> where
<disk name> is a disk device name without a partition number, such as /dev/sdf. The fdisk utility starts,
checks the disk device, and then displays its prompt.
NOTE When fdisk starts, a warning about the number of disk cylinders may appear. You can disregard this
warning.
5 Type n to display the New partition creation menu. fdisk displays the type of partitions you can create
(primary or extended).
6 Create a primary partition on the disk device by typing p at the prompt.
7 When prompted to enter a partition number, type 1 to make the primary partition the first one on the
LUN.
NOTE You may have to delete pre-existing partitions by entering d when prompted, and repeating step 3.
8 When prompted to set the starting cylinder number, press Enter twice to accept the defaults, which
are the first and last cylinder on the device. The fdisk prompt reappears.
9 Type t to set the partition type. You are prompted to enter the hexadecimal code of the partition type
to be created on the LUN.
10 Type 8e to set the partition type to Linux LVM. fdisk sets the partition as Linux LVM and the following
output appears: Changed system type of partition 1 to 8e (Linux LVM)
11 Type w to save the new partition table.
12 Repeat steps 2 through 9 for each disk or LUN device identified in step 1.
Assembling the Disk or LUN Devices into a Logical Volume
After you have formatted each disk or LUN device as a partition, you must assemble the LUNs into a single
logical volume on which you create the XFS filesystem. This procedure does not cover creating fault-tolerance
and assumes that the LUNs are RAID-protected, as is the case with Stone Direct XR-series arrays.
To assemble a logical volume:
1 Verify that the disk or LUN devices are detected by the operating system: fdisk -l | grep dev All
devices appear in a list similar to the following example (your values may vary):
/dev/sdb1 1 180482 1449713663+ ee EFI GPT
/dev/sdc1 1 180482 1449713663+ ee EFI GPT
/dev/sdd1 1 180482 1449713663+ ee EFI GPT
/dev/sde1 1 180482 1449713663+ ee EFI GPT
Configure storage | 35