Re: Repeated ffs_newvnode panic (dup alloc) on one inode

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.devel.kernel
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Anthony Mallet) writes:

>> So should the ancient tool clri. It's still a good idea to run fsck
>> afterwards.

>Is the clri command from fsdb the same as /sbin/clri?

fsdb uses the code from fsck_ffs when it clears an inode,
which is to set all fields to zero.

clri also restores and increments the inode generation number,
that might help if an NFS client has cached it.

In either case the filesystem is dirty and you should
force a filesystem check. The journaling code has no
knowledge about such manual interventions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.