Where is nilfs2 fsck

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Where is nilfs2 fsck

David Niklas
Alas, my beautiful fs has become damaged and fsck does nothing, I think
it's a nop.
What is wrong, something in the btree, the original message was in
syslog but it seems to have rotated, I could tell you but I'd have to
cause my kernel to remount my home dir RO, which is not acceptable at
this time.
I'm not interested in the files that can't be accessed, I was trying to
delete them when I found the error so even an experimental fsck would do.
I do have nilfs2-utils installed but I can't find anything useful in
there.
Do I need to backup and reformat the partition?

Thanks, David

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  
Reply | Threaded
Open this post in threaded view
|

Re: Where is nilfs2 fsck

Viacheslav Dubeyko
Hi David,

On Mon, 2016-02-08 at 13:53 -0500, David Niklas wrote:

> Alas, my beautiful fs has become damaged and fsck does nothing, I think
> it's a nop.
> What is wrong, something in the btree, the original message was in
> syslog but it seems to have rotated, I could tell you but I'd have to
> cause my kernel to remount my home dir RO, which is not acceptable at
> this time.
> I'm not interested in the files that can't be accessed, I was trying to
> delete them when I found the error so even an experimental fsck would do.
> I do have nilfs2-utils installed but I can't find anything useful in
> there.
> Do I need to backup and reformat the partition?
>

The fsck utility hadn't been implemented for NILFS2. So, you haven't
another way that to reformat your partition.

There is an experimental branch in nilfs repository this some initial
state of fsck utility. But mostly it does nothing, as far as I can
judge.

Thanks,
Vyacheslav Dubeyko.


Reply | Threaded
Open this post in threaded view
|

Re: Where is nilfs2 fsck

Heinz Diehl-3
In reply to this post by David Niklas
On 08.02.2016, David Niklas wrote:

> Alas, my beautiful fs has become damaged and fsck does nothing, I think
> it's a nop.
> What is wrong, something in the btree, the original message was in
> syslog but it seems to have rotated, I could tell you but I'd have to
> cause my kernel to remount my home dir RO, which is not acceptable at
> this time.
> I'm not interested in the files that can't be accessed, I was trying to
> delete them when I found the error so even an experimental fsck would do.
> I do have nilfs2-utils installed but I can't find anything useful in
> there.
> Do I need to backup and reformat the partition?

There is no fsck.nilfs or similar, so yes. Nilfs2 automatically recovers most
of the time, though, so there may be underlying hardware failure. I've
been using it extensively in the last 2 years, and never seen a single
fs damage which didn't get recovered immediately.