[Linux_hpc_swstack] udev rules for Thumper
Shuichi Ihara
ihara at sun.com
Mon Jun 2 01:34:21 PDT 2008
Hi,
This is a sample of custom UDEV(7) rule for Thumper(X4500)'s 48 disks.
Traditionally, the disk device name on the linux is assigned to sda, sdb,...
But, this udev rule is helpful to access as solaris map on Thumper. This means
you can access Thumper's disks using c0t0d0s0, c1t0d0s0 device name on the linux..
You just copy 99-dsk.rules to /etc/udev/rules.d and minus-1.sh to /etc/udev/scripts
then run udevstart. After that, the device links are created under /dev/dsk directory
and it should be accessible. This is also helpful to easy create the Linux RAID.
e.g) create the MD across the 6 different contollers
mdadm -C /dev/md11 --run -l 5 -n 6 -c 256 /dev/dsk/c{0,1,4,5,6,7}t1d0
So, this rule file is one of sample to access with "solaris like device name" on
linux, but of course, you can name any names with custom as well :)
Thanks
-Ihara
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: minus-1.sh
Url: http://lists.lustre.org/pipermail/linux_hpc_swstack/attachments/20080602/d972e082/attachment-0002.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 99-dsk.rules
Url: http://lists.lustre.org/pipermail/linux_hpc_swstack/attachments/20080602/d972e082/attachment-0003.ksh
More information about the Linux_hpc_swstack
mailing list