disappearing snapshots

Skylar Thompson skylar at cs.earlham.edu
Tue Jun 14 18:48:24 GMT 2005


Michael Grant wrote:

>I've been playing with snapshots (mksnap_ffs) recently.  I've got a
>script which does a daily snapshot and keeps 7 days of history.  Last
>night, the machine crashed and when it came back up, all the snapshots
>referred to the current view of the disk, i.e. I lost the 7-day
>history.
>
>I'm running 5.3-release.
>
>Has anyone seen this?  Snapshots should persist beyond reboots,
>shouldn't they?
>
>(Yes, I am doing the mdconfig and remounting the snap.)
>  
>

I haven't seen this specifically, but I have noticed a fair amount of 
instability related to the snapshot code. I've managed to crash 
5.2-RELEASE through 5.4-RELEASE by keeping too many snapshots, or 
hammering the disk while taking a snapshot, or having a filesystem with 
lots (close to a million) of files.

Have you tried fscking the disk manually from single-user mode?

-- 
-- Skylar Thompson (skylar at cs.earlham.edu)
-- http://www.cs.earlham.edu/~skylar/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050614/ef81a656/signature.bin


More information about the freebsd-stable mailing list