DragonFly BSD
DragonFly users List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: HAMMER: WARNING: Missing inode for dirent

From: Damian Lubosch <dl@xxxxxxxx>
Date: Fri, 1 Oct 2010 09:58:27 +0200


Am 30.09.2010 um 17:59 schrieb Sascha Wildner:

> On 9/30/2010 17:57, Sascha Wildner wrote:
>> Just out of curiosity, assuming this is /usr, what does 'du
>> /var/hammer/usr/snap*/' output does it give the missing inodes for the
>> snapshots, too?
> Sorry, make that 'du -s /var/hammer/usr/snap*/'.
> Sascha

No it doesn't.
The output is:

root@pick:~# du -s /var/hammer/usr/snap-*
0	/var/hammer/usr/snap-20100803-0302
0	/var/hammer/usr/snap-20100804-0307
. ..
0	/var/hammer/usr/snap-20100929-0301
0	/var/hammer/usr/snap-20100930-0301
0	/var/hammer/usr/snap-20101001-0301

Actually, I did not try snapshots or undos yet. 
I tried to figure out how much space is used in my pfs, thus, I did du -shL /pfs. I just repeated it and that was the cause of the messages. Just when it counted over a directory that I have exported over network (but do not do anymore) the dmesg-messages reappeared.
I also get output on the console:

du: var/hammer/var/snap-20100822-0301/hammer/var/snap-20100821-0301/hammer/var/snap-20100806-0301/hammer/var/snap-20100801-0301/hammer/var/snap-20100731-0301/hammer/var/snap-20100730-0301/hammer/usr/snap-20100727-0301/pkgsrc: No such file or directory
du: var/hammer/var/snap-20100822-0301/hammer/var/snap-20100821-0301/hammer/var/snap-20100806-0301/hammer/var/snap-20100801-0301/hammer/var/snap-20100731-0301/hammer/var/snap-20100730-0301/hammer/usr/snap-20100727-0301/share/info/dir: No such file or directory
du: var/hammer/var/snap-20100822-0301/hammer/var/snap-20100821-0301/hammer/var/snap-20100806-0301/hammer/var/snap-20100801-0301/hammer/var/snap-20100731-0301/hammer/var/snap-20100730-0301/hammer/usr/snap-20100727-0301/pkg/share/xml/catalog: No such file or directory
du: var/hammer/var/snap-20100822-0301/hammer/var/snap-20100821-0301/hammer/var/snap-20100806-0301/hammer/var/snap-20100801-0301/hammer/var/snap-20100731-0301/hammer/var/snap-20100730-0301/hammer/usr/snap-20100728-0301/libexec/ld-elf.so.2: No such file or directory

So it seems, that I was kind of "messing around with snapshots" as Matthew wrote, and it seems to be harmless so far. 
Nevertheless it looks strange, and like a loop that /var/hammer/ is snapshotted and its contents are and so forth. Maybe we should exclude the snapshot directory from being snapshotted?


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