linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* md devices disappearing on system reboot
@ 2008-07-01 16:52 thomas62186218
  2008-07-02 16:21 ` Andre Noll
  0 siblings, 1 reply; 10+ messages in thread
From: thomas62186218 @ 2008-07-01 16:52 UTC (permalink / raw)
  To: linux-raid

Hi all,

I have what I am sure is a simple problem to solve but I cannot figure 
it out. I am running 64-bit Linux 2.6.20.11 (custom build) and my md 
devices are not appearing after system reboot. Any ideas?

Thanks!
Thomas

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

* Re: md devices disappearing on system reboot
  2008-07-01 16:52 md devices disappearing on system reboot thomas62186218
@ 2008-07-02 16:21 ` Andre Noll
  2008-07-06  4:27   ` thomas62186218
  0 siblings, 1 reply; 10+ messages in thread
From: Andre Noll @ 2008-07-02 16:21 UTC (permalink / raw)
  To: thomas62186218; +Cc: linux-raid

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

On 12:52, thomas62186218@aol.com wrote:

> I have what I am sure is a simple problem to solve but I cannot figure 
> it out. I am running 64-bit Linux 2.6.20.11 (custom build) and my md 
> devices are not appearing after system reboot. Any ideas?

Show us your /etc/mdadm.conf and the output of mdadm -E --scan.

Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: md devices disappearing on system reboot
  2008-07-02 16:21 ` Andre Noll
@ 2008-07-06  4:27   ` thomas62186218
  2008-07-07  9:30     ` Andre Noll
  0 siblings, 1 reply; 10+ messages in thread
From: thomas62186218 @ 2008-07-06  4:27 UTC (permalink / raw)
  To: maan; +Cc: linux-raid

Hi Andre,

Thank you for responding. I created md0 with 4 hard drives, RAID 0. 
Here is the /etc/mdadm.conf
DEVICE  /dev/sd*
ARRAY /dev/md0 level=raid0 num-devices=4 
UUID=d58a686f:20aa9ffe:e0d5f27e:e17216ec

Here is the output of mdadm -E -scan
ARRAY /dev/md0 level=raid0 num-devices=4 
UUID=d58a686f:20aa9ffe:e0d5f27e:e17216ec


However, cat /proc/mdstat shows nothing:
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>


Thank you for any guidance!
-Thomas

-----Original Message-----
From: Andre Noll <maan@systemlinux.org>
To: thomas62186218@aol.com
Cc: linux-raid@vger.kernel.org
Sent: Wed, 2 Jul 2008 9:21 am
Subject: Re: md devices disappearing on system reboot










On 12:52, thomas62186218@aol.com wrote:

> I have what I am sure is a simple problem to solve but I cannot 
figure
> it out. I am running 64-bit Linux 2.6.20.11 (custom build) and my md
> devices are not appearing after system reboot. Any ideas?

Show us your /etc/mdadm.conf and the output of mdadm -E --scan.

Andre
--
The only person who always got his work done by Friday was Robinson 
Crusoe






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

* Re: md devices disappearing on system reboot
  2008-07-06  4:27   ` thomas62186218
@ 2008-07-07  9:30     ` Andre Noll
  2008-07-07 12:52       ` thomas62186218
  0 siblings, 1 reply; 10+ messages in thread
From: Andre Noll @ 2008-07-07  9:30 UTC (permalink / raw)
  To: thomas62186218; +Cc: linux-raid

[-- Attachment #1: Type: text/plain, Size: 722 bytes --]

On 00:27, thomas62186218@aol.com wrote:

> Thank you for responding. I created md0 with 4 hard drives, RAID 0. 
> Here is the /etc/mdadm.conf
> DEVICE  /dev/sd*
> ARRAY /dev/md0 level=raid0 num-devices=4 
> UUID=d58a686f:20aa9ffe:e0d5f27e:e17216ec
> 
> Here is the output of mdadm -E -scan
> ARRAY /dev/md0 level=raid0 num-devices=4 
> UUID=d58a686f:20aa9ffe:e0d5f27e:e17216ec

Looks good.

> However, cat /proc/mdstat shows nothing:
> Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
> unused devices: <none>

What happens if you try to assemble the array by executing

	mdadm -A /dev/md0

?

Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: md devices disappearing on system reboot
  2008-07-07  9:30     ` Andre Noll
