On Tue, August 10, 2010 16:41, Dave Pacheco wrote:
> David Dyer-Bennet wrote:

>> If that turns out to be the problem, that'll be annoying to work around
>> (I'm making snapshots every two hours and deleting them after a couple
>> of
>> weeks).  Locks between admin scripts rarely end well, in my experience.
>> But at least I'd know what I had to work around.
>>
>> Am I looking for too much here?  I *thought* I was doing something that
>> should be simple and basic and frequently used nearly everywhere, and
>> hence certain to work.  "What could go wrong?", I thought :-).  If I'm
>> doing something inherently dicey I can try to find a way to back off; as
>> my primary backup process, this needs to be rock-solid.
>
>
> It's certainly a reasonable thing to do and it should work.  There have
> been a few problems around deleting and renaming snapshots as they're
> being sent, but the delete issues were fixed in build 123 by having
> zfs_send hold snapshots being sent (as long as you've upgraded your pool
> past version 18), and it sounds like you're not doing renames, so your
> problem may be unrelated.

AHA!  You may have nailed the issue -- I've upgraded from 111b to 134, but
have not yet upgraded my pool.  Checking...yes, the pool I'm sending from
is V14.  (I don't instantly upgrade pools; I need to preserve the option
of falling back to older software for a while after an upgrade.)

So, I should try either turning off my snapshot creator/deleter during the
backup, or upgrade the pool.  Will do!  (I will eventually upgrade the
pool of course, but I think I'll try the more reversible option first.  I
can have the deleter check for the pid file the backup already creates to
avoid two backups running at once.)

Thank you very much!  This is extremely encouraging.

-- 
David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/
Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
Photos: http://dd-b.net/photography/gallery/
Dragaera: http://dragaera.info

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to