View previous topic :: View next topic |
Author |
Message |
planet-admin Apprentice
Joined: 27 Mar 2004 Posts: 213 Location: Boise, ID
|
Posted: Tue Jan 08, 2008 1:42 am Post subject: Static Lun to Block device mapping? |
|
|
How do I set up a static block device mapping to a lun? For instance, I have some dell pe1950's, and sometimes, when they come up, the virtual floppy is /dev/sdb, and my fiber channel disk is /dev/sdc. The next time I reboot it, it comes up and the virtual floppy is /dev/sdc, and the fiber channel disk is /dev/sdb. This of course messed up my fstab. What's the best method to create static lun --> bdev mappings?
Thanks,
Michael _________________ Michael S. Moody
Sr. Systems Engineer
Global Systems Consulting
Web: http://www.GlobalSystemsConsulting.com |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Tue Jan 08, 2008 2:08 am Post subject: |
|
|
The best method is to either use one of the udev names that are already there, or create udev rules yourself that will create a fixed name for any and every hotplug devices you may have, including usb sticks card readers and the like. For example, check out the /dev/disk directory, or google for how to write udev rules. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|