LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Best Prac Advice Sought: UUID-based labeling SAN-presented LUNS to RHEL4 (http://www.linuxquestions.org/questions/linux-server-73/best-prac-advice-sought-uuid-based-labeling-san-presented-luns-to-rhel4-763716/)

SteveInTallyFL 10-22-2009 10:07 AM

Best Prac Advice Sought: UUID-based labeling SAN-presented LUNS to RHEL4
 
I installed and initialized the IBM/LSI RDAC (mpp) drivers and then I had LUNs presented to my server from an IBM DS4300. I wanted to mount them with UUID-based labels. The mppBusRescan returned them as /dev/sd[a-c]. There were no mappings to /dev/disk/by-id even though there was a udev rule in 51-by-id.rules.
Quote:

(KERNEL="sd*[!0-9]", PROGRAM="/sbin/scsi_id", SYMLINK="disk/by-id/scsi-%c")
So I ended up using LVM to partition, format, and mount them. I have 2 concerns:

* I have a nagging suspicion that LVM on top of SAN is unnecessary overhead to the I/O processing.
* I don't know if LVM will handle a change in sd* assignment should a SAN-presented LUN be removed or sd assignment change at reboot.

I have a 'gut feeling' that I must have missed something. Is there a better way?

thegeek 10-23-2009 03:51 AM

I use the same SAN and LVM methods, never caused me a problem.
The disk names do not change if you add / remove other LUN's.

PS, my uuid link / labels are present:

[root@starvinmarvin by-uuid]# ls -l *
lrwxrwxrwx 1 root root 10 Oct 15 16:11 1223d74c-6eb5-46bf-8c58-2da9f4bf56e7 -> ../../sda1


All times are GMT -5. The time now is 01:03 AM.