From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 01:21:44 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 915941065679 for ; Tue, 1 Sep 2009 01:21:44 +0000 (UTC) (envelope-from vinny-mail-01+f.questions20090831@palaceofretention.ca) Received: from www.giovannetti.ca (www.giovannetti.ca [206.248.136.48]) by mx1.freebsd.org (Postfix) with ESMTP id 60CF58FC1C for ; Tue, 1 Sep 2009 01:21:44 +0000 (UTC) Received: from the.palaceofretention.ca (unknown [192.168.68.3]) by www.giovannetti.ca (Postfix) with ESMTPSA id D06722285A for ; Mon, 31 Aug 2009 21:10:30 -0400 (EDT) Message-ID: <4A9C7371.2010600@palaceofretention.ca> Date: Mon, 31 Aug 2009 21:05:53 -0400 From: Vinny User-Agent: Thunderbird 2.0.0.22 (X11/20090714) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: geli disk marked as dirty on normal shutdown/reboot 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: Tue, 01 Sep 2009 01:21:44 -0000 Hi List, # uname -a FreeBSD the.palaceofretention.ca 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #0: Tue Jun 9 16:26:47 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 I have a geli backed ufs file system: ===fstab=== # ad14.eli esata /dev/ufs/E1TB /edisks/esata0 ufs rw,noauto 2 2 I use a passphrase to attach it: # geli attach ad14 Enter passphrase: ** The provider shows up as ad14.eli as expected. The file system on it has a label of E1TB (as seen above). The command: # mount /dev/ufs/E1TB usually works fine. The problem is that if I restart the system normally, the file system on the provider ad14.eli, when reattached, is marked as dirty and I get the usual "operation not permitted" error. I have to run: # fsck -t ufs /dev/ad14.eli before I can mount it again. This is repeatable and occurs for more than just the one geli provider I use in this example. Am I missing something with respect to properly attaching a geli device? Do I need the '-d' option to detach at last close? Thanks for any help. Vinny