LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-09-2008, 03:28 PM   #1
mesosphere
LQ Newbie
 
Registered: Jun 2008
Posts: 6

Rep: Reputation: 0
mdadm: fails to assemble array. All 8 devices report being "slot 0"


This may require a new thread as its a completely separate problem. (pre-quil: http://www.linuxquestions.org/questi...o-i-do-646716/ )

After recovering with the alternate drive I grew the array by placing the 8 th drive back in the array and using the --grow option. All seemed fine after this was completed. mdadm -D /dev/md0 reported that it successfully grew the array and that the size of the array grew by the appropriate amount.

The additional space was not available however since i had not resized the file system, but the array ran without problems all weekend. Now this morning I attempted to resize, but could not since the filesystem was mounted. The raid array includes my '/' partition, so to resize the file system i booted to the ubuntu live CD. After installing mdadm, the array was recognized without a problem. And the --detail reported no problems, so I ran the file system check and resized the array. All seemed to work with no problems reported.

But after rebooting it was unable to assemble the array. I'm not sure if it was damaged, or what. Every time i try to assemble it it gives the error...

mdadm: /dev/md0 assembled from 1 drive - not enough to start the array.

when I run in verbose mode, all the correct partitions are identified as members of /dev/md0, but they are all identified as being slot 0. Any idea what could cause this and/or if its fixable? Can I manually set the slot numbers some how?
 
Old 06-11-2008, 10:42 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,747

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
What command did you use to assemble the array?
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mdadm says "mdadm: /dev/md1 not identified in config file" when booting FC7 raffeD Linux - Server 1 08-11-2008 11:47 AM
RAID 5 with mdadm "spare" and "active sync" confusion ufmale Linux - Server 1 12-08-2007 10:31 AM
mdadm fails to assemble my RAID device tomhildebrand Fedora 6 06-28-2007 12:08 AM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM
Knoppix fails at "autoconfiguring devices" stage tomas1903 Debian 1 03-10-2006 05:30 PM


All times are GMT -5. The time now is 11:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration