NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/57475: Error message ffs_snapshot_mount: vget failed 2 after fsck
The following reply was made to PR kern/57475; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: kern/57475: Error message ffs_snapshot_mount: vget failed 2 after fsck
Date: Wed, 21 Jun 2023 03:10:39 +0700
Date: Tue, 20 Jun 2023 05:40:01 +0000 (UTC)
From: mp%petermann-it.de@localhost
Message-ID: <20230620054001.335621A9242%mollari.NetBSD.org@localhost>
I cannot comment on the problem with the snapshot, nor with why
what you're doing is causing a panic in the first place, but this
one is easy:
| - What can I do to get rid of the "unknown" .snap entry in the root
| directory of the FS without damaging the Filesystem?
Nothing.
It is already gone. The fsdb entry:
slot 4 off 56 ino 0 reclen 456: unknown, `.snap'
is simply describing the free space at the end of the directory (that's
what "ino 0" tells you, a free record), the reclen is also a hint, a
directory entry for a filename that long would probably have a reclen
of 16 (certainly >= 12 and <= 20, and a multiple of 4). But instead
it is the whole rest of the block (512 - 56) ... 56 is its offset.
That the data field happens to contain ".snap" is irrelevant, that's
just what was there last. If you really want that string to go away,
simply create "/data/foobar" (irrelevant what that is) and then delete
it again, and the ".snap" in the empty (unused) space will be changed
to "foobar".
kre
Home |
Main Index |
Thread Index |
Old Index