From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,836bd35a13dd54b1 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,836bd35a13dd54b1 X-Google-Attributes: gidfee84,public From: havia@cc.helsinki.fi (Jyrki Havia) Subject: Re: Advfs problems Date: 1997/07/26 Message-ID: <5rdl6o$1sh@kontti.Helsinki.FI>#1/1 X-Deja-AN: 259345607 References: <33b178c8.0@amhnt2.amherst.edu> <5r3bhm$4ir@alca.helsinki.fi> <5r8d9v$ini@alca.helsinki.fi> Organization: University of Helsinki Newsgroups: comp.unix.osf.osf1,comp.sys.dec This is a long frustrated message... vhalkka@cc.helsinki.fi writes: > We have now IPMT, and we *don't* have advfs anymore, it took more > than 24 hours to move home directories from advfs to ufs. So far, the only idea we have for why this all happened is, that on may 25 we swithed to ATM+LANE (befere we run ATM+CIP, but that was just too unstable, somebody of Fore, GigaSwitch or Alpha just botched the protocol, and all hung). First disk crash was Jun 5, second two weeks on that, third a week, then week, days and lastly only hours, like there were something really rotting the file system. All the crashes led to a full restoration of an AdvFS file domain from tape. The panic messages were usually panic (cpu 0): alloc_mcell: bad mcell_free list but some panic (cpu 0): bs_frag_alloc: invalid frag group and panic (cpu 0): ADVFS INTERNAL ERROR: _dealloc_bits_page: can't clear a bit twice and panic (cpu 0): ftx_bfmeta_rec_redo: _got bmt page N1 instead of N2 were also seen. At first, the crashes were during vdump or defragment, but on the last ocassion the current process was process 0 (kernel idle), and happened at morning and second last just after a full level 0 vdump (yeah, I LOVE DLT tapes, all 38GB in nice small package) had completed just before midnight. The worst was, usually the fs was so bad, that merely mounting it crashed the machine, sometimes a rmvol would fix it for a while, sometimes a read-only mounting and full dump were possible, usually verify crashed the macine. On two ocassions the same happened to our mail hub too, and on second, we switced away from AdvFS to ufs. Why on earth verify checks the file system trough the kernel??? And it seems to us now, that a fsck-like utility for AdvFS is a MUST, as it seems, that as SOMETHING may corrupt the fs, and if the only way to recover from that is full restore... It is a GOOD luck, that it is summer now, has this happened on April or November, our 20,000+ users would have been less than happy of the situation. The machine is 1000/266, 256MB, 2x(KPZSC, 9*RZ29M, one disk for hot spare and 8 disk for RAID8), macine is solely an NFS server for 14 clients. The mail hub is 1000A/400, KPZSC, 3*RZ29M. There propably is no harware error, because on the end the "rotting" was seen on /var, whis is directly on motherboard SCSI, not on RAID. > We tried to copy data RAID->RAID, but it was faster to restore the data from > DLT to the RAIDs. Go figure. Copying 18GB from one KPZSC to another by vdump|vrestore took about 13 hours, and restoring the other 18GB to the other raid from tape took only 7 hours. I guess, there were some kind of syncronization problems in the vdump|vrestore pipe, smaller block size on vdump may have speeded the copying. Restoring speed to AdvFS from tape have been ab. 1/3 better (1 MB/s) than to ufs. vdump raid1 to tape copy raid0 to raid1 vrestore raid0 from tape (of original raid1 data). > advfs has nice features.. we would like to get it back. Indeed! Fortunately our DEC had April consolidated CD's, so we were able to install Networker 4.2C, and take it on use (We acquired licenced ab. a month ago, and were just waiting the CD's to arrive). Using dump on 18GB of live filesystem would have been asking for a disaster. (For some reason our April consolidated CD has not arrived yet, but it usually is many months late). -- Jyrki.Havia@Helsinki.FI, University of Helsinki, Computing Centre