From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d1bc8e86b5e08610 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,d1bc8e86b5e08610 X-Google-Attributes: gidf678f,public From: gallatin@hpdemo.isds.duke.edu (Andrew Gallatin) Subject: Re: Mounting an AdvFS disk Date: 1995/06/29 Message-ID: <3sufpm$aun@news.duke.edu>#1/1 X-Deja-AN: 105263128 references: <3ssfgc$sc8@msunews.cl.msu.edu> organization: Institute of Statistics and Decision Sciences, Duke U. newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 In article <3ssfgc$sc8@msunews.cl.msu.edu>, Roozbeh Behrooz wrote: > >Hi, >I am trying to mount an external disk which was formated on another alpha >as AdvFS. I don't recall the names of the domains or file sets. > >How do I mount the external disk w/o the risk of losing the data on it? > >Thanks for any information you can give me on this. >From the above info, I'm assuming that you've got a disk with one or more filedomains on it & that none of these file domains span more than one partition (ie, they don't have multiple volumes). If I'm wrong, I'm not sure how helpful this will be. If I'm right, read on! First, let's assume this disk is rzX Find out what partitions on rzX have ADVfs on them. You'll want to run disklabel -r on the disk and look for ADVfs: # disklabel -r rz9 | grep -i ADVfs c: 1299174 0 ADVfs # (Cyl. 0 - 1603*) Ok, now we know that partition c has advfs on it, so lets see what filesets there are: # mkdir -p /etc/fdmns/probe_domain # cd /etc/fdmns/probe_domain # ln -s /dev/rzXc rzXc Now we should be able to see what filesets are in this domain. # showfsets probe_domain foundone Id : 2f7dac0f.00082157.1.8001 Files : 19622, SLim= 0, HLim= 0 Blocks (512) : 1132234, SLim= 0, HLim= 0 Quota Status : user=on group=on # mount probe_domain#foundone /mnt Whatever you do, don't use mkfdmn or addvol! They'll render the old filedomains useless. Drew ############################################################################## # Andrew Gallatin, Computer Project Manager # # Institute of Statistics and Decision Sciences # # Box 90251, Duke University, Durham, NC 27708-0251 # ##############################################################################