LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 04-02-2008, 07:44 PM   #1
ldunsmo
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Software raid issue....Debian Sarge.


Hi everyone,

Very interesting problem. My mail server (Debian Sarge) raid array broke. At first this does not seem very odd BUT their does not seem to be anything wrong with the partition. I ran a fsck.ext3 on it and it comes up with 0 errors yet it will not join the array. This is raid1. One of the drives is a partition and the other is a stand alone drive.

Has anyone seen this before and if so have any ideas on how to get it to join the array?

Thanks

L

relevant info...

# e2fsck -nvf /dev/hda3
e2fsck 1.37 (21-Mar-2005)
Warning! /dev/hda3 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

207149 inodes used (2%)
21176 non-contiguous inodes (10.2%)
# of inodes with ind/dind/tind blocks: 30519/409/0
3890435 blocks used (26%)
0 bad blocks
0 large files

204782 regular files
2354 directories
0 character device files
0 block device files
0 fifos
1801 links
4 symbolic links (4 fast symbolic links)
0 sockets
--------
208941 files


cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hdc3[1]
58119680 blocks [2/1] [_U]

unused devices: <none>


dmesg|grep hd
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdcMA, hddio
hda: WDC WD800JB-00JJC0, ATA DISK drive
hda: max request size: 128KiB
hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
hdc: WDC WD800JB-00JJC0, ATA DISK drive
hdc: max request size: 128KiB
hdc: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
Adding 499928k swap on /dev/hda1. Priority:-1 extents:1
Adding 499928k swap on /dev/hdc1. Priority:-2 extents:1
EXT3 FS on hda2, internal journal
md: bind<hda3>
md: bind<hdc3>
md: kicking non-fresh hda3 from array!
md: unbind<hda3>
md: export_rdev(hda3)
EXT3 FS on hda3, internal journal

Last edited by ldunsmo; 04-02-2008 at 09:33 PM.
 
Old 04-02-2008, 11:34 PM   #2
Jerre Cope
Member
 
Registered: Oct 2003
Location: Texas (central)
Distribution: ubuntu,Slackware,knoppix
Posts: 323

Rep: Reputation: 37
What happens when you:

mdadm /dev/md0 --add /dev/hda3

you may need to:

mdadm /dev/md0 --remove /dev/hda3

first

Also, you may find

mdadm --detail /dev/md0

helpful

Sometimes drives are dropped due to hardware problems. I'd encountered a buggy motherboard once that dropped the 2nd drive every warm boot. It would add back fine.
 
Old 04-06-2008, 09:16 PM   #3
ldunsmo
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs up

I rejoined it to the array seems good. I am somewhat confused on why it was suddenly broken.

Thanks for the advise,

LCD
 
  


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
How to setup SATA RAID w/ debian sarge glenn69 Linux - Newbie 3 01-31-2007 08:55 AM
SATA RAID on Debian Sarge - Should I, should I not? bence8810 Linux - Hardware 8 10-06-2006 09:06 AM
RAID 0 setup in Debian Sarge blakeless Linux - Software 9 07-25-2006 06:24 PM
Setting up software RAID under sarge with a 2.6 kernel? miggins Debian 3 01-19-2005 06:32 PM
Debian sarge netinstall software raid major problem araldit Linux - Newbie 0 07-22-2004 06:58 PM


All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
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