tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Summary: advfs problems
@ 1998-09-01 12:37 Bill Bergman
  0 siblings, 0 replies; 5+ messages in thread
From: Bill Bergman @ 1998-09-01 12:37 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to Dr. Tom Blinn for the following:


If you can, unmount all the filesets in the domain on the failed volumes.
If you can't, you'll have to reboot -- first remove the entries for each of
the filesets in /etc/fstab (or comment them out).  You only need to do this
if you are going to reboot.

Once the filesets are unmounted, remove the entire directory in /etc/fdmns
that corresponds to the failed domain.  Use rm -rf to do this; you want to
remove the entire evidence the domain existed.

Then physically remove the failed disk or disks and install the good disk
you will use.

Then use disklabel to label the disk and mkfdmn to recreate the domain on
the
new disk, then use mkfset to recreate the filesets.  Then mount the
filesets
and use vrestore to restore the files.


>>Help...
>>
>>Last week the rz28 in a single volume advfs domain began to fail.  My
>>original plan was to add another volume to the domain, balance the load,
>>and then remove the original disk from the domain.  The plan worked fine
>>until I tried removing the original disk from the domain.  The rmvol
>>utility failed.  I called DEC and they had me run a utility,
>>/usr/field/msfsck, to repair the file system.  It ran for about 6 hours.
>>After it completed, I again tried to remove the original volume.  The
rmvol
>>utility failed again.  At this point I tried to remove the new volume
from
>>the domain.  This time rmvol ran all weekend, logging cpu time, but did
not
>>complete.  The volume is still there.  I have a backup tape and a third
>>disk -- a brand new disk.  Can I safely down the system, remove both
disks,
>>install the new disk as the original rz1 drive, and run vrestore?  I know
I
>>have to remove the link to the second volume in the domain in /etc/fdmns
>>and label the new disk before I run the vrestore utility.  Do I need to
>>comment out the line in /etc/fstab that mounts the advfs while I am
>>replacing the disk?  My question is what do I have to do and in what
order?
>>The other file systems are functioning fine and I don't want to
>>accidentally screw them up.  I also need to minimize down time.  Any help
>>from admins more familiar with advfs would be greatly appreciated.




Bill Bergman
Westinghouse Communications
412-247-6206
wrb@wcsmail.com

^ permalink raw reply	[flat|nested] 5+ messages in thread
* SUMMARY: Advfs problems
@ 2000-04-20 16:03 Manuel Bujan
  0 siblings, 0 replies; 5+ messages in thread
From: Manuel Bujan @ 2000-04-20 16:03 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 792 bytes --]

 The problem was solved using this advice from Alan.
 The salvage utility recover every things, but i got 2000 files largers than
they were previously. In  a whole sense, the machine is working good enough,
and i believe that defragment utility will solve this problem.
If something new i will tell  everybody.

bye
Buj�n


> The file system seems corrupted beyond the that the online
> repair tools can fix, since they also trigger a domain or
> system panic.  Since there aren't any offline repair tools
> that I know of, about the only choice is:

>  1.  Use salvage to recover whatever files it can find.
>  2.  Recreate the domain and filesets and restore from
>   the most current backup.
>  3.  If anything that salvage was able to recover is more
>  recent than the backup, use it.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* SUMMARY: advfs problems
@ 2003-02-03 13:30 Rudolf Gabler
  0 siblings, 0 replies; 5+ messages in thread
From: Rudolf Gabler @ 2003-02-03 13:30 UTC (permalink / raw)


Thank you to all who responded,

Thomas Sjolshagen from HP hit the nail:

/sbin/advfs/fixfdmn usr_domain

did the job.

Best regards,

Rudi Gabler
> Hi managers,
>
> Im running 5.1a and tried to replace my usr_domain with a bigger disk.
For
> that I did a
>     addvol /dev/disk/dsk4c usr_domain
> and continued with a
>     rmvol /dev/disk/dsk2c.
> The rmvol didnt work because the system claimed that it cant transfer
> metadata to dsk4c (I surely have some SCSI problems). I ended up with a
>     rmvol -f /dev/disk/dsk4c
> to get rid of the new disk (a rmvol without the -f flag didnt work;
> showfdmn usr_domain showed no blocks used by dsk4c and log to dsk2c). I
> applied also a
>     chvol -A /dev/disk/dsk2c
> after that. In /etc/fdmns/usr_domain there is only a link to dsk2c and
the
> usr file system was acessible (before reboot).
> Now after a reboot bcheckrc claims, that usr_domain expects only 0
volumes
> but there is one link in /etc/fdmns/usr_domain. If I try a
>     advscan -r dsk2
> it creates a /etc/fdmns/domain_dsk2c but if I try to mount some fileset
I
> also get the 0 volumes error message.
>
> How can I repair the filesystem?
>





