Computing.Net > Forums > Solaris > Software Mirror (RAID 1)

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Software Mirror (RAID 1)

Reply to Message Icon

Name: dj13241
Date: May 5, 2008 at 06:45:06 Pacific
OS: Solaris 8
CPU/Ram: Spark 2GB
Product: Netra240
Comment:

I have a system with Software RAID1 setup using two HDs. We'll call the mirror d2, with submirrors d12 and d22. I want to detach d22 (metadetach d2 d22), restore data to d22, and re-attach the array using d22 as the 'Master' meaning that the data on d22 is copied to d21 during the re-sync process. How can I do this?

Thank you!
DJ



Sponsored Link
Ads by Google

Response Number 1
Name: sleepyweasel
Date: November 21, 2008 at 21:26:08 Pacific
Reply:

For what it sounds like you're trying to do, you'll need an outage.

As you said:
o Break mirror.
o Restore data to d22

Then:
umount d2 volume(s)
remove mirror d2 (metaclear d2) -- data on d21 still valid
recreate mirror d2, but use d22 as first cat.
(metainit d2 -m d22)
mount d2 volumes(s) and verify
reattach d21 to mirror, d22 data will sync to d21. -- data on d21 will be overwritten

Note: Cmds are from memory, so verify. ;o)

fyi, Solaris8 containers on Sol10 is now covered by support for Sol8 which will give you ZFS, but not require an upgrade to your current config.


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Software Mirror (RAID 1)

Raid 1 with the smc (Volume Manager www.computing.net/answers/solaris/raid-1-with-the-smc-volume-manager/3461.html

Setting up Raid 1 on e420r www.computing.net/answers/solaris/setting-up-raid-1-on-e420r/3478.html

forgot root password on ultra 5 www.computing.net/answers/solaris/forgot-root-password-on-ultra-5-/2359.html