Operating System - Tru64 Unix
1752595 Members
3355 Online
108788 Solutions
New Discussion юеВ

Re: Mounting disk on Tru64 system

 
SOLVED
Go to solution
Not applicable

Mounting disk on Tru64 system

Hi All,

I want to mount a SCSI disk on Tru64.
I am able to see the disk using
hwmgr -show scsi command, but i don't know the domain name and fileset for the disk.
The disk contains a AdvFS filesystem.

Can anyone help me how to mount the disk.

Regards,
ajaydec
8 REPLIES 8
Venkatesh BL
Honored Contributor

Re: Mounting disk on Tru64 system

I think you can use '/sbin/advfs/advscan' command on the disk name for this. Check the manpage for details.
Not applicable

Re: Mounting disk on Tru64 system

# /sbin/advfs/advscan dsk3

Scanning devices /dev/rdisk/dsk3

Found domains:

*unknown*
Domain Id 4600e1a4.000541d0
Created Wed Mar 21 13:11:24 2007

Domain volumes 1
/etc/fdmns links 0

Actual partitions found:
dsk3c*
*unknown*
Domain Id 3776e099.00086640
Created Mon Jun 28 08:10:25 1999

Domain volumes 1
/etc/fdmns links 0

Actual partitions found:
dsk3g*


How to mount it?
Venkatesh BL
Honored Contributor

Re: Mounting disk on Tru64 system

Can you post the output of 'disklabel dsk3c'?
Not applicable

Re: Mounting disk on Tru64 system

Hi Venkatesh,

Here is the output:

# disklabel dsk3c
# /dev/rdisk/dsk3c:
type: SCSI
disk: BB00911CA0
label:
flags:
bytes/sector: 512
sectors/track: 168
tracks/cylinder: 20
sectors/cylinder: 3360
cylinders: 5273
sectors/unit: 17773524
rpm: 7207
interleave: 1
trackskew: 48
cylinderskew: 52
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0

8 partitions:
# size offset fstype fsize bsize cpg # ~Cyl values
a: 524288 0 unused 0 0 # 0 - 156*
b: 12582912 524288 unused 0 0 # 156*- 3900*
c: 17773524 0 AdvFS # 0 - 5289*
d: 0 0 unused 0 0 # 0 - 0
e: 0 0 unused 0 0 # 0 - 0
f: 0 0 unused 0 0 # 0 - 0
g: 4194304 13107200 unused 0 0 # 3900*- 5149*
h: 8690154 9083370 unused 0 0 # 2703*- 5289*


Regards,
-ajaydec
Venkatesh BL
Honored Contributor
Solution

Re: Mounting disk on Tru64 system

Ok, if you are sure that this disk alone constituted a AdvFS domain, you could try the following:

1) # cd /etc/fdmns/
2) # mkdir test_dom ; this would be the name of the advfs domain
3) # cd test_dom
4) ln -s /dev/disk/dsk3c

Now try "showfsets -b test_dom"

If the previous steps were successful, you should be seeing one or more fileset names as output.

If say you get a fileset name as 'xyz', then you could mount it on to an existing mount directory (say., /mnt) using:
# mount test_dom#xyz /mnt

Let me know how it goes.
Not applicable

Re: Mounting disk on Tru64 system

It doesn't work :(

I am getting following error:

# showfsets -b test_dom
showfsets: can't show fileset info for domain 'test_dom'
showfsets: error = Device busy
Venkatesh BL
Honored Contributor

Re: Mounting disk on Tru64 system

That error indicate to me that you are on the wrong disk. Are you sure that this disk is not part of an already mounted advfs file system?

Can you:
1) # cd /etc/fdmns
2) # ls -R

and post the output?
Kapil Jha
Honored Contributor

Re: Mounting disk on Tru64 system

if u are able to see disk in
#hwmgr v d
that means disk is available.
second thing if u want to find out domain
#ls -lRt /etc/fdmns
check the link for dsk3.
it would show you the domain and fileset.
If nothing bad was done is disk you would be able to mount it easily.
BR,
Kapil+
I am in this small bowl, I wane see the real world......