Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.5/8.12.5) with ESMTP id g7FIcLRw008371 for ; Thu, 15 Aug 2002 11:38:21 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.5/8.12.3/Submit) id g7FIcL3s008370 for linux-xfs-outgoing; Thu, 15 Aug 2002 11:38:21 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-xfs@oss.sgi.com using -f Received: from zeus-e8.americas.sgi.com ([198.149.7.250]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g7FIcDRw008339 for ; Thu, 15 Aug 2002 11:38:14 -0700 Received: from poppy-e185.americas.sgi.com (poppy-e185.americas.sgi.com [128.162.185.207]) by zeus-e8.americas.sgi.com (SGI-8.9.3/americas-smart-nospam1.1) with ESMTP id NAA41114; Thu, 15 Aug 2002 13:40:44 -0500 (CDT) Received: from stout.americas.sgi.com (stout.americas.sgi.com [128.162.187.5]) by poppy-e185.americas.sgi.com (980427.SGI.8.8.8/SGI-server-1.8) with ESMTP id NAA25795; Thu, 15 Aug 2002 13:40:44 -0500 (CDT) Subject: Re: [lvm-devel] Re: oops when creating an lvm-snapshot From: Eric Sandeen To: "lvm-devel@sistina.com" Cc: linux-xfs@oss.sgi.com, Erik Tews In-Reply-To: <20020815104938.GB23422@no-maam.dyndns.org> References: <20020814170120.GA23422@no-maam.dyndns.org> <1029344832.15672.90.camel@jen.americas.sgi.com> <20020814183631.A21357@infradead.org> <20020815104938.GB23422@no-maam.dyndns.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.3 (1.0.3-6) Date: 15 Aug 2002 13:35:00 -0500 Message-Id: <1029436500.30024.2.camel@stout.americas.sgi.com> Mime-Version: 1.0 X-Spam-Status: No, hits=-4.4 required=5.0 tests=IN_REP_TO version=2.20 X-Spam-Level: Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Ok, the problem now is that Erik was not using -o ro when he tried to mount, and LVM rightly returned EACCES - but then we mishandled the error and oopsed. oops! Mounting with -o ro avoids the oops, and I have a fix here for the error return that I'll check in shortly. -Eric On Thu, 2002-08-15 at 05:49, Erik Tews wrote: > Ok, I fetched your patch from cvs today. Snapshot seems to work fine, > but I cannot mount the snapshot. I did a mount -o nouuid > /dev/master/xfssnap /snap and at this moment my kernel oopsed. The > backtrace shows me that the oops happens in xfs_statfs which was called > by linvfs_read_super which was called by get_sb_bdev. Can you reproduce > this and do you know what happened? -- Eric Sandeen XFS for Linux http://oss.sgi.com/projects/xfs sandeen@sgi.com SGI, Inc. 651-683-3102