LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-26-2005, 02:26 AM   #1
ofdofd
LQ Newbie
 
Registered: Oct 2004
Posts: 25

Rep: Reputation: 15
Unhappy PLEASE HELP: fsck.reiserfs --rebuild-sb /dev/md0 fails


When I rebooted my SuSE 9.2 box yesterday, my raid super block was corrupted and I was adviced to rebuild it using fsck.reiserfs --rebuild-sb /dev/md0.

I did and it FAILED :(!

Please, anybody that can give me any hint how to recover my RAID volume, all my life is in there!!

BR,
�sten

Here is the dump:

Code:
bigus:~ # fsck.reiserfs --rebuild-sb /dev/md0
reiserfsck 3.6.18 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will check superblock and rebuild it if needed
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
bread: Cannot read the block (2): (Invalid argument).
reiserfs_open: bread failed reading block 2
bread: Cannot read the block (16): (Invalid argument).
reiserfs_open: bread failed reading block 16

reiserfs_open: the reiserfs superblock cannot be found on /dev/md0.

what the version of ReiserFS do you use[1-4]
        (1)   3.6.x
        (2) >=3.5.9 (introduced in the middle of 1999) (if you use linux 2.2, choose this one)
        (3) < 3.5.9 converted to new format (don't choose if unsure)
        (4) < 3.5.9 (this is very old format, don't choose if unsure)
        (X)   exit
1

Enter block size [4096]:

reiserfs_create: can not create that small (0 blocks) filesystem
 
Old 10-26-2005, 08:57 AM   #2
ofdofd
LQ Newbie
 
Registered: Oct 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Hmm, seems like one of my controllers is gone!

Hmm, looks like I encounted a kernel bug during shutdown (/var/log/messages) and when starting, it cannot find 4 of the 7 disks in raid, I guess it must be the controller card for those that is gone?

How can I re-activate it??

BR,
�sten

Shutdown:

Code:
Oct 21 19:43:42 bigus init: Switching to runlevel: 1
Oct 21 19:43:43 bigus xinetd[6634]: Exiting...
Oct 21 19:43:45 bigus kernel: lockd: host still in use after nlmsvc_free_host_resources!------------[ cut here ]------------
Oct 21 19:43:45 bigus kernel: kernel BUG at fs/lockd/host.c:275!
Oct 21 19:43:45 bigus kernel: invalid operand: 0000 [#1]
Oct 21 19:43:45 bigus kernel: SMP
Oct 21 19:43:45 bigus kernel: Modules linked in: nls_utf8 ves1x93 ves1820 tda1004x stv0299 sp887x nxt6000 mt352 mt312 grundig_29504_491 grundig_29504_401 dst dib3000mb cx24110 cx22702 at76c651 alps_tdmb7 alps_tdlb7 dvb_bt8xx bt878 dvb_ttpci saa7146_vv saa7146 v4l1_compat ttpci_eeprom dvb_core tuner bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc i2c_core videodev nvidia usbserial parport_pc lp parport nfsd exportfs nvram speedstep_lib freq_table thermal processor fan button battery ac ipv6 snd_pcm_oss snd_mixer_oss snd_seq_midi snd_seq_midi_event snd_seq snd_ens1371 snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc gameport edd joydev sg st sr_mod ide_cd cdrom sk98lin ehci_hcd uhci_hcd ohci1394 ieee1394 intel_agp agpgart evdev raid5 xor dm_mod usbcore reiserfs sata_sil ata_piix libata sd_mod scsi_mod
Oct 21 19:43:45 bigus kernel: CPU:    0
Oct 21 19:43:45 bigus kernel: EIP:    0060:[<c01b6dc2>]    Tainted:  P  U VLI
Oct 21 19:43:45 bigus kernel: EFLAGS: 00010286   (2.6.8-24-smp )
Oct 21 19:43:45 bigus kernel: EIP is at nlm_release_host+0x23/0x42
Oct 21 19:43:45 bigus kernel: eax: ffffffff   ebx: c3790d80   ecx: c0374c90   edx: 00000286
Oct 21 19:43:45 bigus kernel: esi: d1b28000   edi: dff96600   ebp: dfdac940   esp: d1b29fb4
Oct 21 19:43:45 bigus kernel: ds: 007b   es: 007b   ss: 0068
Oct 21 19:43:45 bigus kernel: Process lockd (pid: 6447, threadinfo=d1b28000 task=df5f4330)
Oct 21 19:43:45 bigus kernel: Stack: c011f72e c0334868 c3790d80 c01b9edc c0334868 7fffffff c01b74d9 c0346816
Oct 21 19:43:45 bigus kernel:        00000000 fffe2d2a 00000000 c01b728b 00000000 00000000 00000000 c0104265
Oct 21 19:43:45 bigus kernel:        dff96600 00000000 00000000
Oct 21 19:43:45 bigus kernel: Call Trace:
Oct 21 19:43:45 bigus kernel:  [<c011f72e>] printk+0x17/0x1b
Oct 21 19:43:45 bigus kernel:  [<c01b9edc>] nlmsvc_invalidate_all+0x3a/0x4a
Oct 21 19:43:45 bigus kernel:  [<c01b74d9>] lockd+0x24e/0x274
Oct 21 19:43:45 bigus kernel:  [<c01b728b>] lockd+0x0/0x274
Oct 21 19:43:45 bigus kernel:  [<c0104265>] kernel_thread_helper+0x5/0xb
Oct 21 19:43:45 bigus kernel: Code: 04 e8 7a 89 f6 ff eb c3 53 89 c3 83 ec 08 85 c0 74 14 80 3d 7c 0d 48 c0 00 78 1a f0 ff 4b 50 8b 43 50 85 c0 78 05 83 c4 08 5b c3 <0f> 0b 13 01 64 f6 32 c0 eb f1 8d 40 18 c7 04 24 74 f6 32 c0 89
Oct 21 19:43:46 bigus kernel:  <4>lockd_down: lockd failed to exit, clearing pid
Oct 21 19:43:46 bigus kernel: nfsd: last server has exited
Oct 21 19:43:46 bigus kernel: nfsd: unexporting all filesystems
Oct 21 19:43:46 bigus rpc.mountd: Caught signal 15, un-registering and exiting.
...and start-up:

Code:
Oct 26 09:55:45 bigus kernel: md: Autodetecting RAID arrays.
Oct 26 09:55:45 bigus kernel: md: autorun ...
Oct 26 09:55:45 bigus kernel: md: considering sdd1 ...
Oct 26 09:55:45 bigus kernel: md:  adding sdd1 ...
Oct 26 09:55:45 bigus kernel: md:  adding sdc1 ...
Oct 26 09:55:45 bigus kernel: md:  adding sdb1 ...
Oct 26 09:55:45 bigus kernel: md: created md0
Oct 26 09:55:45 bigus kernel: md: bind<sdb1>
Oct 26 09:55:45 bigus kernel: md: bind<sdc1>
Oct 26 09:55:45 bigus kernel: md: bind<sdd1>
Oct 26 09:55:45 bigus kernel: md: running: <sdd1><sdc1><sdb1>
Oct 26 09:55:45 bigus kernel: raid5: device sdd1 operational as raid disk 2
Oct 26 09:55:45 bigus kernel: raid5: device sdc1 operational as raid disk 1
Oct 26 09:55:45 bigus kernel: raid5: device sdb1 operational as raid disk 0
Oct 26 09:55:45 bigus kernel: raid5: not enough operational devices for md0 (4/7 failed)
Oct 26 09:55:45 bigus kernel: RAID5 conf printout:
Oct 26 09:55:45 bigus kernel:  --- rd:7 wd:3 fd:4
Oct 26 09:55:45 bigus kernel:  disk 0, o:1, dev:sdb1
Oct 26 09:55:45 bigus kernel:  disk 1, o:1, dev:sdc1
Oct 26 09:55:45 bigus kernel:  disk 2, o:1, dev:sdd1
Oct 26 09:55:45 bigus kernel: raid5: failed to run raid set md0
Oct 26 09:55:45 bigus kernel: md: pers->run() failed ...
Oct 26 09:55:45 bigus kernel: md :do_md_run() returned -22
Oct 26 09:55:45 bigus kernel: md: md0 stopped.
Oct 26 09:55:45 bigus kernel: md: unbind<sdd1>
Oct 26 09:55:45 bigus kernel: md: export_rdev(sdd1)
Oct 26 09:55:45 bigus kernel: md: unbind<sdc1>
Oct 26 09:55:45 bigus kernel: md: export_rdev(sdc1)
Oct 26 09:55:45 bigus kernel: md: unbind<sdb1>
Oct 26 09:55:45 bigus kernel: md: export_rdev(sdb1)
Oct 26 09:55:45 bigus kernel: md: ... autorun DONE.
 
Old 10-26-2005, 02:18 PM   #3
ofdofd
LQ Newbie
 
Registered: Oct 2004
Posts: 25

Original Poster
Rep: Reputation: 15
Smile Simple!

Simple but strange, it was my Silicon Image disk controller that was gone, somehow it been disabled in BIOS (??), it is now enabled and the system works as before !!!

Thx for ur time!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID5 using mdadm, how to mount /dev/md0? ggduff Linux - Software 4 11-14-2007 01:59 AM
Crash while resyncing /dev/md0 HelaWann Linux - Enterprise 1 12-06-2005 08:52 AM
on boot: fsck.reiserfs /dev/hda3 failed (status 0x10) ahedler Linux - General 5 11-16-2005 02:57 AM
can not mount RAID 0 /dev/md0 dysenteryduke Linux - Software 3 09-15-2005 03:19 PM
RAID 1 ... everyime I reboot, /dev/md0 is broken... rrohde Red Hat 1 10-26-2004 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:48 PM.

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
Open Source Consulting | Domain Registration