Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 09:52:46 +0100
From:      Gerrit =?ISO-8859-1?Q?K=FChn?= <gerrit.kuehn@aei.mpg.de>
To:        Matt Magoffin <matt@msqr.us>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS snapshot renames failing after upgrade to 9.2
Message-ID:  <20140122095246.65ea2196.gerrit.kuehn@aei.mpg.de>
In-Reply-To: <F7C75A7F-ED28-4C0E-8A5F-677E3FE9AE8E@msqr.us>
References:  <0C9FD4E1-0549-4849-BFC5-D8C5D4A34D64@msqr.us> <54D3B3C002184A52BEC9B1543854B87F@multiplay.co.uk> <333D57C6A4544067880D9CFC04F02312@multiplay.co.uk> <26053_1387447492_52B2C4C4_26053_331_1_20131219105503.3a8d1df3.gerrit.kuehn@aei.mpg.de> <20131219165549.9f2ca709.gerrit.kuehn@aei.mpg.de> <alpine.DEB.2.10.1312191718330.12885@krichy.tvnetwork.hu> <20131219174054.91ac617a.gerrit.kuehn@aei.mpg.de> <alpine.DEB.2.10.1312192007100.30378@krichy.tvnetwork.hu> <20131220100522.382a39ac.gerrit.kuehn@aei.mpg.de> <alpine.DEB.2.10.1312201010350.12244@krichy.tvnetwork.hu> <alpine.DEB.2.10.1312201716570.22349@krichy.tvnetwork.hu> <F7C75A7F-ED28-4C0E-8A5F-677E3FE9AE8E@msqr.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Jan 2014 14:37:32 +1300 Matt Magoffin <matt@msqr.us> wrote
about Re: ZFS snapshot renames failing after upgrade to 9.2:

MM> I missed the continuation of this thread, but wanted to add in that
MM> this still happens for me (snapshot renames lead to unusable
MM> snapshots).

Well, I guess there was no continuation so far. On the 9.2-system under
question, I changed the backup/snapshot scheme to use the dates in the
names instead of doing logrotate stuff (using sysutils/zfs-periodic instead
of sysutils/freebsd-snapshot) to circumvent the issue.

MM> I recently updated to 9.2-p3, and after restarting the system my
MM> scripts were able to rename the existing snapshots as expected, but
MM> only one time. When my backup script attempted to rename the new
MM> snapshot and the older ones during its second run since the restart,
MM> it failed and ended up in the unusable state.

I have the feeling that the issue depends on wether the snapshot was used
before, is still mounted or something like that. I think when I had just
the snapshots running (without the backup jobs), I did not see this (but
I may be wrong with this).

MM> As for 9.1, I never had this problem in 9.1. It only started happening
MM> for me after updating to 9.2.

Indeed, in 9.1 this was fine. Maybe we should file a proper bug report for
this?


cu
  Gerrit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140122095246.65ea2196.gerrit.kuehn>