* Help on AdvFS
@ 2000-04-05 4:00 Subba
2000-04-05 4:00 ` Oisin McGuinness
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Subba @ 2000-04-05 4:00 UTC (permalink / raw)
Hello,
I have two AdvFS filesystems A and B as follows:
A:
root_domain is the domain
root is the fileset
B:
root_domain is the domain
root is the fileset
Both are bootable partitions only. If I boot through any of them (lets
say A), how do I mount root_domain#root of B on A? Is that possible? I
think I am asking a basic question, but I don't find any documentation
regarding this.
Advance thanks for your help !
--
Subba.
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help on AdvFS
2000-04-05 4:00 Help on AdvFS Subba
@ 2000-04-05 4:00 ` Oisin McGuinness
2000-04-26 4:00 ` rg
2000-05-01 4:00 ` Gopala
2 siblings, 0 replies; 4+ messages in thread
From: Oisin McGuinness @ 2000-04-05 4:00 UTC (permalink / raw)
Take a look at the contents of /etc/fdmns/root_domain/ when you are
booted from A.
It should contain a symbolic link
rz0a -> /dev/rz0a
or something like that. (If you are using LSM for root, it will look
different.)
Now when you boot off B, if you are using the same numbering for SCSI
devices in the
kernels on each, then presumably ls /etc/fdmns/root_domain/ will show a
link to a different
raw device, say rz1a.
Now (still booting off B)
cd /etc/fdmns
mkdir root_A_domain
cd root_A_domain
ln -s /dev/rz0a rz0a
cd /tmp
mkdir root_a
mount root_a_domain#root /tmp/root_a
and you can see the other domain. Domains are just names; the fileset
names live on the disk.
Subba wrote:
>
> Hello,
>
> I have two AdvFS filesystems A and B as follows:
>
> A:
> root_domain is the domain
> root is the fileset
>
> B:
> root_domain is the domain
> root is the fileset
>
> Both are bootable partitions only. If I boot through any of them (lets
> say A), how do I mount root_domain#root of B on A? Is that possible? I
> think I am asking a basic question, but I don't find any documentation
> regarding this.
>
--
Oisin McGuinness
Sumitomo Bank Capital Markets
277 Park Avenue
New York NY 10172
USA
(212)-224-4913, email: oisin@sbcm.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help on AdvFS
2000-04-05 4:00 Help on AdvFS Subba
2000-04-05 4:00 ` Oisin McGuinness
@ 2000-04-26 4:00 ` rg
2000-05-01 4:00 ` Gopala
2 siblings, 0 replies; 4+ messages in thread
From: rg @ 2000-04-26 4:00 UTC (permalink / raw)
Hi Subba,
You can't have on a single machine 2 AdvFS domains with the same name.
What you should do is manually add the second domain (the one you did not
boot from) to your system, with a different domain name, and then mount it.
Do the following:
1. go to /etc/fdmns directory (this directory holds all the information
regarding your AdvFS domains) and mkdir a new directory. Name that directory
with the second domain name (don't name it root_domain because you can't
have 2 domains with the same name. you can name it something like
temp_domain).
2. cd the new directory you just created (i.e: /etc/fdmns/temp_domain).
3. make a static link to the devices the domain sits on. for example, if the
second root_domain (not the one you booted to) sits on /dev/rz3c, you should
make a static link to him in that directory: ln -s /dev/rz3c ./. If that
domain sits on more than one partition, link ALL of them.
4. now, run the showfsets command (showfsets temp_domain) in order to see
the filesets on the new domain.If everything is ok, you can now mount the
directory.
After these steps you will have:
A:
root_domain is the domain
root is the fileset
B:
temp_domain is the domain
root is the fileset
Good Luck.
--
<< Ron >>
Subba <bsubbudu@my-deja.com> wrote in message
news:8cf3e6$cgg$1@nnrp1.deja.com...
> Hello,
>
> I have two AdvFS filesystems A and B as follows:
>
> A:
> root_domain is the domain
> root is the fileset
>
> B:
> root_domain is the domain
> root is the fileset
>
> Both are bootable partitions only. If I boot through any of them (lets
> say A), how do I mount root_domain#root of B on A? Is that possible? I
> think I am asking a basic question, but I don't find any documentation
> regarding this.
>
> Advance thanks for your help !
>
> --
> Subba.
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help on AdvFS
2000-04-05 4:00 Help on AdvFS Subba
2000-04-05 4:00 ` Oisin McGuinness
2000-04-26 4:00 ` rg
@ 2000-05-01 4:00 ` Gopala
2 siblings, 0 replies; 4+ messages in thread
From: Gopala @ 2000-05-01 4:00 UTC (permalink / raw)
Boot in to your favourite Disk. So you will have a local root
filesystem mounted now on /
now get into /etc/fdmns dir
mkdir a new dir which is like.. rootA_domain
cd root_domain
now make a device link to the disk( physical disk ) where your A-Root
is sitting.
eg., cd /etc/fdmns;mkdir rootA_domain;cd rootA_domain;ln -s
/dev/dsk/rz8a rootA
now make a new mount point on the root or anywhere..
mkdir /rootA
mount rootA_domain#rootA /rootA
This shud work, I cant exactly remember how I recovered a crashed
system like this.
In article <8cf3e6$cgg$1@nnrp1.deja.com>,
Subba <bsubbudu@my-deja.com> wrote:
> Hello,
>
> I have two AdvFS filesystems A and B as follows:
>
> A:
> root_domain is the domain
> root is the fileset
>
> B:
> root_domain is the domain
> root is the fileset
>
> Both are bootable partitions only. If I boot through any of them
(lets
> say A), how do I mount root_domain#root of B on A? Is that possible? I
> think I am asking a basic question, but I don't find any documentation
> regarding this.
>
> Advance thanks for your help !
>
> --
> Subba.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
--
Gopala Molakaluri
Michigan
Sent via Deja.com http://www.deja.com/
Before you buy.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-05-01 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-05 4:00 Help on AdvFS Subba
2000-04-05 4:00 ` Oisin McGuinness
2000-04-26 4:00 ` rg
2000-05-01 4:00 ` Gopala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox