Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Problem with vrestore/advfs/lvm
@ 2001-11-21 15:47 Axel K�ster
  2001-11-21 16:25 ` Axel K�ster
  2001-11-22  9:43 ` Emmanuel Choquet
  0 siblings, 2 replies; 7+ messages in thread
From: Axel K�ster @ 2001-11-21 15:47 UTC (permalink / 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




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-11-23 15:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-21 15:47 Problem with vrestore/advfs/lvm Axel K�ster
2001-11-21 16:25 ` 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

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