LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-02-2009, 08:58 PM   #1
nxnh
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
raid0 created by mdadm can't be mounted after re-install the system


I have 5 sata disks on my computer and I create a raid0 using 4 disks to storage some data. Yesterday my debian 5 crashed while installing ati driver, so i re-installed an ubuntu 8.10 . After that I typed
Quote:
sudo mdadm --create --verbose /dev/md0 --level=raid0 --raid-devices=4 /dev/sdb /dev/sdc /dev/sdd /dev/sde
and mount it. However while today I updated 260 softwares via the web, it crashes again, so I tried to install debian5.0-lxde, but failed to boot because of a (hd0,4) partition error, so I changed back to ubuntu 8.10 . But this time when i use the same command to create the raid, it can't be mounted, the following error message is coming out:
Quote:
mount: you must specify the filesystem type
Anyone knows what is the problem?? Thank you very much.
 
Old 03-02-2009, 11:00 PM   #2
nxnh
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
ok.. I used fsck -t ext3 -a /dev/md0 and the data is back.
 
Old 03-03-2009, 01:38 AM   #3
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,305

Rep: Reputation: 107Reputation: 107
Did you tried running this command on Debian too ?

Last edited by vikas027; 03-03-2009 at 01:42 AM. Reason: I skipped few lines while reading.
 
Old 03-04-2009, 08:05 PM   #4
nxnh
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
no, I had not a chance to run debian because it is unable to boot, though I successfully installed it some weeks ago. While i typed
Quote:
fsck -t ext3 -a /dev/md0
it returns a message abount some inode error, and let me use the -b option, so I write a shell script to try from -b 1 to -b 10000 , and it works at about b=8200.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntfs windows raid0 mdadm and mount iainmackay85 Linux - Software 0 11-16-2008 12:18 PM
Changing superblock for MDADM raid0 harddrives? TefoZi Linux - Newbie 1 04-07-2008 09:22 PM
mdadm assemble weirdness with partitionable RAID0 Schneckl Linux - Software 0 08-28-2007 05:45 PM
mdadm: no devices ... were found after RAID0 install hedpe Linux - Software 4 06-28-2007 01:38 PM
To use a RAID0 created by a SuSE install carcassonne Fedora 3 03-20-2007 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:22 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