On Saturday 22 August 2009 05:25:33 Ryusuke Konishi wrote:
> f 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

Hi, 
  
  Thank you for patch.
 I have try to mount as you propose, but receive following errors:
/sbin/mount.nilfs2 -r -o cp=30778 /dev/cciss/c0d1p1 /mnt/

NILFS: latest checkpoint=30778
NILFS: The specified checkpoint is not a snapshot (checkpoint number=30778).
NILFS: corrupt root inode.


If I try to mount older snapshot 
/sbin/mount.nilfs2 -r -o cp=27252 /dev/cciss/c0d1p1 /mnt/

then 

NILFS: latest checkpoint=30778
NILFS: corrupt root inode.

If try to convert 30778 to snapshot I get
chcp: /dev/cciss/c0d1p1: cannot open NILFS
 
Thank you.

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

Reply via email to