Hi,
On Wed, 14 Jan 2009 23:04:30 +0100, "Milos Jana" wrote:
> Hi,
> After 2 weeks of successful using of NILFS on my pendrive I encountered this
> error:
> 
> mi...@computer:~$ sudo mount /media/pendrive/
> [sudo] password for user:
> mount.nilfs2: Error while mounting /dev/sdb on /media/pendrive: Invalid
> argument
> 
> First, I thought there was something wrong with /etc/fstab entry, which
> looks like this:
> 
> /dev/sdb /media/pendrive nilfs2 noauto,user,rw 0 0
> 
> But it looked the same when drive was working fine, I also tried different
> parameters but it did not help. The last two lines from dmesg output made me
> even more worry:
<snip>
> 
> I'm using nilfs2-tools 2.0.3-1 on kernel 2.6.27-10, the error also occurs
> after upgrade to nilfs2-utils and nilfs kernel module 2.0.6.

Thanks for reporting the trouble.
 
> How can I recover this drive? I didn't create any checkpoints, afair the
> only thing I have done was to create the new filesystem using mkfs.nilfs2
> command.

Could you try the test version of fsck available in the follwing url?

https://www.nilfs.org/pipermail/users/2008-December/000350.html

The patch is against nilfs-utils, and it will generate
fsck0.nilfs2 in nilfs2-utils/sbin/mkfs directory.

 Patch Usage:
 $ cd nilfs-utils-2.0.6
 $ patch -p1 < path-to-fsck0.patch
 $ ./configure
 $ make
 $ sudo make install
 $ sudo fsck0.nilfs2 <device>

Regards,
Ryusuke
_______________________________________________
users mailing list
[email protected]
https://www.nilfs.org/mailman/listinfo/users

Reply via email to