Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-30-2006, 11:57 AM   #1
Registered: Oct 2004
Location: Portugal
Distribution: Debian, Slackware
Posts: 78

Rep: Reputation: 20
Software RAID1 and udev


I have a Debian Sarge running on a Asus Server with 2 hard disks. I configured software RAID1 with the mdadm tool. I use udev to manage the system devices. When I remove a hard disk (in this case /dev/sdb), the system removes it from the RAID array and the udev deletes the /dev devices. My is problem is when I plug the hard disk again. The udev instead of creating again the /dev/sdb, it will create /dev/sdc. The raid array won't recover and I think it's because of the changing of letter of the device.

Any help? Thanks.
Old 10-31-2006, 04:58 AM   #2
Dutch Master
Senior Member
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Did you plug in that HDD in exactly the same connector? Did you reboot between removing and adding the disk? If not, the kernel still thinks that there is a sdb disk attached and assigns sdc to the newly inserted disk.
Old 10-31-2006, 05:35 AM   #3
Registered: Oct 2004
Location: Portugal
Distribution: Debian, Slackware
Posts: 78

Original Poster
Rep: Reputation: 20
Well, the hard disks are hotpluggable, so no reboot needs to be made. When I hotplug it again, the udev creates /dev/sdc.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux software raid1 porlock Linux - Newbie 1 03-18-2013 07:40 PM
Software RAID1 monitoring Sushy Slackware 1 10-05-2005 09:52 AM
Creating Software Raid1 Jimi_l SUSE / openSUSE 3 04-29-2005 05:54 AM
Software RAID1 problems robbow52 Debian 7 11-15-2004 11:52 AM
Software RAID1 problems robbow52 Linux - Software 1 07-28-2004 10:32 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration