* Disk Problems in ADVFS
@ 1998-12-15 5:00 Vitor Beires Nogueira
1998-12-16 5:00 ` Nikola Milutinovic
0 siblings, 1 reply; 5+ messages in thread
From: Vitor Beires Nogueira @ 1998-12-15 5:00 UTC (permalink / raw)
Hi,
recently I discovered that I'm supposed to administer and
Digital Dec 3000 with OS OSF1 and file system ADVFS.
All went well except for the fact that the machine has crashed this
weekend.
I managed to spot the problem:
one of the SCSI disks seems to give reading errors (cam_error).
The big problem is that disk that disk has some volumes that belong to a
very important domain (domain users that contains filesets /home and
/var/spool/mail).
How can I resolve this situation ?
Is there a way to bypass those volumes and losing only some
information ? (I
lost the remvol command also) ? This is probably the last thing I should
try, right ?
I tried to copy that problematic disk into another (with identical
geometry) using Linux dd but that
doesn't seem to work either because Linux get some reading errors.
Is there any other way to copy that disk in a way that it can
recover more info ?
Any help would be appreciated !!!!
Sorry to bother and Thanks,
Vitor Nogueira
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Disk Problems in ADVFS
1998-12-15 5:00 Disk Problems in ADVFS Vitor Beires Nogueira
@ 1998-12-16 5:00 ` Nikola Milutinovic
1998-12-16 5:00 ` Roy Smith
1998-12-23 5:00 ` Pawel Brzeski
0 siblings, 2 replies; 5+ messages in thread
From: Nikola Milutinovic @ 1998-12-16 5:00 UTC (permalink / raw)
Vitor Beires Nogueira wrote:
>
> Hi,
>
> recently I discovered that I'm supposed to administer and
> Digital Dec 3000 with OS OSF1 and file system ADVFS.
> All went well except for the fact that the machine has crashed this
> weekend.
>
> I managed to spot the problem:
> one of the SCSI disks seems to give reading errors (cam_error).
> The big problem is that disk that disk has some volumes that belong to a
> very important domain (domain users that contains filesets /home and
> /var/spool/mail).
Trouble. AdvFS is relatively immune to power failures, due to it's
Transaction Logging feature. But hardware failures have a tendency to
kill it.
> Is there a way to bypass those volumes and losing only some
> information ? (I
> lost the remvol command also) ? This is probably the last thing I should
> try, right ?
rmvol is supposed to work on a non damaged hardware. Even if you get it
somehow and do a rmvol it is very likely to crash again.
>
> I tried to copy that problematic disk into another (with identical
> geometry) using Linux dd but that
> doesn't seem to work either because Linux get some reading errors.
> Is there any other way to copy that disk in a way that it can
> recover more info ?
A read failure is a read failure. No "miracle program" can assist you on
that situation. You could try to plug that new disk in anyway. It is
working, no read errors, so it could possibly mount. And then the best
thing to go for is "vdump". Backup that FS, then you could try restoring
it to yet another disk and if that goes OK, you have a functioning File
System. If there are errors while backing up, try to ignore them.
Oh, and BTW, have you checked the cables? I've seen weird thins
happening, like the cable falling into the central unit cooling fan on
AS 2100.
Nix.
--
... Hardware forever ...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disk Problems in ADVFS
1998-12-16 5:00 ` Nikola Milutinovic
@ 1998-12-16 5:00 ` Roy Smith
1998-12-17 5:00 ` Nikola Milutinovic
1998-12-23 5:00 ` Pawel Brzeski
1 sibling, 1 reply; 5+ messages in thread
From: Roy Smith @ 1998-12-16 5:00 UTC (permalink / raw)
Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu> wrote:
> > Is there any other way to copy that disk in a way that it can
> > recover more info ?
>
> A read failure is a read failure. No "miracle program" can assist you on
> that situation.
I once had a disk develop bad sectors and it was critical to recover the
data on the disk. Turns out the read errors were intermittent, i.e. if
you kept re-trying each bad block, eventually you would manage to get good
data off it. I wrote a little C program which just opened the raw disk
and kept trying to read each block until it didn't get an error, then
wrote that block out to some other drive. Took a long time, but
eventually it managed to read the whole disk.
This was on an SMD drive. Don't know enough about SCSI drives to know if
the same technique might work.
--
Roy Smith <roy@popmail.med.nyu.edu>
New York University School of Medicine
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disk Problems in ADVFS
1998-12-16 5:00 ` Roy Smith
@ 1998-12-17 5:00 ` Nikola Milutinovic
0 siblings, 0 replies; 5+ messages in thread
From: Nikola Milutinovic @ 1998-12-17 5:00 UTC (permalink / raw)
Roy Smith wrote:
>
> Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu> wrote:
> > > Is there any other way to copy that disk in a way that it can
> > > recover more info ?
> >
> > A read failure is a read failure. No "miracle program" can assist you on
> > that situation.
>
> I once had a disk develop bad sectors and it was critical to recover the
> data on the disk. Turns out the read errors were intermittent, i.e. if
> you kept re-trying each bad block, eventually you would manage to get good
> data off it. I wrote a little C program which just opened the raw disk
> and kept trying to read each block until it didn't get an error, then
> wrote that block out to some other drive. Took a long time, but
> eventually it managed to read the whole disk.
>
> This was on an SMD drive. Don't know enough about SCSI drives to know if
> the same technique might work.
SCSI has the ability to automatically migrate data from bad blocks. So,
you try and try and try and then you get a read with no errors. How do
you know its OK? It might be just "a very close thing". On the other
hand AdvFS is very sensitive to hardware errors, since it relies on its
logging feature.
Nix.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Disk Problems in ADVFS
1998-12-16 5:00 ` Nikola Milutinovic
1998-12-16 5:00 ` Roy Smith
@ 1998-12-23 5:00 ` Pawel Brzeski
1 sibling, 0 replies; 5+ messages in thread
From: Pawel Brzeski @ 1998-12-23 5:00 UTC (permalink / raw)
In comp.unix.osf.osf1 Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu> wrote:
> Vitor Beires Nogueira wrote:
>> Hi,
>> recently I discovered that I'm supposed to administer and
>> Digital Dec 3000 with OS OSF1 and file system ADVFS. [...]
Hi, which version of DU do you have? There are following possibilities:
1. you can try /sbin/advfs/verify or even verify -F - this command try to
mount advfs file system as ufs, than recovery is necessary.
2. /sbin/advfs/vfile to see the contents of unmounted domain, who knows how
to use it? rather difficult.
3. The last way is /sbin/advfs/salvage, which recover files from damaged
domains, unmounted. Be careful with this command. This is in du 4.0d, but
it works also in du 4.0b (I tried).
good luck
Pawel Brzeski
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-12-23 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-15 5:00 Disk Problems in ADVFS Vitor Beires Nogueira
1998-12-16 5:00 ` Nikola Milutinovic
1998-12-16 5:00 ` Roy Smith
1998-12-17 5:00 ` Nikola Milutinovic
1998-12-23 5:00 ` Pawel Brzeski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox