RE: Broken RAID1 boot arrays

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Leslie Rhorer
Date: Thursday, May 13, 2010 - 4:30 pm

Thank you for your response.  My hat is off to you.  Few people
return such thorough and detailed posts.


	/var is just part of the main array.  Only /boot and the swap area
have their own partitions.  Interestingly enough, the installer kernel shows
the drives to be /dev/hda and /dev/hdb, again.  Apparently the installer
uses an older kernel?  Oh, and it can assemble the third array (the swap
area) just fine, or at least it says it can:

~ # mdadm -Dt /dev/md3
/dev/md3:
        Version : 1.02
  Creation Time : Sun Dec 20 05:05:08 2009
     Raid Level : raid1
     Array Size : 204796548 (195.31 GiB 209.71 GB)
  Used Dev Size : 204796548 (195.31 GiB 209.71 GB)
   Raid Devices : 2
  Total Devices : 2
    Persistence : Superblock is persistent

  Intent Bitmap : Internal

    Update Time : Mon May 10 01:08:00 2010
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           Name : 'Backup':3
           UUID : 3615c4a2:33786b6d:b13863d9:458cd054
         Events : 66

    Number   Major   Minor   RaidDevice State
       2       3        3        0      active sync   /dev/hda3
       1       3       67        1      active sync   /dev/hdb3


	'No joy:

~ # mount -o -v  /dev/md1 /target
mount: mounting /dev/md1 on /target failed: Invalid argument

	So now, what?  I can mount the arrays just fine under the Ubuntu
live CD, but not this one.


	Uh-uh, again.  Neither apt-get nor aptitude seem to be on the CD, at
least not when installing this way.


	It doesn't mention it when I issue `mount` or lsof.  What's more, it
gives the same error for both partitions.  Also, as I mentioned, it doesn't
show any errors when I issue `sudo mdadm --examine [sda3|sdb3]`.  Finally,
it assembles without complaint under the Debian live CD.


	First of all, isn't that the homehost name?  If so, it is *SUPPOSED*
to be the same for all three.  Secondly, it assembled just fine under the
old kernel and mdadm, as I mentioned.  Thirdly, if it were the case, I would
expect it to assemble at least the first target without complaint.  Finally,
the names aren't the same.  They are 'Backup':1, 'Backup':2, and 'Backup':3


	I think before I try something like that, I would just trash one
element of each array, assemble the arrays broken with just one element, and
copy over the files to the "new" partitions, and go from there.


	Well, I'm getting somewhere.  I'm just not sure where, if I can't
get mount to work.

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

Messages in current thread:
RE: Broken RAID1 boot arrays, Leslie Rhorer, (Thu May 13, 4:30 pm)
RE: Broken RAID1 boot arrays, Daniel Reurich, (Thu May 13, 5:16 pm)