Re: re-attach a mirrored metadevice
- From: "wim" <wim.deprez+google@xxxxxxxxxxxxxxxxx>
- Date: 25 Jul 2006 05:46:41 -0700
Dear Patrick and Group,
setuidzero@xxxxxxxxx wrote:
[...]
Instead of trying to detach the last mirror and reattach the old (good
install) one, just mount the ctd devices at different points, copy the
tree over, unmount, attach the mirrors and they'll "sync" (but since
they're already the same, nothing should be transferred).
Thank you very much, this is probably the best solution.
Summary:
* change /etc/vfstab so that d21 (the copy with the original files)
gets loaded as the /usr
* reboot
* mount the metadevice (d2 and thus d22 with the new
installation) to a directory (say /tmp/media)
* delete the badly installed program files from /tmp/media
* copy the old program files (from d21) to /tmp/media
* umount d2 and change /etc/vfstab so that it will use d2 as
the /usr-partition
* reboot (and test)
* metattach d21 to d20 and watch it resynching
Another way you could do it is to just not mount the mirror (comment in
/etc/vfstab), boot up, mount the devices, copy, uncomment vfstab, and
mount the mirror.
Well, it sounds more adventurous, but I didn't test it :-)
If nobody else has any comments, I consider this thread closed. Thanks
to everybody for his/her support.
Kind greetings,
Wim
.
- References:
- re-attach a mirrored metadevice
- From: wim
- Re: re-attach a mirrored metadevice
- From: setuidzero
- re-attach a mirrored metadevice
- Prev by Date: Re: Lucky Me? E10K
- Next by Date: Re: Lucky Me? E10K
- Previous by thread: Re: re-attach a mirrored metadevice
- Next by thread: The Single Most Annoying Thing About The Solaris Install
- Index(es):
Relevant Pages
|
Loading