site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com On Mar 13, 2006, at 1:54 AM, Gaurav Kumar wrote: hi all, On MAC OSX 10.4 if i repair a damaged RAID using diskutil command as diskutil repairMirror diskx disky. Rebiulding starts properly and when it is 100% Complete. Diskutil checkRAID shows status of RAID disk as Offline i.e not mounted. After i have to execute diskutil mountDisk to make it mounted. so,suggest me what should i do so that after rebuilding is complete, disk gets automatically mounted on MAC 10.4. -rick __ rick sulack darwin core os group apple computer, inc A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... While on 10.3.3 after completion of diskutil repairMirror the status of disk is mounted. We don't have to expilicitly fire diskutil mountDisk to make it mounted again. In 10.3.2 (7E46) we added support for live mirror rebuilding. 10.4 also has support for live mirror rebuilding. However, most of the RAID code was re-written for 10.4, it supports some new features like RAID 10, 0+1, JBOD, ... For both 10.3.2+ (7E46) and 10.4.x the need to first unmount the mirrored volume is no longer necessary. Releases older than 10.3.2 had to rebuild mirrors unmounted so the code was most likely remounting the volumes prior to 10.3.2 when the rebuild completed. Since you are talking about 10.3.3, my best guess that this was a bug outside of the RAID code that was fixed in 10.4, since a unmounted volume should probably stay that way. The easiest fix might be to not unmount the volume before rebuilding it on 10.4. Unmounting a mirrored volume on 10.4 before rebuilding is not a bad thing though. Live rebuilding was added mostly to allow rebuilding boot volumes. Depending on much normal i/o activity occurring on the volume during the rebuild, the rebuild could take longer if it is mounted. So it is best to try to minimize the extra i/o while rebuilding if you can. This email sent to site_archiver@lists.apple.com