^ permalink raw reply	[flat|nested] 5+ messages in thread
* SUMMARY: AdvFS problems
@ 2003-04-08 23:04 Bryan Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: Bryan Dunlap @ 2003-04-08 23:04 UTC (permalink / raw)


Many thanks to all the helpful folks on the list, including 

Alan Rollow
Dr Thomas Blinn
Hines, Bruce D
Brusche, Johan
Chris Bryant

No doubt others of you replied, but I haven't seen the messages
because the host is also our mail server, and I've had it down moving
the filesets to other disks today.

The question was:

   I'm having problems on a fileserver, Digital Unix 4.0E on an Alphaserver
   2100.  Started Sunday in the early morning hours, happened again twice
   Monday night/Tuesday morning.  Many errors similar to the
   following:

     vmunix: AdvFS I/O error:
     vmunix:     Volume: /dev/rz16c
     vmunix:     Tag: 0xfffffffa.0000
     vmunix:     Page: 8404
     vmunix:     Block: 147088
     vmunix:     Block count: 16
     vmunix:     Type of operation: Read
     vmunix:     Error: 5

   The volume, page and block vary but repeat; all are error 5 and nearly all
   the operations are read.  The three volumes are members of the same domain
   (but all domains effectively become inaccessible).

   Is this likely a disk hardware problem?  Perhaps the domain needs to be
   rebuilt?  Any advice welcome.

Use of the commands

   /sbin/advfs/verify
   uerf -R -r 199 -o full -f /var/adm/binary.errlog > errs.txt

was most helpful.  verify showed errors on 2 of about 20 filesets in
the domain; it would not successfully repair them.  The uerf command
showed a large number of soft errors on one volume in the domain, and
a handful of hard errors.  The disk is definitely failing.  Things
were still stable enough to copy the filesets to new domains on newer
drives with vdump/vrestore.  About 3 SCSI errors were reported during
the copy  of ~53 GB.

	==BD


^ permalink raw reply	[flat|nested] 5+ messages in thread
* AdvFs problems
@ 2003-08-18  7:42 Colin Bull
  2003-08-20  8:35 ` SUMMARY: " Colin Bull
  0 siblings, 1 reply; 5+ messages in thread
From: Colin Bull @ 2003-08-18  7:42 UTC (permalink / raw)


Tru64 5.1A

We have a 2 node cluster on a HSG80 SAN. On Saturday I noticed an overnight
batch run
 on Serv1 had only done the first half of job. When starting to check I
found an
Advfs file system on domain devphy gave an I/O error.

I rebooted and the domain disappeared from the list of domains on that
server. The
other server stills shows it.
The domain is devphy and fileset dba, which is system wide.

serv1# /sbin/showfdmn devphy
showfdmn: unable to get info for domain 'devphy'

On hunting around, there is also a CDSL that gives an I/O error on serv2 ,
yet is OK on serv1. But I cannot cd to the CDSL directory on either server.
The parent
directory does not exist. I have tried to run fixfdmn on serv2 and get the
response -

Can't fix domain with mounted filesets
# umount /usr/informix/export
/usr/cluster/members/member2/informix/export: No such device

Any suggestions for next move ?

Incidentally, we are not in USA, and have not had any power cuts.

Colin Bull
c.bull@videonetworks.com



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

end of thread, other threads:[~2003-08-20  8:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-01 12:37 Summary: advfs problems Bill Bergman
  -- strict thread matches above, loose matches on Subject: below --
2000-04-20 16:03 SUMMARY: Advfs problems Manuel Bujan
2003-02-03 13:30 SUMMARY: advfs problems Rudolf Gabler
2003-04-08 23:04 SUMMARY: AdvFS problems Bryan Dunlap
2003-08-18  7:42 AdvFs problems Colin Bull
2003-08-20  8:35 ` SUMMARY: " Colin Bull

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