Setup guide
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.
5 Use the fdisk command to re-partition each disk device identified in the
previous step.
Start the fdisk utility for the LUN. Type:
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.
6 Type n to display the New partition creation menu.
fdisk displays the type of partitions you can create (primary or extended).
7 Create a primary partition on the disk device by typing p at the prompt.
8 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.
9 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.
10 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.
11 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)
Manually Configuring Media Storage | 187