From owner-freebsd-questions@FreeBSD.ORG Wed May 25 14:53:12 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 530E41065676 for ; Wed, 25 May 2011 14:53:12 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 014578FC0C for ; Wed, 25 May 2011 14:53:11 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9FD3745684; Wed, 25 May 2011 16:21:58 +0200 (CEST) Received: from localhost (58.wheelsystems.com [83.12.187.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 2BBAB45F42; Wed, 25 May 2011 16:21:53 +0200 (CEST) Date: Wed, 25 May 2011 16:21:28 +0200 From: Pawel Jakub Dawidek To: Dave Cundiff Message-ID: <20110525142128.GH1877@garage.freebsd.pl> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zqjkMoGlbUJ91oFe" Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-3.9 required=4.5 tests=ALL_TRUSTED,BAYES_00, RCVD_IN_SORBS_DUL autolearn=ham version=3.0.4 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS promote failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2011 14:53:12 -0000 --zqjkMoGlbUJ91oFe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 11, 2011 at 11:50:51AM -0400, Dave Cundiff wrote: > Hello, >=20 > I'm seeing a strange problem trying to use zfs promote. >=20 > [root@san2]# zfs snapshot san/sr@snap > [root@san2]# zfs clone san/sr@snap san/sr5 > [root@san2]# zfs promote san/sr5 > cannot promote 'san/sr5': dataset is busy >=20 > Being a freshly created dataset I'm not sure how it would be busy. Are > there any caveats to using zfs promote on zvols? The snapshots are of > ext3 formatted zvols. I don't really need to promote them but wanted > to in case I needed to destroy the source for some reason. Which FreeBSD version is this? I just tried it on 9-CURRENT with ZFSv28 and it works just fine, even if I've file systems mounted on top of those ZVOLs. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --zqjkMoGlbUJ91oFe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk3dEGgACgkQForvXbEpPzQB4QCgxQie7k9iuFSVcNF0luVUwCA0 RkAAoK848yim4zXm+DQoukSHNHI7Zp9u =0YcD -----END PGP SIGNATURE----- --zqjkMoGlbUJ91oFe--