[NILFS users] Can't mount nilfs - error searching super root.
Ryusuke Konishi
ryusuke at osrg.net
Fri Jan 30 21:03:23 JST 2009
Hi,
On Sat, 24 Jan 2009 01:13:41 +0100, Milos Jana wrote:
> Hi again,
>
> Looks like I'm unable to mount this drive again. It mounted successfully
> several times after following your previous posts, but yesterday the problem
> came back. I'm sure that I have been mounting/unmounting my pendrive
> properly.
Hmm, it's abnormal that this occurs so often.
The partition was cleanly unmounted, but the latest segment was not written.
The usb device seems to lack proper support of cache flushing if it
occurs just before power-off.
The usb stack of Linux is often problematic, but this looks terrific.
> This time fsck0.nilfs2 doesn't help - it hangs with "Searching the
> latest checkpoint." message (see below).
All right, I'll look into the hang problem.
Please note that the fsck0 is not a complete solution.
To make it better, we need a few changes on the disk format.
Regards,
Ryusuke
> user at laptop:~$ sudo mount /media/pendrive/
> mount.nilfs2: Error while mounting /dev/sdb on /media/pendrive: Invalid
> argument
>
> user at laptop:~$ dmesg
> ...
> [22429.446924] NILFS warning: Segment magic number invalid
> [22429.446932] NILFS: error searching super root.
>
> user at laptop:~/prog/sources/nilfs-utils-2.0.6$ sudo fsck0.nilfs2 /dev/sdb #
> Nilfs-tools with first patch applied
> Super-block:
> revision = 2.0, checksum = OK
> blocksize = 4096
> write time = 2009-01-22 23:40:19
> indicated partial segment: blocknr = 1966080
> segnum = 960, seq = 18266, cno=10169
>
> Clean FS.
>
> user at laptop:~/prog/sources/nilfs-utils-2.0.6$ sudo fsck0.nilfs2 /dev/sdb #
> Nilfs-tools with additional patch applied
> Super-block:
> revision = 2.0, checksum = OK
> blocksize = 4096
> write time = 2009-01-22 23:40:19
> indicated partial segment: blocknr = 1966080
> segnum = 960, seq = 18266, cno=10169
>
> empty or bad segment: segnum = 960, blocknr = 1966080
> The latest segment is lost. Trying rollback recovery..
> .
> Searching the latest checkpoint. # here it hanged for like 10 minutes
> until I killed it
More information about the users
mailing list