From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e4fbec0f5098e11e X-Google-Attributes: gidfee84,public From: harris@zk3.dec.com (Bob Harris) Subject: Re: about advfs filesystem Date: 1998/03/08 Message-ID: #1/1 X-Deja-AN: 331973453 Content-Transfer-Encoding: 8bit References: <6dnqhp$1ee@netnews.hinet.net> Content-Type: text/plain; charset=ISO-8859-1 Organization: Digital Equipment Corporation Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 In article <6dnqhp$1ee@netnews.hinet.net>, "Vincent Huang" wrote: > The other hard disk is my backup harddisk.. > I use dd command to make a image copy from that original harddisk. > dd if=/dev/rz0c of=/dev/rz1c > > One day, my original harddisk1 crashed, so I use the second backup > harddisk 2 to boot.it also had root,usr,var_domain . > > So,here is my question , I want to copy some files from original > harddisk 1, How sould I do to mount original harddisk 1 to > other mount point..and I can copy files from that place..? You could use /sbin/advfs/advscan to create new domains out of the domains found on the /dev/rz0c disk. The name of a domain is just the name of the directory in /etc/fdmns. If you unmount the domain and rename the directory you will have renamed the domain. advscan is the recommended way to create domains out of AdvFS partitions that are being imported into a Digital UNIX system (for example, the disks could have come from a different system, etc...). If for some reason you can not find advscan or have some problems, then just create a new directory in /etc/fdmns and create symbolic links to the disk partitions that should be part of the domain. mkdir /etc/fdmns/fred cd /etc/fdmns/fred ln -s /dev/rz0a This should create a domain out of the rz0a root partition. Repeat for any other domains. Note: If any of the domains had multiple volumes as part of the domain, advscan is better at making sure the correct partitions are included in the domain. Good luck -- Bob Harris I don't get to tell me what to do, I only get to tell me how to do it. The opinions expressed are my own and do not represent Digital Equipment Corporation