LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   problems with md array automount during boot (http://www.linuxquestions.org/questions/linux-server-73/problems-with-md-array-automount-during-boot-824525/)

SirLouen 08-06-2010 03:17 AM

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!

sem007 08-06-2010 05:46 AM

what entry is in your /etc/fatab file?

SirLouen 08-06-2010 10:43 AM

Quote:

Originally Posted by sem007 (Post 4057734)
what entry is in your /etc/fatab file?

Here it is:
/dev/datavg/datalv /mnt/data ext4 rw,relatime 0 1

SirLouen 08-06-2010 11:12 AM

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


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