From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e0b91d42871cb62e,start X-Google-Attributes: gidfee84,public From: Thomas Goessi Subject: Wrong Tag in Advfs Date: 1999/03/09 Message-ID: <36E51C5F.F21AC454@urgentmail.com>#1/1 X-Deja-AN: 452957572 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Trace: 9 Mar 1999 14:04:31 +0100, casals.ee.ethz.ch Organization: Swiss Federal Institute of Technology (ETHZ) MIME-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hi I've a strange problem with advfs: If I want to defrag the advfs usr_domain I get the following errors: defragment: Error getting /usr/.tags/0x2531 0x8001 stats defragment: Error = [13] Permission denied defragment: Can't defragment domain 'usr_domain' Then the whole /usr domain is unreadable. If I shutdown I get the following message: Domain#Fileset usr_domain#usr Mounted on: /usr Vomlume: /dev/rz16g Tag: 0x000000005:8001 Page: 0 Block: 1149884 Block Count: 32 Type of Operation: Read Error: 5 To obtain the name of the file on which the error occurred, type the command /sbin/advfs/tag2name /usr/.tags/5 I did this command, who gave me the file. I wanted to delete this file and after then to restore it from the backup, but if I want to delete the file, I get 'Permission denied' So I booted in single mode and runned /sbin/advfs/verify -f usr_domain I got: +++ Domain verification +++ Domain Id 35bd8fbd.0000cf8e Checking disks ... Checking storage allocated on disk /dev/rz16g check_rec: unknown record type disk: 1, mcell id (page.cell): 702.27 record type - 111 check_mcell_recs: record extends past end of mcell disk: 1, mcell id (page.cell): 702.27 record #: 3 record type: 111 record size: 21293 Setting record type to nil. Setting record size to 4. Checking mcell list ... Checking mcell position field ... Checking tag directories ... check_tagdir_page: bad allocated tag count set tag: -2.0 (0xfffffffe.0x00000000) tag: 1.32769 (0x00000001.0x00008001) tag directory page: 29 real count: 999, expected count: 998 check_tagdir_page: bad free tag count set tag: -2.0 (0xfffffffe.0x00000000) tag: 1.32769 (0x00000001.0x00008001) tag directory page: 29 real count: 23, expected count: 24 check_one_tagdir: bad free tag count set tag: -2.0 (0xfffffffe.0x00000000) tag: 1.32769 (0x00000001.0x00008001) real count: 1554, expected count: 1555 +++ Fileset verification +++ +++ Fileset usr +++ Checking frag file headers ... Checking frag file type lists ... Scanning directories and files ... 39100 Scanning tags ... 36200 Searching for lost files ... 36200 Then i thought, this has solved the problem, but I cannot solve this problem. I cannot delete the wrong file and also not the tag 5. What can I do to fix the problem? Thank you Tom