Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

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 d22Then:
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 overwrittenNote: 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.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |