Refer to this information when setting up SAN Volume Controller disk partitions.
Before you create a file system, partition the disk by using the fdisk utility. You have to specify the special device file of the disk you want to partition when executing fdisk. Figure 68 shows an example of the different options for the fdisk utility.
| Note: If you are using the IBM Subsystem Device Driver, your path in the example would be /dev/vpathb instead of /dev/sdb. |
# fdisk /dev/sdb Command (m for help): m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partitions system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only)
Figure 69 shows an example of a primary partition on the disk /dev/sdb.
| Note: If you are using the IBM Subsystem Device Driver, your path in the example would be /dev/vpathb instead of /dev/sdb. |
Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-953, default 1): Enter Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-953, default 953): Enter Using default value 953 Command (m for help): p Disk /dev/sdb: 64 heads, 32 sectors, 953 cylinders Units = cylinders of 2048 * 512 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 953 975856 83 Linux