08-02-07 06:19 PM
On Thu, 02 Aug 2007 17:16:42 +0300, Uusimäki wrote:
> andrewr@cornasys.com wrote:
>
> There are several different solutions for making a copy of your system
> disk. Which one is best depends on your need and wether you want it to
> be automatically updated or if you want to do it manually.
>
> The easiest way in terms of maintenance work is to use LSM. It makes a
> mirror copy of the system disk. Then you don't need to make manual
> copies. It needs a license, of course. Either the LSM license or a NAS
> server license. How the setup is done is well documented in the LSM
> documentation.
>
> Another solution is to make an identical copy of the system disk to the
> other disk using vdump/vrestore. First you have to make the disk label
> exactly similar on the new disk as it is on the system disk (remember to
> use the "-t advfs" switch to make the disk bootable). Then you just make
> a vdump -> vrestore copy of the system disk filesystems. You should do
> it when your system is in single user mode. The syntax of the copying
> command line is documented on the vrestore man page.
> This solution needs continuous updates to keep the standby disk current.
>
> Then there are some other possibilities, but they need a lot more care.
> Therefore I suggest you use either of the described solutions.
>
> I can provide more detailed descriptions, if you need.
>
> Regards,
>
> Kari
We've been using the vdump/vrestore method in multi-user
mode for many years with no issues. I have had to boot
from these copies and run the system for several days,
also without issue. We run this weekly. If you keep user data
under file domains separate from root, usr and var, the data
in these system directories should change very little from
week to week.
You can run vdump and vrestore in one command, using stdin
and stdout.
here's an example of how we copy the root filesystem to a
directory we created called /newroot:
vdump -0uf - -D / | vrestore -xf - -D /newroot
Hope this helps!
[ Post a follow-up to this message ]
|