Creating a DS6000 file system and partitions for an Intel host running Linux

To attach an Intel host running the Linux operating system to a DS6000™ you need to create a Linux file system on the DS6000. You can also partition the DS6000 disk for use by your Linux host by using the fdisk utility.

If you choose to partition the storage space on the DS6000, you must use the fdsik utility to partition the disk before you create a file system.

You have to specify the special device file of the disk you want to partition when executing fdisk. Figure 1 shows an example of the different options for the fdisk utility.

Figure 1. Example of different options for the fdisk utility
# 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 2 shows an example use of the n option of the fdisk utility to create a primary partition on the disk /dev/sdb.

Figure 2. Example of a primary partition on the disk /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
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2004, 2007. All Rights Reserved.