Hi,
On Fri, 21 Aug 2009 19:18:34 +0300, Yuri Chislov wrote:
> Hi,
> 
>  I get error when mount nilfs2 partition.
> 
> mount.nilfs2 /dev/cciss/c0d1p1 /home/
> mount.nilfs2: WARNING! - The NILFS on-disk format may change at any time.
> mount.nilfs2: WARNING! - Do not place critical data on a NILFS filesystem.
> mount.nilfs2: Error while mounting /dev/cciss/c0d1p1 on /home/: Invalid 
> argument
> 
> dmesg output:
> segctord starting. Construction interval = 5 seconds, CP frequency < 30 
> seconds
> NILFS: corrupt root inode.
> 
> Used kernel: 2.6.30.4
> nilfs-utils-2.0.12-3.i386
> 
> 
> Is it possible to fix the partition?
> Is it some tools exists, like fsck?
> 
> Thank you.
> Yuri.

Sorry for the inconvenience.
I'm afraid to say fsck has not been developed yet.

Are there any warnings or error messages of nilfs in syslog before the
problem ?

I'll attach a patch to allow nilfs to mount plain checkpoints.

If you made the kernel from source, try the patch as follows:

 $ cd linux-2.6.30.4
 $ patch -p1 < path-to/0001-nilfs2-remove-snapshot-check-on-mount.patch
 $ make modules
 $ sudo rmmod nilfs2
 $ sudo insmod fs/nilfs2/nilfs2.ko
 $ sudo mount -t nilfs2 -r -o cp=xxx /dev/yyy /mnt

If you succeed to mount a valid past checkpoint, you will be able to
do backup with rsync or so from the checkpoint.

Regards,
Ryusuke Konishi

Attachment: 0001-nilfs2-remove-snapshot-check-on-mount.patch.bz2
Description: Binary data

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

Reply via email to