[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to change disk sequence on DELL R900 with LINUX



On Wed, Jul 1, 2009 at 11:21 AM, mcclnx mcc <mcclnx yahoo com tw> wrote:

>
> Thank you for your answer.
>
>   I look your document and using "udev" to create "mydevXXX".  This device
> is work, but NOT what I want.
>
> The reason are:
>
> 1. what I want is my device sequence must:
>     boot and root on /dev/sda
>     swap on /dev/sdb
>
> 2. udev ONLT create a "link" from "mydevXXX" back to original.  It did NOT
> official change device name.
>   e.g.:
> lrwxrwxrwx 1 root root 3 Jul  1 11:19 mysda -> sdc
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysda1 -> sdc1
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysda2 -> sdc2
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysda3 -> sdc3
> lrwxrwxrwx 1 root root 3 Jul  1 11:19 mysdb -> sdd
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysdb1 -> sdd1
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysdb2 -> sdd2
> lrwxrwxrwx 1 root root 3 Jul  1 11:19 mysdc -> sde
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysdc1 -> sde1
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysdc2 -> sde2
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysdc3 -> sde3
> lrwxrwxrwx 1 root root 3 Jul  1 11:19 mysdd -> sda
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysdd1 -> sda1
> lrwxrwxrwx 1 root root 3 Jul  1 11:19 mysde -> sdb
> lrwxrwxrwx 1 root root 4 Jul  1 11:19 mysde1 -> sdb1
>
> --- 09/6/30 (二),Thomas Fess <dfezz1 yahoo com> 寫道:
>
> > 寄件者: Thomas Fess <dfezz1 yahoo com>
> > 主旨: Re: How to change disk sequence on DELL R900 with LINUX
> > 收件者: "General Red Hat Linux discussion list" <redhat-list redhat com>
> > 日期: 2009年6月30日,二,下午1:16
> > Linux defines the devices as they
> > come up or become available so depending on what your doing
> > that this, it causes an issue.  Such as san
> > disks(multipathing) and mounts or ASM in oracle or whatever,
> > you have to use another method to define a persistant name
> > to the LUN/disk etc.
> >
> > http://dims.ncsa.uiuc.edu/set/san/src/linux-mpio.pdf
> >
> >
> >
> >
> > ________________________________
> > From: mcclnx mcc <mcclnx yahoo com tw>
> > To: redhat-list redhat com
> > Sent: Tuesday, June 30, 2009 8:51:18 AM
> > Subject: How to change disk sequence on DELL R900 with
> > LINUX
> >
> >
> > we have DELL R900 with REDHAT 5.3 in it.  This DELL R900
> > come with one integrate PERC6/I and two PERC6/E cards.
> > DELL PERC 6/I control 5 internal disks.  The original disk
> > sequence are:
> >
> > /dev/sda1 /boot
> > /dev/sda2 /
> > /dev/sdb1  swap
> > ...
> >
> > after I configured PERC 6/E disks and reboot, /dev/sda
> > change to RAID disk and original /boot and / change to
> > /dev/sde1 and /dev/sde2.
> >
> > My modprobe.conf is:
> >
> > alias scsi_hostadapter megaraid_sas
> > alias scsi_hostadapter1 ata_piix
> > alias eth0 bnx2
> > alias eth1 bnx2
> >
> > how to change sequence back?
> >
> > Thanks.
> >
> >
> >
> >
> >
> ______________________________________________________________________________________________________
> > 付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪!
> > http://tw.mg0.mail.yahoo.com/dc/landing
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> >
> >
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
>  ______________________________________________________________________________________________________
> 付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪!
> http://tw.mg0.mail.yahoo.com/dc/landing
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


in RHEL (and I would assume Fedora), a partition can be labeled.
labels are persistent across reboots
labels can be used in the fstab file (mount table)

label can be assigned and mounted.
we use multiple disk arrays and label the partitions created by lvm.
we have no problem mounting these partitions regardless of the order that
they come up.

we were taught that the constant renaming of the disks is the result of pc
technology.
other, non-bios servers don't have this issue.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]