This content has been marked as final. Show 1 reply
Grandpaferret wrote:If they're just mirrors, backing up one side is probably the easiest way. If they're not mirrors, this is going to be very difficult to do.
I have been booting of of cdrom and using ufsdump to back up /, /usr, /var, etc for years... but have never figured out how to do this when these unmountable filesystems are metadevices.
Do you justThat's valid.
1) boot off of cdrom (os install 1/2)
2) ufsdump of /0f - /dev/rdsk/cNtNdNsN | ...
like you would for "normal" ufs devces, and then
3) boot normallyWhat would you do with such data in the future? You can't restore it.
4) find and dd(1M) a backup copy of the "state db replica"
5) back up the disksuite (text) config files (/etc/system, /etc/lvm/mddb.cf, /etc/lvm/db.cf).That's probably the best. /etc/system doesn't seem especially useful either. You're not going to use the contents to drive a new installation.
In any restore situation, you're going to have to use some other method to partition the drives and create filesystems. You're then going to have to restore data, then clean /etc/vfstab and /etc/system to boot from your restored slice, not any metadevices. You'd then do a new SVM configuration from scratch and set up the mirrors.
Having a copy of /etc/lvm/md.tab or /etc/lvm/md.cf can give you guides to what your configuration should look like, but you're not going to directly restore it.