@ 2008-07-07 12:52       ` thomas62186218
  2008-07-07 13:23         ` Andre Noll
  0 siblings, 1 reply; 10+ messages in thread
From: thomas62186218 @ 2008-07-07 12:52 UTC (permalink / raw)
  To: maan; +Cc: linux-raid

Hi Andre,

Thank you for the response. When running:  mdadm -A /dev/md0   I get:

mdadm: no devices found for /dev/md0

But fdisk -l  shows all the devices present on the system...

-Thomas

-----Original Message-----
From: Andre Noll <maan@systemlinux.org>
To: thomas62186218@aol.com
Cc: linux-raid@vger.kernel.org
Sent: Mon, 7 Jul 2008 2:30 am
Subject: Re: md devices disappearing on system reboot










On 00:27, thomas62186218@aol.com wrote:

> Thank you for responding. I created md0 with 4 hard drives, RAID 0.
> Here is the /etc/mdadm.conf
> DEVICE  /dev/sd*
> ARRAY /dev/md0 level=raid0 num-devices=4
> UUID=d58a686f:20aa9ffe:e0d5f27e:e17216ec
>
> Here is the output of mdadm -E -scan
> ARRAY /dev/md0 level=raid0 num-devices=4
> UUID=d58a686f:20aa9ffe:e0d5f27e:e17216ec

Looks good.

> However, cat /proc/mdstat shows nothing:
> Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
> unused devices: <none>

What happens if you try to assemble the array by executing

    mdadm -A /dev/md0

?

Andre
--
The only person who always got his work done by Friday was Robinson 
Crusoe






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

* Re: md devices disappearing on system reboot
  2008-07-07 12:52       ` thomas62186218
@ 2008-07-07 13:23         ` Andre Noll
  2008-07-07 19:11           ` thomas62186218
  0 siblings, 1 reply; 10+ messages in thread
From: Andre Noll @ 2008-07-07 13:23 UTC (permalink / raw)
  To: thomas62186218; +Cc: linux-raid

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

On 08:52, thomas62186218@aol.com wrote:

> Thank you for the response. When running:  mdadm -A /dev/md0   I get:
> 
> mdadm: no devices found for /dev/md0
> 
> But fdisk -l  shows all the devices present on the system...

Try to specify all component devices manually:

	devices=/dev/sd[abcd]
	mdadm -A --run /dev/md0 $devices

You'll probably need to modify the content of the above devices
variable.

Andre
-- 
The only person who always got his work done by Friday was Robinson Crusoe

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: md devices disappearing on system reboot
  2008-07-07 13:23         ` Andre Noll
@ 2008-07-07 19:11           ` thomas62186218
  2008-07-07 23:11             ` David Greaves
  0 siblings, 1 reply; 10+ messages in thread
From: thomas62186218 @ 2008-07-07 19:11 UTC (permalink / raw)
  To: maan; +Cc: linux-raid

Hi Andre,

Thank you very much for the quick response.

My /dev/md0 device is using /dev/sdd1, /dev/sdg1, /dev/sdj1, and 
/dev/sdm1.

I did:
devices=/dev/sd[dgjm]
mdadm -A --run /dev/md0 $devices

I received:
mdadm: cannot open device /dev/sdd: Device or resource busy
mdadm: /dev/sdd has no superblock - assembly aborted

Any ideas?

-Thomas


-----Original Message-----
From: Andre Noll <maan@systemlinux.org>
To: thomas62186218@aol.com
Cc: linux-raid@vger.kernel.org
Sent: Mon, 7 Jul 2008 6:23 am
Subject: Re: md devices disappearing on system reboot










On 08:52, thomas62186218@aol.com wrote:

> Thank you for the response. When running:  mdadm -A /dev/md0   I get:
>
> mdadm: no devices found for /dev/md0
>
> But fdisk -l  shows all the devices present on the system...

Try to specify all component devices manually:

    devices=/dev/sd[abcd]
    mdadm -A --run /dev/md0 $devices

You'll probably need to modify the content of the above devices
variable.

Andre
--
The only person who always got his work done by Friday was Robinson 
Crusoe






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

