Getting Started Guide
Preparing Shared Storage 23
Adjusting the Stripe Element Size on a Primary
Partition
To use the fdisk utility to adjust a disk partition, perform the following steps:
NOTE: This article assumes that the disk to be aligned already contains a single
primary partition. If you want to the create primary partition, follow the steps in
"Partitioning the Shared Disk" on page 20.
CAUTION: In a system running the Linux operating system, align the partition
table before the data is written to the Volume. Failure to follow the precaution
could lead to all the data on the Volume to be destroyed.
At the command prompt, type:
1 #> fdisk -u /dev/<block_device>
where <
block_device>
is the name of the block device that you are
adjusting. For example, if the block device is
/dev/mapper/db
, type:
fdisk /dev/mapper/db.
The system displays the following message:
The number of cylinders for this disk is set to
8782. There is nothing wrong with that, but this
is larger than 1024, and could in certain setups
cause problems with:
1)software that runs at boot time (e.g., old
versions of LILO)
2)booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
a. Command (m for help): x # To enter the expert
Mode
b. Expert command (m for help): b # To move
beginning of data in a partition
c. Partition number (1-4): 1 # The partition
number to be aligned
d. New beginning of data (128-xxxxx, default
128): 128
NOTE: 1 block = 512 bytes; 128 blocks * 512 bytes = 64KB