Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Advfs I/O error [5] Tru64 version 4.0D
@ 2001-06-13  8:36 Wee
  2001-06-13 16:43 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2001-06-14  4:10 ` Mark Garrett
  0 siblings, 2 replies; 3+ messages in thread
From: Wee @ 2001-06-13  8:36 UTC (permalink / raw)


I have got this error in my /var/adm/messages file.



AdvFS I/O error:

/dev/rz8a

Tag: 0xfffffffa.0000

Page: 31

Block: 9056

Block count: 16

Type of operation: Read

Error: 5



The rz8a disk is my root_domain disk, and its a single one. No mirrors.

I have runned the verify command on the root_domain and to tell me witch
files is wrong



./verify -r root_domain



+++ Domain verification +++



Domain Id 31ef6004.00067b7e



Checking disks ...



Checking storage allocated on disk /dev/rz8a



+++ Fileset verification +++



+++ Fileset / +++



Checking frag file headers ...



Checking frag file type lists ...



Scanning directories and files ...

verify: unable to get info for file <//dev/lat>; [5] I/O error

verify: unable to get info for file <//sbin/rc0.d>; [5] I/O error

verify: unable to get info for file <//sbin/rc2.d/K20cron>; [5] I/O error

verify: unable to get info for file <//sbin/rc2.d/K30sendmail>; [5] I/O
error

verify: unable to get info for file <//sbin/rc2.d/K36presto>; [5] I/O error

verify: unable to get info for file <//sbin/rc2.d/K50syslog>; [5] I/O error

verify: unable to get info for file <//sbin/rc2.d/K52write>; [5] I/O error



Scanned 190 directories.



Scanning tags ...

     400

Scanned a total of 470 tags.



Searching for lost files ...

verify: bad link count for ino/tag 6

verify: link count = 8, expected 9

verify: bad link count for ino/tag 15

verify: link count = 8, expected 9

     400

Found 1605 lost files out of 2075 checked.



Found 2 files with incorrect link count out of 2075 checked.





My question is if there is anything I can do to correct this error or do I
have to replace the disk and do a restore from backup.

Thank you in advance.







^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Advfs I/O error [5] Tru64 version 4.0D
  2001-06-13  8:36 Advfs I/O error [5] Tru64 version 4.0D Wee
@ 2001-06-13 16:43 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  2001-06-14  4:10 ` Mark Garrett
  1 sibling, 0 replies; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-06-13 16:43 UTC (permalink / raw)


Lose the double spacing please...

In article <4AFV6.109$nr7.370025487@news.euroconnect.net>, "Wee" <wolfier@hotmail.com> writes:
>From: "Wee" <wolfier@hotmail.com>
>Newsgroups: comp.unix.tru64
>Subject: Advfs I/O error [5] Tru64 version 4.0D
>
>I have got this error in my /var/adm/messages file.
>
>AdvFS I/O error:
>/dev/rz8a
>Tag: 0xfffffffa.0000
>Page: 31
>Block: 9056
>Block count: 16
>Type of operation: Read
>Error: 5

A single read error.  Probably just a bad block.  Since this is a
SCSI disk you can use scu(8) to send a "reassign LBA" command to
the disk.  If it supports it, that will at least replace the bad
block with a good one.  It should try pretty hard to get good
data, but don't count on it.
>
>The rz8a disk is my root_domain disk, and its a single one. No mirrors.
>
>Scanning directories and files ...
>verify: unable to get info for file <//dev/lat>; [5] I/O error
>verify: unable to get info for file <//sbin/rc0.d>; [5] I/O error
>verify: unable to get info for file <//sbin/rc2.d/K20cron>; [5] I/O error
>verify: unable to get info for file <//sbin/rc2.d/K30sendmail>; [5] I/O
>error
>verify: unable to get info for file <//sbin/rc2.d/K36presto>; [5] I/O error
>verify: unable to get info for file <//sbin/rc2.d/K50syslog>; [5] I/O error
>verify: unable to get info for file <//sbin/rc2.d/K52write>; [5] I/O error
>
Since the problem touches a bunch of files, the block probably contains
metadata.  The AdvFS admin. guide may have suggestions for how to
handle the problem.  It is on the Associated Product CDROM that has
the AdvFS Utilities. 
>
>
>My question is if there is anything I can do to correct this error or do I
>have to replace the disk and do a restore from backup.

