On 08/23/12 15:01, Jobst Schmalenbach wrote: > Hi Adrian Hi! > yes this will do. > Because I do not know (yet) the UUID of the new partitions (drives), > if I specify the UUID for the known drives for the partitions > the kernel will assign the new drives to higher sdx? AFAIK the sdX names are given by the bios so this is why when new hardware is addend and/or something is change hardware-wise the sdX nomenclature is changed. If you decide to use UUID nomenclature you should use it for ALL disks/partitions .. for centos that menas the beside fstab to modify grub to have something like root=UUID= in kernel command line from grub. IMHO the easiest way to change all to UUID is to boot a live-cd find out all UUIDs and modify the fstab and grub accordingly. I dont know about root(hd0,0) .. i have the grub and / installed on an disk which by system is recognized as /dev/sdc and in grub.conf i have hd(2,msdos1)
HTH, Adrian > Is this correct? > > thanks > Jobst > > > > On Thu, Aug 23, 2012 at 12:49:38PM +0300, Adrian Sevcenco > (adrian.sevce...@cern.ch) wrote: >> On 08/23/12 12:13, Jobst Schmalenbach wrote: >>> Is there a way to tell the kernel in which order to load the drives >>> and assign the drive order in a way that the new drives are assigned >>> SDC and SDD and the old drives get SDA and SDB? >> use UUID= in fstab (lsblk -o NAME,KNAME,UUID) and you will get rid of >> all this headaches (if you have software raid the assembling is done >> internally based on UUID so you don't have to worry about mdraid) >> >> HTH, >> Adrian >> > > >> _______________________________________________ >> CentOS mailing list >> CentOS@centos.org >> http://lists.centos.org/mailman/listinfo/centos > >
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos