LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

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

Rep: Reputation: 15
Software RAID1 and udev


Hello,

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, 03:58 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,675

Rep: Reputation: 122Reputation: 122
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, 04:35 AM   #3
bujecas
Member
 
Registered: Oct 2004
Location: Portugal
Distribution: Debian, Slackware
Posts: 78

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


Reply


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 06:40 PM
Software RAID1 monitoring Sushy Slackware 1 10-05-2005 08:52 AM
Creating Software Raid1 Jimi_l Suse/Novell 3 04-29-2005 04:54 AM
Software RAID1 problems robbow52 Debian 7 11-15-2004 10:52 AM
Software RAID1 problems robbow52 Linux - Software 1 07-28-2004 09:32 AM


All times are GMT -5. The time now is 05:31 PM.

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