Hi Hertha/Gerrard/anyone, SAN disk partitions device files changes with each reboot



Hi Hertha/Gerrard/Anyone else,


Thanks for the previous excellent replies to my questions.

Something new just surfaced with the NetApp SAN disks partitions
that are presented to our RHES 4.6 :

The current mappings on 1st server is :
lrwxrwxrwx 1 root root 7 May 22 15:36 mpath0 -> ../dm-2
lrwxrwxrwx 1 root root 7 May 22 15:36 mpath1 -> ../dm-5
lrwxrwxrwx 1 root root 7 May 22 15:36 mpath2 -> ../dm-3
lrwxrwxrwx 1 root root 7 May 22 15:36 mpath3 -> ../dm-4
lrwxrwxrwx 1 root root 7 May 22 15:36 mpath4 -> ../dm-1
lrwxrwxrwx 1 root root 7 May 22 15:36 mpath5 -> ../dm-0

& "multipath -ll" gives :

mpath0 (360a98000567244396334493370345055)
[size=5 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [active]
\_ 8:0:2:5 sds 65:32 [active]
\_ 8:0:3:5 sdy 65:128 [active]
\_ round-robin 0 [enabled]
\_ 8:0:1:5 sdm 8:192 [active]
\_ 8:0:0:5 sdg 8:96 [active]

mpath1 (360a9800056724439633449336c786d69)
[size=5 GB][features="1 queue_if_no_path"][hwhandler="0"]
\_ round-robin 0 [active]
\_ 8:0:2:4 sdr 65:16 [active]
\_ 8:0:3:4 sdx 65:112 [active]
\_ round-robin 0 [enabled]
\_ 8:0:0:4 sdf 8:80 [active]
\_ 8:0:1:4 sdl 8:176 [active]

On another Linux server (with cluster script /etc/init.d/o2cb_start.sh
started),
/dev/mpath/mpath0 or mpath1 or ... mpathx completely maps to different
minor devices /dev/sd...

So we mounted on server 1 a partition (formatted as ocfs using ocfs2console)
first & create a test file on it & then on server 2, we mount
mpath0/.../mpathx
one after another to see which of it has the test file on it to identify it.

We then put in vfstab the /dev/mpath/mpathx & mountpoint for each server
that we have determined the hard way.

Alas, after we rebooted both the servers, all the mappings became different
ie on server 1 where mpath0 ->../dm-2 became mpath0 ->../dm-4 after reboot
& on server 2 where mpath0 ->../dm-1 became mpath0 ->../dm-3 after reboot.

Oracle told us to use /dev/mapper/mpathx - this appears to be more reliable
(ie it's fixed to a specific partition regardless of how many reboots are
done).

Can someone explain what's the differences between
/dev/mpath/mpathx & /dev/dm-x & /dev/mapper/mpathx

Or I've not completely installed all the required stuff from NetApp on our
Redhat servers yet that triggers this?


Thanks
U
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Dual Boot Issue
    ... I have asked a few tough questions with specific subject lines and I get NO ... path this time was delete what I could from C: and shrink partition giving ... server i'd end up changing 698 places instead of 703 places.... ... minutes each - and they were curious why reboots took so long). ...
    (microsoft.public.win2000.general)
  • mount at boot without error RAID partition
    ... server drops into single user mode. ... I manually fsck it (it takes abt 10 ... tried several things which required several reboots. ... I got tired of fsck-ing a huge partition when I know there will be no ...
    (SunManagers)
  • Re: Installing Backoffice Small Business Server 4.5
    ... Yes we are just replacing the Server. ... all partitions before install etc but still have the same ... problem i.e reboots at the end of disk 2 when "Loading FAT ... >> a new Server with only a Dos Partition on it. ...
    (microsoft.public.backoffice.smallbiz)
  • Re: SBS server in a constant reboot.
    ... screen with the words "Windows Server 2003" Thats when it reboots. ... did a parallel install and I can boot from the new partition. ... the old partition to boot in, it goes back to the continuous boot. ...
    (microsoft.public.windows.server.sbs)
  • Re: Rebuilding SBS Server 2003 SP2
    ... issues with exchange system manager because the SSL server name ... figured a rebuild was the perfect time to investigate these (chuck more RAM ... lot with re-installs but havent a clue with partition sizes with SBS, ...
    (microsoft.public.windows.server.sbs)