linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* MDADM restart at system boot time
@ 2007-09-04 21:15 Paul
  2007-09-04 22:42 ` Richard Scobie
  2007-09-04 22:52 ` Richard Scobie
  0 siblings, 2 replies; 3+ messages in thread
From: Paul @ 2007-09-04 21:15 UTC (permalink / raw)
  To: linux-raid

Hi,
 
I hope someone can help.
 
I have manually installed mdadm and now have a working array. I installed mdadm from the tarball, then did 'make install'
 
My problem is after system reboot the array will not start as the daemon is not running, I guess.
 
In order to access my files I have to re-create the array, which it complains about and then re-mount the disks, via the usual 'mount /dev/md0 /data', I know this 'mount' can be done via fstab, but I need the first part to work first.
 
I have the following info in my mdadm.conf file:

DEVICE /dev/hdb1 /dev/hdc1
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=0f0e3d1f:52580ad4:2ef6a2e7:f760e130
        devices=/dev/hdb1,/dev/hdc1
 
I am running Debian 3.1.
 
Thanks
 
Regards 
  
---------------------
Paul Roberts
Systems Manager 
  
7digital
Unit 1G
Zetland House
5-25 Scrutton Street
London
EC2A 4HJ 
Direct Dial: (020) 7099 0816 
Main Switchboard: (020) 7099 7777
Fax Number: (020) 7504 8020
www.7digital.com
www.indiestore.com
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MDADM restart at system boot time
  2007-09-04 21:15 MDADM restart at system boot time Paul
@ 2007-09-04 22:42 ` Richard Scobie
  2007-09-04 22:52 ` Richard Scobie
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Scobie @ 2007-09-04 22:42 UTC (permalink / raw)
  To: linux-raid

Paul wrote:
> Hi,
>  
> I hope someone can help.
>  
> I have manually installed mdadm and now have a working array. I installed mdadm from the tarball, then did 'make install'
>  
> My problem is after system reboot the array will not start as the daemon is not running, I guess.
>  
> In order to access my files I have to re-create the array, which it complains about and then re-mount the disks, via the usual 'mount /dev/md0 /data', I know this 'mount' can be done via fstab, but I need the first part to work first.
>  
> I have the following info in my mdadm.conf file:
> 
> DEVICE /dev/hdb1 /dev/hdc1
> ARRAY /dev/md0 level=raid1 num-devices=2 UUID=0f0e3d1f:52580ad4:2ef6a2e7:f760e130
>         devices=/dev/hdb1,/dev/hdc1

Replace the "DEVICE" entry with:

DEVICE partitions

and add

auto=part

to the end of your ARRAY entry.

Regards,

Richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MDADM restart at system boot time
  2007-09-04 21:15 MDADM restart at system boot time Paul
  2007-09-04 22:42 ` Richard Scobie
@ 2007-09-04 22:52 ` Richard Scobie
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Scobie @ 2007-09-04 22:52 UTC (permalink / raw)
  To: Linux RAID Mailing List

Paul wrote:
> Hi,
>  
> I hope someone can help.
>  
> I have manually installed mdadm and now have a working array. I installed mdadm from the tarball, then did 'make install'
>  
> My problem is after system reboot the array will not start as the daemon is not running, I guess.
>  
> In order to access my files I have to re-create the array, which it complains about and then re-mount the disks, via the usual 'mount /dev/md0 /data', I know this 'mount' can be done via fstab, but I need the first part to work first.
>  
> I have the following info in my mdadm.conf file:
> 
> DEVICE /dev/hdb1 /dev/hdc1
> ARRAY /dev/md0 level=raid1 num-devices=2 UUID=0f0e3d1f:52580ad4:2ef6a2e7:f760e130
>         devices=/dev/hdb1,/dev/hdc1

Apologies, I was slightly incorrect on the last part.

Replace the "DEVICE" entry with:

DEVICE partitions

and add

auto=part

in place of the "devices=/dev/hdb1,/dev/hdc1" section at
the end of your ARRAY entry.


Regards,

Richard



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-04 22:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04 21:15 MDADM restart at system boot time Paul
2007-09-04 22:42 ` Richard Scobie
2007-09-04 22:52 ` Richard Scobie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).