[CentOS] add on sata card relabeling drives, installation

Thu Sep 29 21:09:00 UTC 2011
David C. Miller <millerdc at fusion.gat.com>


----- Original Message -----
> From: "Lamar Owen" <lowen at pari.edu>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Thursday, September 29, 2011 1:36:28 PM
> Subject: Re: [CentOS] add on sata card relabeling drives, installation
> 
> On Wednesday, September 28, 2011 07:47:15 PM Bob Hoffman wrote:
> > I do not want my raid 1 mirror OS to be on sdc, sdd, and sde....it
> > just
> > looks weird.
> 
> It's related to PCI enumeration order, and may not be changeable.
>  You could try the add-on card in another slot.
> 
> However, if you think that's weird, I want you to note the portion of
> the output of mount below, and note the drive device my /boot is on
> (and yes, that is actually the real booting drive):
> 
> [root at www ~]# mount|grep boot
> /dev/sdag1 on /boot type ext4 (rw)
> [root at www ~]# cat /etc/issue
> Red Hat Enterprise Linux Server release 6.1 (Santiago)
> Kernel \r on an \m
> 
> [root at www ~]#
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

This type of issue is why relying on /dev/sdX is bad. Mounting based on uuid or label when available is best. Unfortunately, there are controller cards that present all disks as the same uuid. It makes using mdadm that can only see /dev/sdX a pain to use.

David.