* Re: md devices disappearing on system reboot
  2008-07-07 19:11           ` thomas62186218
@ 2008-07-07 23:11             ` David Greaves
  2008-07-07 23:34               ` Neil Brown
  0 siblings, 1 reply; 10+ messages in thread
From: David Greaves @ 2008-07-07 23:11 UTC (permalink / raw)
  To: thomas62186218; +Cc: maan, linux-raid

thomas62186218@aol.com wrote:
> Hi Andre,
> 
> Thank you very much for the quick response.
> 
> My /dev/md0 device is using /dev/sdd1, /dev/sdg1, /dev/sdj1, and /dev/sdm1.
> 
> I did:
> devices=/dev/sd[dgjm]
^^^^ add a 1 to the end...
devices=/dev/sd[dgjm]1

> mdadm -A --run /dev/md0 $devices
> 
> I received:
> mdadm: cannot open device /dev/sdd: Device or resource busy
> mdadm: /dev/sdd has no superblock - assembly aborted
> 
> Any ideas?
> 
> -Thomas


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

* Re: md devices disappearing on system reboot
  2008-07-07 23:11             ` David Greaves
@ 2008-07-07 23:34               ` Neil Brown
  2008-07-08  0:44                 ` thomas62186218
  0 siblings, 1 reply; 10+ messages in thread
From: Neil Brown @ 2008-07-07 23:34 UTC (permalink / raw)
  To: David Greaves; +Cc: thomas62186218, maan, linux-raid

On Tuesday July 8, david@dgreaves.com wrote:
> thomas62186218@aol.com wrote:
> > Hi Andre,
> > 
> > Thank you very much for the quick response.
> > 
> > My /dev/md0 device is using /dev/sdd1, /dev/sdg1, /dev/sdj1, and /dev/sdm1.
> > 
> > I did:
> > devices=/dev/sd[dgjm]
> ^^^^ add a 1 to the end...
> devices=/dev/sd[dgjm]1
> 
> > mdadm -A --run /dev/md0 $devices

Also please add -vv to get more verbose output.
So:

   mdadm -A -s -vv
and when that fails
   mdadm -A --run -vv /dev/sd[dgjm]1

Thanks,
NeilBrown

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

* Re: md devices disappearing on system reboot
  2008-07-07 23:34               ` Neil Brown
@ 2008-07-08  0:44                 ` thomas62186218
  0 siblings, 0 replies; 10+ messages in thread
From: thomas62186218 @ 2008-07-08  0:44 UTC (permalink / raw)
  To: neilb, david; +Cc: maan, linux-raid

Hi all,

I tried using the "1" at the end but still no luck.

mdadm: looking for devices for /dev/md0
mdadm: cannot open device /dev/sdd1: Device or resource busy
mdadm: /dev/sdd1 has no superblock - assembly aborted

Thank you for your input so far. Any ideas on this one?

-Thomas

-----Original Message-----
From: Neil Brown <neilb@suse.de>
To: David Greaves <david@dgreaves.com>
Cc: thomas62186218@aol.com; maan@systemlinux.org; 
linux-raid@vger.kernel.org
Sent: Mon, 7 Jul 2008 4:34 pm
Subject: Re: md devices disappearing on system reboot










On Tuesday July 8, david@dgreaves.com wrote:
> thomas62186218@aol.com wrote:
> > Hi Andre,
> >
> > Thank you very much for the quick response.
> >
> > My /dev/md0 device is using /dev/sdd1, /dev/sdg1, /dev/sdj1, and 
/dev/sdm1.
> >
> > I did:
> > devices=/dev/sd[dgjm]
> ^^^^ add a 1 to the end...
> devices=/dev/sd[dgjm]1
>
> > mdadm -A --run /dev/md0 $devices

Also please add -vv to get more verbose output.
So:

   mdadm -A -s -vv
and when that fails
   mdadm -A --run -vv /dev/sd[dgjm]1

Thanks,
NeilBrown






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

end of thread, other threads:[~2008-07-08  0:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 16:52 md devices disappearing on system reboot thomas62186218
2008-07-02 16:21 ` Andre Noll
2008-07-06  4:27   ` thomas62186218
2008-07-07  9:30     ` Andre Noll
2008-07-07 12:52       ` thomas62186218
2008-07-07 13:23         ` Andre Noll
2008-07-07 19:11           ` thomas62186218
2008-07-07 23:11             ` David Greaves
2008-07-07 23:34               ` Neil Brown
2008-07-08  0:44                 ` thomas62186218

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).