2 Udev does not come pre-installed on a Linux system. Hence, we need to do the following before
3 a Linux system is ready ::
7 1. Install libsysfs shared libraries by installing sysfsutils-0.4.0.
9 2. Download latest version of udev from www.kernel.org site. It is
10 under repository->utils->kernel path chain.
12 Do make and make install so as to install udev. To install scsi_id,
13 go into extras/scsi_id folder to compile scsi_id. Typically, this
14 would be in /sbin folder. Now, change scsi_id.cfg and set the
15 global option to work with all devices ( -g) and comment out the
16 black list option ( -b ).
18 3. Download chassis_id callout code and compile. Install chassis_id and
19 provision.tbl file in /usr/local/bin.
21 4. In /etc/rc.sysinit, add mount command to mount the sys memory file
22 system. ( mount -t sysfs sys /sys ). The /sys is necessary as
23 lot of the software components expect it to be in /sys.
25 5. Now, in /etc/udev/udev.rules, install the udev rules file. This
26 is the GDN config file which is used by udev to create folders
27 in the form chasis<N>/slot<M>/port<O>/disk<P>.
29 6. Now, you are almost there. Refer to PROVISIONING file.
33 1. For GDN, the provisioning file is in the format :
34 <id> <host> <number_of_disks> <chassis#> <slot#> <serial#> <name>
36 <host> SCSI host on which the device is connected
37 <Number of disks> how many disks on this blade ?
38 <chassis#> chassis Number
39 <slot#> Physical slot number
40 <serial#> Serial Number for the disk
41 <name> Name of the disk device.
43 2. To fill the provisioning table, the user needs to collect this information and
46 The serial number is found from the command scsi_id -p 0x80 -s <device name>.
48 The host number is availble from the sys file system. The chassis & slot
49 are visual data and should be enetered into provision.tbl.