On Fri, Jun 18, 2010 at 4:27 AM, Michal <mic...@ionic.co.uk> wrote: > On 17/06/2010 14:08, Huang, Tao wrote: >> On Thu, Jun 17, 2010 at 4:17 PM, Michal <mic...@ionic.co.uk> wrote: >>> This is a better way then disconnecting the drive and checking which >>> drive was disconnected like I did, but I would still put a very easy to >>> read label on the drive to say /dev/sdX. It would be far easier then >>> checking a long serial number, especially if it's hard to read and you'd >>> need to take each HDD out to check :) >> >> I think the allocating of /dev/sdX depends on the order you plug the >> drives into the machine. >> so it changes over reconfiguring of the hardwares, which makes your >> labels useless. >> >> can someone confirm this? >> >> >> Tao >> >> > > But how can this be correct when each raid partion is linked to the > HDD/Partions > > > # cat /proc/mdstat > Personalities : [raid1] [raid6] [raid5] [raid4] > md3 : active raid1 sda2[0] sdb2[1] > 716796096 blocks [2/2] [UU] > > md2 : active raid1 sda5[0] sdb5[1] > 51199040 blocks [2/2] [UU] > > md0 : active raid1 sda1[0] sdb1[1] > 513984 blocks [2/2] [UU] > > md1 : active raid1 sda3[0] sdb3[1] > 102398208 blocks [2/2] [UU]
mdadm assembles an array according to data in the superblock so it shouldn't matter whether the kernel recognizes sda and sdb as sdb and sda respectively should you plug them in differently. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktikynxk1ht0m-1azgipknzqvoyi-od2sxixth...@mail.gmail.com