LinuxQuestions.org
Visit Jeremy's Blog.
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 08-06-2010, 03:17 AM   #1
SirLouen
LQ Newbie
 
Registered: Aug 2010
Posts: 12

Rep: Reputation: 0
problems with md array automount during boot


I've been experiencing that my md array md0 is not being automounted during boot for strange reason

Checking up the boot log I saw:

md: md0 switched to read-write mode.

And after boot, checking out /proc/mdstat :
# cat /proc/mdstat
Personalities : [raid1]
md0 : active (auto-read-only) raid1 sdb1[0] sdc1[1]
976759936 blocks [2/2] [UU]

While auto-read-only mode I cannot mount md0

So if I put

# mdadm -w /dev/md0
# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb1[0] sdc1[1]
976759936 blocks [2/2] [UU]

# mount /dev/mapper/datavg-datalv /mnt/data

It gets mounted perfect...

But its pretty bad that it doesnt automount, since is a linux server running Debian Lenny with kernel 2.6.32-2 and on that array (not root) there are virtual machines KVM images that should also boot after system load.

I don't know where to start to debug this problem. Any ideas?

Thanks!
 
Old 08-06-2010, 05:46 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 113Reputation: 113
what entry is in your /etc/fatab file?
 
Old 08-06-2010, 10:43 AM   #3
SirLouen
LQ Newbie
 
Registered: Aug 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sem007 View Post
what entry is in your /etc/fatab file?
Here it is:
/dev/datavg/datalv /mnt/data ext4 rw,relatime 0 1
 
Old 08-06-2010, 11:12 AM   #4
SirLouen
LQ Newbie
 
Registered: Aug 2010
Posts: 12

Original Poster
Rep: Reputation: 0
ok now I solved this, was a problem with the hardware abstraction layer, since I had to install some sid packages that did not fit on my system
 
  


Reply

Tags
boot, kernel, md, mdadm, mount


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
Automount partition at boot Ragnarok Warrior Linux - Hardware 3 04-06-2009 04:14 PM
Adding an old software-RAID array to a software-RAID installation.. Boot problems GarethM Linux - Hardware 2 05-05-2008 03:16 PM
Problems with automount in FreeBSD auricle *BSD 4 08-08-2005 12:10 PM
Automount Problems apachedude Slackware 1 02-04-2005 04:24 AM
automount cd problems Huntdawg Linux - Software 1 10-30-2003 04:26 PM

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

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