Getting Started Guide

22 Preparing Shared Storage
#> service multipathd restart Or
#> kpartx –a /dev/mapper/<multipath_disk>
4
Verify that the partition has been aligned by running the one of the
following command:
#> fdisk –ul /dev/<block_device>
#> fdisk –ul /dev/mapper/<multipath_device>
Where, <
block_device
> or <
multipath_device
> is the name of the disk
whose partition was aligned.
The following example is of a sample output of the above command on a
block device that has been aligned. If your partition is properly aligned
then you will see the desired starting sector that you set in step 1 under the
Start column against your partition.
Disk /dev/mapper/mpath70: 53.6 GB, 53697576960
bytes
255 heads, 63 sectors/track, 6528 cylinders, total
104878080 sectors
Units = sectors of 1 * 512 = 512 bytes
5
Reboot the system if your newly created and aligned partition is not
displayed properly.
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 19.
DeviceBoot Start End Blocks Id System
/dev/mapper/mpat
h70p1
1024 104872319 52436096 83 Linux
Book.book Page 22 Tuesday, July 26, 2011 11:33 PM