Operating System - Tru64 Unix
1752596 Members
5248 Online
108788 Solutions
New Discussion юеВ

Re: How to discover a fileset in a device

 
SOLVED
Go to solution
Ljcneto
Occasional Contributor

How to discover a fileset in a device

The problem is:
i have a disk with some Advfs partitions on it, and i have to discover which are the names of each fileset, in order to mount the filesets. The disk is from another machine and nobody knows how it was mounted before.
Thanks in advance.
Leo
4 REPLIES 4
Srikanth Arunachalam
Trusted Contributor

Re: How to discover a fileset in a device

Hi,

You should be able to get this information from /etc/fstab or you can use sysman menu interface to find out from Storage->LSM Administration.

Please let us know in specific if you want any more information.

voldisk list and
voldg list might give you more information as well.

disklabel ├в r gives you information on the disk.


Thanks,
Srikanth
Ivan Ferreira
Honored Contributor
Solution

Re: How to discover a fileset in a device

If you have, for example, ADVFS file systems in the a, g and h partitions of a disk, you have to:

Create a directory for the domain:

cd /etc/fdmns
mkdir a_partition
mkdir g_partition
mkdir h_parition

Create a link into each dir for the device:

ln -s /dev/disk/dska a_partition/dska
ln -s /dev/disk/dskg a_partition/dskg
ln -s /dev/disk/dskh a_partition/dskh

Display the filesets:

showfsets a_partition
showfsets g_partition
showfsets h_partition

Mount the filesets

mount a_partition# /
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
jim owens_1
Valued Contributor

Re: How to discover a fileset in a device

The command is:

/sbin/advfs/advscan dsk#

Do it without the "-f" fix option first just to see what you have.
Ljcneto
Occasional Contributor

Re: How to discover a fileset in a device

The answer from Ivan Ferreira solved the problem.