Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diskutil convertRAID hosed my array...



At 9:06 AM -0400 6/26/07, Christopher Waltham wrote:
On Jun 25, 2007, at 2:57 PM, Dan Shoop wrote:

At 11:59 AM -0400 6/25/07, Christopher Waltham wrote:
...has anyone seen this kind of behavior before?

I have a G5 Xserve running 10.4.8 Server, with a pair of 80GB drives in a RAID1 array. One of the disks became degraded this morning, but diskutil didn't fix it automatically. This seems to be because the array was created in 10.3.9 Server (i.e. Panther), and thus was made with AppleRAID version 1.

Yes.

So, I booted off a 10.4 install DVD and ran "diskutil convertRAID" to convert the array to AppleRAID 2 so that I could repair it. The logs from diskutil say that everything went flawlessly and it only took a couple of minutes to complete. However, upon rebooting the Xserve after that, the RAID array exists but the volume it contains has seemingly disappeared.

You performed this operation against a "bad" array? That would not sound like a very wise idea.

I should have added that I tried to repair the array manually, i.e. with "diskutil repairMirror", but had no success either. I recalled that, several months ago, I had run into the same problem on a G5 PowerMac with the same circumstances -- i.e., a Tiger OS with a Panther-created RAID 1 array.

Hard to help you when you don't really tell us what you tried.

But you probably should have upgraded the array to Tiger.

When trying to run repairMirror on a Panther array in Tiger, both on the PowerMac and the Xserve, I got the same error message. I don't exactly remember what it was,

...so no one can quite remember then how to help you...

but I'm sure I can re-create it.

;)

What do you mean by the RAID array exists but the volume doesn't. Either it has an entry in the device table or it doesn't.

Well, the array shows up in Disk Utility (icons for both physical drives, and then the icon for the logical drive) but the volume's entry in /Volumes is different to what I'd expect. Perhaps I'm getting my nomenclature wrong?

Perhaps post the output of `diskutil`? Or `mount`? Perhaps give us something to work with?


If you are referring to the volume mounting, rather than existing, then refer your commentary above where you tell us it was "bad".

I'm back to booting off the install DVD, because OS X can no longer find it's boot partition.

Well probably can't mount it, from your comments above, so it wouldn't be able to boot from a disk that's bad and can't be mounted.

Well, yes, but I tried booting from it *before* mounting it, as I had no reason (i.e., a lack of error messages) to suggest that there were any problems with the array.

If a volume can't mount it can't be mounted to boot from.

Disk Utility, when launched from the DVD, says that the array is Online but both disks that used to house the array are Offline. Strangely, it reports the name of the volume as being "Macintosh HD" instead of "pinkham", which was the name of the volume before I ran diskutil on it.

Sounds like the volume has been modified.

When I run the "Verify Disk" command in Disk Utility on the RAID volume, I get this error:

"Invalid volume header
Invalid b-tree node size"

Again, you took a bad volume and made it worse.

So this brings us back to my original question: can you run "repairMirror" in Tiger on a Panther-created array? Both times I have tried, diskutil has complained before starting the conversion process.

Which again brings us to the fact that we need to know what you tried. How can we comment of something we don't know about? This isn't mind reading.


--

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
email@hidden                                http://www.iwiring.net/
1-714-363-1174
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >diskutil convertRAID hosed my array... (From: Christopher Waltham <email@hidden>)
 >Re: diskutil convertRAID hosed my array... (From: Dan Shoop <email@hidden>)
 >Re: diskutil convertRAID hosed my array... (From: Christopher Waltham <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.