Skip to contentSkip to conversation

error during raid config

DISCUSSION [email protected] 2 participants 2 messages Jan 16, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

so what do I do now???

Quoted 21 lines · On Fri, Jan 16, 2004 at 06:18:07PM +0000, [email protected] wrote:
Quoted 10 lines

Hello,

I get the following error when I tried to setup my raid:

# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda1, 489951kB, raid superblock at 489856kB
/dev/hda1 is mounted
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.

I use mdadm, not mkraid, but it appears the problem is right there:
"/dev/hda1 is mounted". Probably if you have a mounted filesystem on /dev/hda1, you cannot add it to the raid array. Once you've created the raid array you can mount /dev/md0 instead of /dev/hda1.

-Steve

#1 lore raw

Give output of df command. If hda1 is listed, then unmount it!

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Friday, January 16, 2004 3:14 PM
To: Steven Ihde
Cc: [email protected]
Subject: Re: error during raid config

so what do I do now???

Quoted 12 lines · On Fri, Jan 16, 2004 at 06:18:07PM +0000, [email protected] wrote:
Quoted 10 lines

Hello,

I get the following error when I tried to setup my raid:

# mkraid /dev/md0
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/hda1, 489951kB, raid superblock at 489856kB
/dev/hda1 is mounted
mkraid: aborted, see the syslog and /proc/mdstat for potential clues.
Quoted 9 lines

I use mdadm, not mkraid, but it appears the problem is right there:
"/dev/hda1 is mounted". Probably if you have a mounted filesystem on /dev/hda1, you cannot add it to the raid array. Once you've created the raid array you can mount /dev/md0 instead of /dev/hda1.

-Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html