From: harris@zk3.dec.com (Bob Harris)
Subject: Re: about advfs filesystem
Date: 1998/03/08 [thread overview]
Message-ID: <harris-ya023680000803981139020001@usenet.pa.dec.com> (raw)
In-Reply-To: 6dnqhp$1ee@netnews.hinet.net
In article <6dnqhp$1ee@netnews.hinet.net>, "Vincent Huang"
<vincent9@ms3.hinet.net> 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
prev parent reply other threads:[~1998-03-08 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-06 5:00 about advfs filesystem Vincent Huang
1998-03-07 5:00 ` Joel Gallun
1998-03-08 5:00 ` Bob Harris [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