Operating System - Tru64 Unix
1752790 Members
6609 Online
108789 Solutions
New Discussion юеВ

Re: advfs salvage?

 
SOLVED
Go to solution
lothar esser
Advisor

Re: advfs salvage?

Hi Guys,


thanks for the help. Sorry for the delay but a cold knocked me out for 3 days.

Before I do something rash allow me to spell out what I think you are suggesting - because it is not entirely clear to me:

# Remove the strange entry and the other one:

cd /etc/fdmns/tera1_dmn

rm dxlab_home_verify_BnIVIL
rm dsk1c

ln -s /dev/disk/dsk1c .

#----------------------------------!

Is this dot the right interpretation of your suggetion? Is this all or do I need to create a link to dxlab_home ?

Sorry about the @* notation, I got used to it though. Next time I use \ls !

Thanks,

Lothar
Venkatesh BL
Honored Contributor

Re: advfs salvage?

> ln -s /dev/disk/dsk1c .

#----------------------------------!

There is no 'dot'.

Give the command as:
# ln -s /dev/disk/dsk1c dsk1c

This will recreate the device link in the directory.

Did you try running fixfdmn -n?
lothar esser
Advisor

Re: advfs salvage?

Hi,

you might have noticed that Mr. Leadbeater's suggested command fell short of the 2nd argument to the ln command and I assumed that a dot as 2nd argument should do it.

So I did remove dxlab_home_verify_BnIVIL which apparently was a directory but I could do that of course with rmdir.
I also removed dsk1c (link) and recreated it as you suggested.
However, I still cannot mount the disk.
Mount returns an I/O error.

Hmm, did I have to recreate dxlab_home also and if so how??

You asked about fixdmn -n and it returned the following:

fixfdmn: Can't open device '/dev/disk/dsk1c'.
fixfdmn: Function not implemented
fixfdmn: No valid volumes found in domain 'tera1_dmn'.

fixfdmn found errors on disk it could not fix.
This domain should be restored from backup
tapes, or you can use the salvage tool to
pull what files it can find off of this domain.


Does this help?

Lothar
Rob Leadbeater
Honored Contributor

Re: advfs salvage?

Hi,

I didn't put the second argument to the ln command, as you don't really need it.

Can you post the output of "ls -l /etc/fdmns/tera1_dmn" now that you've recreated things so that we can check that everything is as it should be.

Cheers,

Rob
lothar esser
Advisor

Re: advfs salvage?

Hi,

did not know that ln -s is okay without 2nd args. Thanks.

The out put of your ls command this time is:

$ ls -l /etc/fdmns/tera1_dmn

total 0
lrwxrwxrwx 1 root system 15 Nov 23 10:11 dsk1c@ -> /dev/disk/dsk1c*
#
Venkatesh BL
Honored Contributor

Re: advfs salvage?

> fixfdmn: Can't open device '/dev/disk/dsk1c'.

Can you please post the o/p of 'disklabel dsk1c'?
lothar esser
Advisor

Re: advfs salvage?

The output of disklabel dsk1c is

# disklabel dsk1c
# /dev/rdisk/dsk1c:
type: SCSI
disk: III
label: tera1_dmn
flags:
bytes/sector: 512
sectors/track: 128
tracks/cylinder: 128
sectors/cylinder: 16384
cylinders: 11975
sectors/unit: 2343682048
rpm: 5410
interleave: 1
trackskew: 11
cylinderskew: 20
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0

8 partitions:
# size offset fstype fsize bsize cpg # ~Cyl values
a: 131072 0 unused 0 0 # 0 - 7
b: 262144 131072 unused 0 0 # 8 - 23
c: 2343682048 0 AdvFS # 0 - 143046
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: 1171644416 393216 unused 0 0 # 24 - 71535*
h: 1171644416 1172037632 unused 0 0 # 71535*- 143046
#

lothar esser
Advisor

Re: advfs salvage?

So, is it hopeless then ?

Thanks for all your replies. I do appreciate your helping me.

Lothar
Rob Leadbeater
Honored Contributor

Re: advfs salvage?

Hi Lothar,

I'm not sure there's much else that can be done from the OS level.

What status are things in on the JetStor ?
Maybe you could ask the vendor of that. A quick look at their website suggests that the unit is supported on Tru64, so they may have some more options...

Cheers,

Rob
Venkatesh BL
Honored Contributor

Re: advfs salvage?

> fixfdmn: Can't open device '/dev/disk/dsk1c'.
> fixfdmn: Function not implemented
> fixfdmn: No valid volumes found in domain 'tera1_dmn'.

Sorry, I don't have a tru64 box now to check the fixfdmn behaviour.

Could you try running 'advfsscan' on the device file (dsklc) instead on the domain?

If you have support contract, you could contact the support center for swift response.