Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Axel K�ster <a.kuester@ostalb.netsurf.de>
Subject: Problem with vrestore/advfs/lvm
Date: Wed, 21 Nov 2001 16:47:40 +0100	[thread overview]
Message-ID: <4pgnvtgpr3bis8djna1tlblofnr6aruu1k@4ax.com> (raw)

Hi, I have the following problem when restoring a system disk:

System: True64 4.0G, 128 MB memory, mirrored system disk (lvm) with /, usr and
var on AdvFS "artitions".

Target: I want to make a full backup and restore of the system disk to recover
from catastrophic failure.

What works (and was done) till now:

I made a backup with vdump level 0  (in single user mode) of all partitions (/,
usr, var, temp and home) 

then I booted from CDROM and flushed both disks.

disklabel -z rz0 
disklabel -z rz1

Then (after creating the special files, mount points...) I replayed the (saved
as rz0.lab and rz1.lab to tape and restored to /var) disk partitioning back
with:

disklabel -t advfs -rR rz0 rz0.lab BD018634
disklabel -t advfs -rR rz1 rz1.lab BD018634

The I created the file domian and disk sets and mounted them to temporary mount
points:

mkfdmn -t rz26 /dev/rz0a root_domain
mkfdmn /dev/rz0b swapvol
mkfdmn /dev/rz0d var_domain
....
mkfdmn /dev/rz0g usr_domain

mkfset root_domain root
mkfset usr_domain usr
mkfset var_domain var
....

mount root_domain#root /var/root
mount usr_domain#usr /var/usr
mount var_domain#var /var/var
mount temp_domian#temp /var/temp
mount home_domain#home /var/home

Then I restored the content of the file systems back to the mount points (resp.
the disk) with 

vrestore -xD/usr/root -f/dev/nrmt0h
vrestore -xD/usr/usr -f/dev/nrmt0h
vrestore -xD/usr/var -f/dev/nrmt0h
vrestore -xD/usr/temp -f/dev/nrmt0h
vrestore -xD/usr/home -f/dev/nrmt0h

and rebooted the system from dka0.

When the system tries to mount the advfs file systems it complains about
missing/wrong entries in the advfs logs (and does not find the end...)

Then it starts a update process and there it stays, telling me that the
synchronisation of swapvol was sucessfull.

I can boot to single user mode but not more.

My Questions: Whats my error? Missing commands, wrong backup ????

Any hint (and much more any solutiuon ;-)) ) is welcome.

Axel




             reply	other threads:[~2001-11-21 15:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-21 15:47 Axel K�ster [this message]
2001-11-21 16:25 ` Problem with vrestore/advfs/lvm Axel K�ster
2001-11-21 23:00   ` Mike Coleman
2001-11-22  6:12     ` Axel K�ster
2001-11-22  9:43 ` Emmanuel Choquet
2001-11-22 22:31   ` Mike Coleman
2001-11-23 15:22     ` Emmanuel Choquet
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox