LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   raid0 created by mdadm can't be mounted after re-install the system (https://www.linuxquestions.org/questions/linux-server-73/raid0-created-by-mdadm-cant-be-mounted-after-re-install-the-system-708716/)

nxnh 03-02-2009 08:58 PM

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.

nxnh 03-02-2009 11:00 PM

ok.. I used fsck -t ext3 -a /dev/md0 and the data is back.

vikas027 03-03-2009 01:38 AM

Did you tried running this command on Debian too ?

nxnh 03-04-2009 08:05 PM

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.


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