From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,7e619249a0b5e6e X-Google-Attributes: gidfa528,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!out03a.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!news-out.readnews.com!postnews3.readnews.com!posts.news.usenetmonster.com!nnrp3.asbnva.usenetmonster.com!not-for-mail From: eliszka Subject: Re: Copying system disk to standby disk Date: Thu, 02 Aug 2007 10:23:26 -0600 User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.unix.tru64 References: <1185964283.726964.197430@57g2000hsv.googlegroups.com> <46b1e589$0$27844$9b536df3@news.fv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Organization: Usenet Monster - http://www.usenetmonster.com NNTP-Posting-Host: d4da47ab.news.usenetmonster.com X-Trace: DXC=J]S?1g@9k2L;TgaKQG1ZDOm>XX`Id5knH`IohDjb_78Lb4daNeZ9\oKQeV_gN\Kg_AEKnEhobe:@NZeXX=>i9H;B02b^@CW@K1JECZH8aYIGdM7[`bFW<67FO X-Complaints-To: killthespammer@usenetmonster.com Xref: g2news2.google.com comp.unix.tru64:45 On Thu, 02 Aug 2007 17:16:42 +0300, Uusim�ki wrote: > andrewr@cornasys.com wrote: >> Hi, >> >> I have a Tru64UNIX system that has 1 system disk with the root, swap, >> usr, var and tmp filesystems on. usr, var and tmp are all in the same >> Advfs domain. >> >> I want to copy the system disk to a standby disk that I can boot off >> in the event of the system disk drive failing. >> >> What is the best way to do this? >> >> Thanks >> Andrew >> > > 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!