NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/56643: problem with restore(8)



The following reply was made to PR bin/56643; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: Christos Zoulas <christos%zoulas.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: bin/56643: problem with restore(8)
Date: Tue, 25 Jan 2022 15:48:25 -0800 (PST)

 Perhaps useful information, maybe not.
 
 Looking at the two problem files with fsdb, nothing obvious jumps
 out; data looks just fine (to me).  (I would be happy to provide
 hexdumps of any relevant blocks if someone would tell me how to
 identify the specific blocks you want to see!)
 
 First file - /var/clamav/main.cld
 
 # fsdb -n -f /dev/rwd0e
 ** /dev/rwd0e (NO WRITE)
 Editing file system `/dev/rwd0e'
 Last Mounted on /var
 current inode: directory
 I=2 MODE=40755 SIZE=512
              MTIME=Jan 18 09:35:13 2022 [344047108 nsec]
              CTIME=Jan 18 09:35:13 2022 [344047108 nsec]
              ATIME=Jan 25 13:55:00 2022 [38619302 nsec]
          BIRTHTIME=Mar 29 21:22:21 2015 [0 nsec]
 OWNER=root GRP=wheel LINKCNT=30 FLAGS=0x0 BLKCNT=0x4 GEN=0x23abf369
 fsdb (inum: 2)> cd clamav
 component `clamav': current inode: directory
 I=137472 MODE=40775 SIZE=512
              MTIME=Mar 30 11:27:41 2021 [551608860 nsec]
              CTIME=Mar 30 11:27:41 2021 [551608860 nsec]
              ATIME=Jan 25 11:19:13 2022 [841890356 nsec]
          BIRTHTIME=Apr  5 19:27:17 2015 [631076165 nsec]
 OWNER=clamav GRP=clamav LINKCNT=2 FLAGS=0x0 BLKCNT=0x4 GEN=0x372c7fe3
 fsdb (inum: 137472)> ls
 slot 0 ino 137472 reclen 12: directory, `.'
 slot 1 ino 2 reclen 168: directory, `..'
 slot 2 ino 137476 reclen 20: regular, `mirrors.dat'
 slot 3 ino 137495 reclen 20: regular, `daily.cld'
 slot 4 ino 137479 reclen 24: regular, `bytecode.cld'
 slot 5 ino 160394 reclen 268: regular, `main.cld'
 fsdb (inum: 137472)> inode 160394
 current inode: regular file
 I=160394 MODE=100644 SIZE=307403264
              MTIME=Nov 25 17:40:45 2019 [167512080 nsec]
              CTIME=Nov 25 17:40:49 2019 [323593359 nsec]
              ATIME=Jan 25 11:29:43 2022 [439450410 nsec]
          BIRTHTIME=Nov 25 17:40:43 2019 [823315522 nsec]
 OWNER=clamav GRP=clamav LINKCNT=1 FLAGS=0x0 BLKCNT=0x92ac0 
 GEN=0x61593aa1
 fsdb (inum: 160394)>
 
 And the second file - /var/dspam/data/paul/paul.css
 
 fsdb (inum: 160394)> inode 2
 current inode: directory
 I=2 MODE=40755 SIZE=512
              MTIME=Jan 18 09:35:13 2022 [344047108 nsec]
              CTIME=Jan 18 09:35:13 2022 [344047108 nsec]
              ATIME=Jan 25 13:55:00 2022 [38619302 nsec]
          BIRTHTIME=Mar 29 21:22:21 2015 [0 nsec]
 OWNER=root GRP=wheel LINKCNT=30 FLAGS=0x0 BLKCNT=0x4 GEN=0x23abf369
 fsdb (inum: 2)> cd dspam/data/paul
 component `dspam': current inode: directory
 I=1580928 MODE=40775 SIZE=512
              MTIME=May 15 14:30:44 2017 [231013797 nsec]
              CTIME=Jan 17 08:24:07 2022 [367337099 nsec]
              ATIME=Jan 25 07:52:10 2022 [672468052 nsec]
          BIRTHTIME=Dec 14 15:14:25 2015 [176410979 nsec]
 OWNER=dspam GRP=www LINKCNT=4 FLAGS=0x0 BLKCNT=0x4 GEN=0x61e635c2
 component `data': current inode: directory
 I=1580930 MODE=40770 SIZE=512
              MTIME=Nov  1 12:10:40 2018 [361447320 nsec]
              CTIME=Nov  1 12:10:40 2018 [361447320 nsec]
              ATIME=Jan 25 07:52:10 2022 [672485395 nsec]
          BIRTHTIME=Dec 18 16:25:23 2015 [573591112 nsec]
 OWNER=dspam GRP=www LINKCNT=4 FLAGS=0x0 BLKCNT=0x4 GEN=0x410d77f8
 component `paul': current inode: directory
 I=1580931 MODE=40770 SIZE=512
              MTIME=Jan 25 00:00:00 2022 [713353241 nsec]
              CTIME=Jan 25 00:00:00 2022 [713353241 nsec]
              ATIME=Jan 25 07:52:10 2022 [672532778 nsec]
          BIRTHTIME=Dec  1 19:31:53 2017 [676514239 nsec]
 OWNER=dspam GRP=www LINKCNT=3 FLAGS=0x0 BLKCNT=0x4 GEN=0x70dd5cd9
 fsdb (inum: 1580931)> ls
 slot 0 ino 1580931 reclen 12: directory, `.'
 slot 1 ino 1580930 reclen 12: directory, `..'
 slot 2 ino 1580932 reclen 20: regular, `paul.lock'
 slot 3 ino 1581110 reclen 20: regular, `paul.css'
 slot 4 ino 1580935 reclen 20: directory, `paul.sig'
 slot 5 ino 1581244 reclen 20: regular, `paul.log'
 slot 6 ino 1581607 reclen 408: regular, `.dspam11362.css'
 fsdb (inum: 1580931)> inode 1581110
 current inode: regular file
 I=1581110 MODE=100660 SIZE=341140464
              MTIME=Jan 25 15:31:56 2022 [270021489 nsec]
              CTIME=Jan 25 15:31:56 2022 [270021489 nsec]
              ATIME=Jan 25 15:31:56 2022 [270021489 nsec]
          BIRTHTIME=Jan 23 00:15:00 2022 [635505469 nsec]
 OWNER=dspam GRP=www LINKCNT=1 FLAGS=0x0 BLKCNT=0xa2c40 GEN=0x301d9073
 fsdb (inum: 1581110)>
 
 
 +--------------------+--------------------------+----------------------+
 | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
 | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
 | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
 | & Network Engineer |                          | pgoyette99%gmail.com@localhost |
 +--------------------+--------------------------+----------------------+
 


Home | Main Index | Thread Index | Old Index