From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuri Chislov Subject: Re: Fail to mount NILFS. Date: Sat, 22 Aug 2009 11:46:28 +0300 Message-ID: <200908221146.28241.yuri@itinteg.net> References: <200908211918.34720.yuri@itinteg.net> <20090822.112533.68801227.ryusuke@osrg.net> Reply-To: NILFS Users mailing list Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090822.112533.68801227.ryusuke-sG5X7nlA6pw@public.gmane.org> Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org Errors-To: users-bounces-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org To: NILFS Users mailing list 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.