Re: [issue2123] hammer is losing files

看板DFBSD_bugs作者時間14年前 (2011/10/22 18:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/5 (看更多)
: :The snapshot in question has been created via the daily periodic :scripts. It's symlinked in /var/hammer/backup/sync and appears in the :hammer snapls output: It could have caught the rsync in the middle, though it isn't supposed to break inode<->file linkages. rsync might be re-creating the hardlinks on every pass. Are the other snapshots ok? The most reliable way is to create a manual snapshot as part of your rsync script so the snapshot occurs on a quiescent filesystem. Something like this: do rsync stuff sync; sleep 5; sync; sleep 5; sync; sleep 5 hammer snapshot /backup/sync /var/hammer/backup/sync "rsync snapshot" -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1EefIHz_ (DFBSD_bugs)
文章代碼(AID): #1EefIHz_ (DFBSD_bugs)