Getting Started Guide
20 Preparing Shared Storage
CAUTION: In a system running the Linux operating system, align the disk prior to
being written to the Volume/Virtual Disk (VD). Failure to do so will cause all data
on the disk to be destroyed.
To use the fdisk utility to create a partition and set the alignment:
1
At the command prompt, type one of the following:
• #> fdisk –u /dev/<block_device>
• fdisk –u /dev/mapper/<multipath_disk>
Where, <
block_device
> is the name of the block device that you are
creating and aligning a partition on.
For example, if the block device is
/dev/sdb
, type:
fdisk –u /dev/sdb
If multiple paths to a shared disk are being used and device mapper is the
multipath software.The system displays the following message:
The number of cylinders for this disk is set to
8782.
NOTE: The number of cylinder is larger than 1024, and could in certain setups
cause problems with:
• Software that runs at boot time (old versions of LILO)
• Booting the Partitioning software from other operating systems (for example,
DOS FDISK, OS/2 FDISK)
NOTE: The value of the number of cylinders in your display message may be
different depending on the size of your disk.
a
Command (m for help): n
# To create a new partition
b Command action extended primary partition (1-
4):P
# To create a primary partition
c Partition number (1-4): 1
d First sector (63-xxxxxx, default 63)
:
<Stripe
Element Size or Segment Size in terms of
Sectors>
Where the
Stripe Element Seizes
) or the
Segment Size
(SS) is the
amount of disk space that is consumed on a single physical disk by a
Stripe Element as part of Stripe.
For example, a stripe that contains 256 KB of disk space and has 64 KB
Book.book Page 20 Tuesday, July 26, 2011 11:33 PM