Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: gallatin@hpdemo.isds.duke.edu (Andrew Gallatin)
Subject: Re: Mounting an AdvFS disk
Date: 1995/06/29	[thread overview]
Message-ID: <3sufpm$aun@news.duke.edu> (raw)
In-Reply-To: 3ssfgc$sc8@msunews.cl.msu.edu

In article <3ssfgc$sc8@msunews.cl.msu.edu>,
Roozbeh Behrooz <behrooz@egr.msu.edu> 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		     #
##############################################################################




      reply	other threads:[~1995-06-29  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-28  4:00 Mounting an AdvFS disk Roozbeh Behrooz
1995-06-29  4:00 ` Andrew Gallatin [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