NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/37425: fss_snapshot_mount panic during fsck



The following reply was made to PR kern/37425; it has been noted by GNATS.

From: Juergen Hannken-Illjes <hannken%eis.cs.tu-bs.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/37425: fss_snapshot_mount panic during fsck
Date: Wed, 26 Nov 2008 10:06:25 +0100

 On Wed, Nov 26, 2008 at 03:30:04AM +0000, Scott Ellis wrote:
 [snip]
 >  >   How should the /.snapshot/.store hierarchy look like?
 >  
 >  I believe /.snapshot/.store/ will get populated with snapshot files (5 
 >  at a time?) with the filename of the date and time the snapshot was 
 >  taken.  The script should automatically do that for you.
 
 Nope.
        $ mkdir -p /.snapshot/.store
        $ perl pffstest.pl
        Empty vnd, populating
        $ find /.snapshot -print0 | xargs -0 ls -ldo
        drwxr-xr-x  3 root  wheel  - 512 Nov 26 10:53 /.snapshot
        drwxr-xr-x  2 root  wheel  - 512 Nov 26 10:53 /.snapshot/.store
 
 All fss and vnd devices are unconfigured.  So I tried to create a snapshot:
 
        $ fssconfig -c fss0 / /.snapshot/.store/TEST
        $ perl pffstest.pl
        Empty vnd, populating
        vnconfig: /.snapshot/.store/TEST: Operation not permitted
 
 As I noted before you cannot (any more) vnconfig a snapshot backup.  You
 always have to use the fss device. So 
 
        $ vnconfig -r vndX /.../SNAPBACKUP
        $ mount -o ro /dev/vndXa /NEWDIR
 
 should become
 
        $ fssconfig -c fssX / /.../SNAPBACKUP
        $ mount -o ro /dev/fssX /NEWDIR
 
 -- 
 Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)
 


Home | Main Index | Thread Index | Old Index