A single bad block, is usually not enough of a problem to warrant
replacing the whole disk.  You can use scu(8) command "verify" or
dd(1) to look for more bad blocks.  If that's the only one, replace
it and start fixing the file system.

>
>Thank you in advance.

--
Alan Rollow				alan@nabeth.cxo.dec.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Advfs I/O error [5] Tru64 version 4.0D
  2001-06-13  8:36 Advfs I/O error [5] Tru64 version 4.0D Wee
  2001-06-13 16:43 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2001-06-14  4:10 ` Mark Garrett
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Garrett @ 2001-06-14  4:10 UTC (permalink / raw)


in article 4AFV6.109$nr7.370025487@news.euroconnect.net, Wee at
wolfier@hotmail.com wrote on 13/06/2001 18:36:

> I have got this error in my /var/adm/messages file.
> 
> 
> 
> AdvFS I/O error:
> 
> /dev/rz8a
> 
> Tag: 0xfffffffa.0000
> 
> Page: 31
> 
> Block: 9056
> 
> Block count: 16
> 
> Type of operation: Read
> 
> Error: 5
> 
> 
> 
> The rz8a disk is my root_domain disk, and its a single one. No mirrors.
> 
> I have runned the verify command on the root_domain and to tell me witch
> files is wrong
> 
> 
> 
> ./verify -r root_domain
> 
> 
> 
> +++ Domain verification +++
> 
> 
> 
> Domain Id 31ef6004.00067b7e
> 
> 
> 
> Checking disks ...
> 
> 
> 
> Checking storage allocated on disk /dev/rz8a
> 
> 
> 
> +++ Fileset verification +++
> 
> 
> 
> +++ Fileset / +++
> 
> 
> 
> Checking frag file headers ...
> 
> 
> 
> Checking frag file type lists ...
> 
> 
> 
> Scanning directories and files ...
> 
> verify: unable to get info for file <//dev/lat>; [5] I/O error
> 
> verify: unable to get info for file <//sbin/rc0.d>; [5] I/O error
> 
> verify: unable to get info for file <//sbin/rc2.d/K20cron>; [5] I/O error
> 
> verify: unable to get info for file <//sbin/rc2.d/K30sendmail>; [5] I/O
> error
> 
> verify: unable to get info for file <//sbin/rc2.d/K36presto>; [5] I/O error
> 
> verify: unable to get info for file <//sbin/rc2.d/K50syslog>; [5] I/O error
> 
> verify: unable to get info for file <//sbin/rc2.d/K52write>; [5] I/O error
> 
> 
> 
> Scanned 190 directories.
> 
> 
> 
> Scanning tags ...
> 
> 400
> 
> Scanned a total of 470 tags.
> 
> 
> 
> Searching for lost files ...
> 
> verify: bad link count for ino/tag 6
> 
> verify: link count = 8, expected 9
> 
> verify: bad link count for ino/tag 15
> 
> verify: link count = 8, expected 9
> 
> 400
> 
> Found 1605 lost files out of 2075 checked.
> 
> 
> 
> Found 2 files with incorrect link count out of 2075 checked.
> 
> 
> 
> 
> 
> My question is if there is anything I can do to correct this error or do I
> have to replace the disk and do a restore from backup.
> 

This doesn't look good. I suggest you have a look at /sbin/advfs/salvage and
get your data off ASAP as best you can. Then follow Alan's and other advise
about reformating/recovering the disk. Correct me if I'm wrong Alan just
rewriting to a SCSI disk it should revector  the bad block on write yes ?


 Cheers
        Mark ;)



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-14  4:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-13  8:36 Advfs I/O error [5] Tru64 version 4.0D Wee
2001-06-13 16:43 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-06-14  4:10 ` Mark Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox