From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,cf97d80d86e52dd7 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-09-13 03:09:46 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: emmanuel.choquet@compaq.com (Emmanuel Choquet) Newsgroups: comp.sys.dec Subject: Re: will advscan -r erase the content of the fs? Date: 13 Sep 2001 03:09:46 -0700 Organization: http://groups.google.com/ Message-ID: <4618c6b9.0109130209.68de9024@posting.google.com> References: <9np938$ee76@imsp212.netvigator.com> NNTP-Posting-Host: 193.243.161.102 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1000375786 31948 127.0.0.1 (13 Sep 2001 10:09:46 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 13 Sep 2001 10:09:46 GMT Xref: archiver1.google.com comp.sys.dec:7238 advscan does not hurt nor delete anything mkfset will create a new fileset in a domain and will throw an eror message if the fileset exists. So normally does not hurt either. The only damageable command is mkfdmn which will erase all your previous domain on the partition you run that command. advscan was the *good* way to recover, actually it only creates the domain_rz0g in /etc/fdmns, and write the sym link to the partition in there : You're confused with domain and filesets : Domain name is the name of the directory in /etc/fdmns. This directory contains a sym link to the device[s](partition[s]) containing the domain structure and data. Within a domain, you can have several filesets (which are similar to filesystems) sharing the pool of bytes of the domain. The filesets names are in the structure of the domain. The only way to catch their names is # showfsets domain_name Then, when you know their names use: # mount domain_name#fileset_name /mnt and not mount domain_name#partition or whatever. "Sam Wun" wrote in message news:<9np938$ee76@imsp212.netvigator.com>... > Hi, > > I tried to recover the disk on rz0, the /sbin/advfs/advscan -r command is > being used: > > #/sbin/advfs/advscan -r rz0 > > this command recreated a domain for me, then I used mkfset domain_rz0g rz0g > to make the file set, after issued > a mount -t advfs domain_rz0g#rz0g /rz0g command, I found nothing remain in > the rz0g patition. I really hope that this is not the real msg for > indicating that the origional content of the rz0g has been erased. I am > wondering whether advscan -r or mkfset erase the file system? > > Thanks > sam