From: pan_tingli@hotmail.com (li)
Subject: Re: Duplicate system disk under Digital Tru64 Unix
Date: 24 Apr 2002 09:14:17 -0700 [thread overview]
Message-ID: <56c36f24.0204240814.7b615ad1@posting.google.com> (raw)
In-Reply-To: _Z1x8.4827$6b2.42923@news2.west.cox.net
"Peter Barone" <barone1@cox.net> wrote in message news:<_Z1x8.4827$6b2.42923@news2.west.cox.net>...
>
>
>
> "xgr" <xinggr@public.bta.net.cn> wrote in message
> news:4ce72ad5.0204200451.7d85a852@posting.google.com...
> > All,
> >
> > Does anybody know how to duplicate the system disk under Digital
> > True64 Unix? I try to use dd to duplicate system disk to another disk
> > as following:
> > 1, boot from CD-ROM
> > 2, clear label of target disk: disklabel -z /dev/rdisk/dsk2c
> > 3, duplicate with dd: dd if=/dev/disk/dsk0c of=/dev/disk/dsk2c
> > bs=10240k
> >
> > After exchanging slots of these 2 disks, I was able to boot with the
> > duplicated disk to single user mode, but when I issue following
> > command:
> > #mount -a
> > the system prompts error:
> > msfs_mount: The mount device does not match the linked device.
> > check linked device in /etc/fdmns/domain
> > msfs_mount: setting root device name to root_device RW
> >
> > The contents in /etc/fdmns/ and /etc/fstab are the same as the source
> > disk, but the root file system mounted is different: in the source
> > disk, it's root_domain; but in the target disk, it's root_device.
> > Following is the output of df when booted with the target disk:
> > #df
> > file system mounted on
> > root_device /
> > /proc /proc
> > user_domain#usr /usr
> > var_domain#var /var
> > home_domain#home /home
> >
> > where, root_device should be root_domain#root.
> >
> > Can somebody tell me what the wrong with the system? and is there
> > another way to duplicate system disk? All filesystems are created with
> > Tru64Unix v5.1 AdvFS.
> >
> > Thanks in advance!
To duplicate the system disk.
Format the disk first by (assuming this is not advfs)
disklabel -t nfs -wr dsk1 rz1ed
Then
# mount /dev/dsk1a /mnt
# dump -0 -f - / | (cd /mnt; restore -x -f -)
# umount /mnt
# mount /dev/dsk1g /mnt
# dump -0 -f - /usr | (cd /mnt; restore -x -f -)
# umount /mnt
...
and so on.
#############
prev parent reply other threads:[~2002-04-24 16:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-20 12:51 Duplicate system disk under Digital Tru64 Unix xgr
2002-04-20 14:15 ` Adam Price
2002-04-21 13:29 ` xgr
2002-04-21 13:41 ` Adam Price
2002-04-22 8:15 ` Tony P
2002-04-22 20:43 ` Doug Freyubrger
2002-04-22 21:13 ` Chris Adams
2002-04-23 5:43 ` Adam Price
2002-04-23 18:58 ` Chris Adams
2002-04-23 0:34 ` Peter Barone
2002-04-24 16:14 ` li [this message]
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