Specifications
On the Red Hat distribution, there are all special device file entries available for the
128 devices. On the SuSE distribution, there are only special devices file available
for the first sixteen devices. You must create all other devices manually using the
mknod command.
Configuration of ESS storage under Linux
Each of the attached ESS LUNs has a special device file in the Linux directory /dev.
In the current release there is a maximum of 128 SCSI or fibre-channel disks that
are based on the major numbers currently available. ForRedHat, the entries for all
128 devices are added automatically by the operating system. For SuSE, there are
only special device files for the first 16 disks. You must create the device files for
additional disks using the mknod command.
The range of devices goes from /dev/sda (LUN0) to /dev/sddx (LUN127). Figure 46
shows an example of the range of devices.
Partitioning ESS disks
Before you create a file system, you must partition the disk using the fdisk utility.
You have to specify the special device file of the disk you want to partition when
executing fdisk. Figure 47 shows an example of the different options for the fdisk
utility.
Figure 48 on page 88 shows an example of a primary partition on the disk /dev/sdb.
# ls –l /dev/sda
brw-rw---- 1 root disk 8, 0 Aug 24 2000 /dev/sda
Figure 46. Example of range of devices for a Linux host
# 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 partition's 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 47. Example of different options for the fdisk utility
Chapter 8. Attaching a Linux host 87
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|