From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,d2c67628e8942a6a X-Google-Attributes: gidfa528,public X-Google-Thread: 1020c6,66e961cb46d2baa0,start X-Google-Attributes: gid1020c6,public X-Google-ArrivalTime: 2002-04-21 06:29:36 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: xinggr@public.bta.net.cn (xgr) Newsgroups: comp.unix.tru64,comp.unix.admin Subject: Re: Duplicate system disk under Digital Tru64 Unix Date: 21 Apr 2002 06:29:36 -0700 Organization: http://groups.google.com/ Message-ID: <4ce72ad5.0204210529.be7c5fa@posting.google.com> References: <4ce72ad5.0204200451.7d85a852@posting.google.com> NNTP-Posting-Host: 61.135.94.148 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1019395776 4261 127.0.0.1 (21 Apr 2002 13:29:36 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 21 Apr 2002 13:29:36 GMT Xref: archiver1.google.com comp.unix.tru64:7337 comp.unix.admin:22478 "Adam Price" wrote in message news:... > "xgr" 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 > OK so you managed to boot to single user mode. This means you have > succeeded in copying the disk. However the new disk is more than > likeley called /dev/disk/dsk2c not /dev/disk/dsk0c. > Since I've removed the original disk and installed the new disk to the slot where the original disk used to be, the new disk is recognized by system as /dev/disk/dsk0c, I'm not clear what does you mean that it's likely called /dev/disk/dsk2c. > Boot from the cd, mount the destination disk, change the pointer > in /etc/fdmns/root_domain to point to the correct place. (change > rz0 to rz2) > After booting from the CD, I was unable to mount the root file system; and if I try to change the pointer in /etc/fdmns/root_domain directly with: #cd /etc/fdmns/root_domain #rm dsk0a the system prompts: dsk0a: readonly file system How could I mount the destination disk in read-write mode? All file system are AdvFS. Thanks!