LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2006, 02:33 PM   #1
TheMatrix64
LQ Newbie
 
Registered: Apr 2006
Location: Metro Detroit
Distribution: red hat and fedora
Posts: 2

Rep: Reputation: 0
unable to auto mount /dev/md0 RAID 1


I'm having trouble getting my RAID array to automount. I know that the array is working OK since I can manually mount and unmount the RAID array.

I manually created the raidtab file, made an entry into the fstab file and still cannot get it to auto mount upon reboots. The following is info someone may need to point me in the right direction.

/etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/md0 /devhome2 ext3 defaults 1 2
/dev/VolGroup00/LogVol01 swap swap defaults 0 0

/etc/raidtab

raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
device /dev/hdb1
raid-disk 0
device /dev/hdd1
raid-disk 1

The RAID1 array is going to be used to store data the /devhome2 directory. I'm sure that I'm missing something. I would appreciate any help or advice.
 
Old 04-25-2006, 08:40 AM   #2
EchoWarrior
Member
 
Registered: Aug 2005
Location: Finland
Distribution: Gentoo 2006.0, Debian 3.1r0
Posts: 60

Rep: Reputation: 15
Code:
/dev/md0 /devhome2 ext3 defaults 1 2
Should it be /dev/home2 ?
 
Old 04-25-2006, 01:52 PM   #3
TheMatrix64
LQ Newbie
 
Registered: Apr 2006
Location: Metro Detroit
Distribution: red hat and fedora
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your reply EW. Nope. I'm using a directory called devhome2. The original sysadmin that setup the server liked this name.

I tried other variations of the last two columns in fstab such as 0 0, and 1 1. No go.

I'm still scratching my head on this one. I can't understand why when the RAID 1 array is setup manually using mdadm, I cannot get the server to auto mount the md0 array to /devhome2. Please note that I can mount the md0 array manually to /devhome2.

more info:
uname -rs
Linux 2.6.9-1.667

Help!
 
Old 04-09-2007, 07:27 PM   #4
rtspitz
Member
 
Registered: Jan 2005
Location: germany
Distribution: suse, opensuse, debian, others for testing
Posts: 307

Rep: Reputation: 33
did you set the partition type of the raid-members to FD (raid auto detect) ?
 
Old 04-09-2007, 07:49 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Are you specifying the filetype when you mount it manually? Is it possible that it's not actually ext3? Mount it and then run "mount" to check.
 
  


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
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
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
Raid Weirdness -- /dev/md0: Invalid argument spiritwing Linux - Software 3 04-02-2004 09:52 PM
Raid Weirdness -- /dev/md0: Invalid argument spiritwing Linux - Hardware 0 04-02-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 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
Open Source Consulting | Domain Registration