From owner-freebsd-stable@FreeBSD.ORG Mon Jan 7 13:19:55 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED99816A4A0 for ; Mon, 7 Jan 2008 13:19:55 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 3704F13C447 for ; Mon, 7 Jan 2008 13:19:54 +0000 (UTC) (envelope-from jjuanino@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so4278951uge.37 for ; Mon, 07 Jan 2008 05:19:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; bh=PgWdAvO+NcSGW6qRHcgrlSHlyhed5Yr7SSjzwaeftjI=; b=h5q5O40gPkvaCyKRiis4P5q0ANT/HoPsWW41HhIpjlTfhqJBd2PmtVphiqVlm/QkSdanKn1x4R7mcMih6/12i36mzSDJxV64Og5smAP/J7RR/h3NfWbgLYzjE+depUpZ1MMQTjlT+WNtBLZreH1/8r0IIkrJdrrDi2enzgUqA2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:x-operating-system:user-agent; b=qw8bVpjBaGu7VLe8UoTNsxWIe/lZM+zNOZ23IuKkW/ZhwJtZFlxwTGzOfD8pRkhtez2bcjxqOWgaH733gNVfImmcIY2RESymkbIM6wEUZFmvVbtLq+iLF8BfLIlqkv6X2MVggCArk0pD7OBSNlNwXjRN8OP8xc9xDgo+6BqAcOE= Received: by 10.67.87.18 with SMTP id p18mr14743848ugl.87.1199711994227; Mon, 07 Jan 2008 05:19:54 -0800 (PST) Received: from gauss.sanabria.es ( [83.61.220.5]) by mx.google.com with ESMTPS id 23sm20293305ugf.24.2008.01.07.05.19.51 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Jan 2008 05:19:52 -0800 (PST) Received: by gauss.sanabria.es (Postfix, from userid 1001) id AB55B70C; Mon, 7 Jan 2008 14:19:47 +0100 (CET) Date: Mon, 7 Jan 2008 14:19:47 +0100 From: Jose Garcia Juanino To: Greg Byshenk Message-ID: <20080107131947.GA3758@gauss.sanabria.es> References: <20080105222831.GA862@gauss.sanabria.es> <20080106144120.GD4601@core.byshenk.net> <20080106163830.GA3790@gauss.sanabria.es> <20080107110649.GE4601@core.byshenk.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Content-Disposition: inline In-Reply-To: <20080107110649.GE4601@core.byshenk.net> X-Operating-System: FreeBSD 7.0-PRERELEASE User-Agent: Mutt/1.5.17 (2007-11-01) Cc: stable@freebsd.org Subject: Re: Cannot mount a nfs share after doing a snapshot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 13:19:56 -0000 --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El lunes 07 de enero a las 12:06:50 CET, Greg Byshenk escribi=F3: > > # file /.snap/now > > /.snap/now: Unix Fast File system [v2] (little-endian) last mounted on > > /, last written at Sun Jan 6 16:24:19 2008, clean flag 1, readonly flag > > 1, number of blocks 130721, number of data blocks 126520, number of > > cylinder groups 4, block size 16384, fragment size 2048, average file > > size 16384, average number of files in dir 64, pending blocks to free 0, > > pending inodes to free 0, system-wide uuid 0, minimum percentage of free > > blocks 8, TIME optimization >=20 > Ok, so it looks like your /.snap/now snapshot actually exists, and is bei= ng > made, so it looks like the command >=20 > # mount -u -o snapshot /.snap/now / >=20 > is actually working. (So ignore the rest of what I said last time...) >=20 >=20 > I've just played with this a bit myself (I'm no expert, but I use snapsho= ts > currently with 6-STABLE and want to know about any future problems), and I > can reproduce the problem (7.0-PRERELEASE as of 2 Jan 2008). I see the sa= me > sort of errors as you report, and they cannot be cleared even by removing > the snapshot file and restarting nfsd/mountd. The only solution appears to > be to remove the snapshot and restart the machine. I can see how this mig= ht > be a bit inconvenient. >=20 > That said, there appears to be a problem with using the=20 >=20 > # mount -u -o snapshot >=20 > form of the command. >=20 > The problem does _not_ occur (at least in my test) if you use the the >=20 > # mksnap_ffs >=20 > command. Can you try taking a snapshot using mksnap_ffs? Yes, as I have explained in my first post. Taking the snapshot with mksnap_ffs has no problem at all. >=20 > If mksnap_ffs works, while 'mount -u -o' fails, then it looks like a bug.= =2E. > Yes, I think so. The annoying fact is that I am using the sysutils/freebsd-snapshot port to take periodic snapshots and it executes mount -u -o snapshot to make the snapshots instead of mksnap_ffs . Best regards --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHgibzFOo0zaS9RnIRAoZ/AKCgElySmcOWuXFj9yC4Yw9yBJh41wCgqYxm 3mfZlbKFPB5rC0LdiUdkhrg= =iUYC -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--