From owner-freebsd-questions@FreeBSD.ORG Tue Sep 1 02:22:16 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 D7A41106566B for ; Tue, 1 Sep 2009 02:22:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191]) by mx1.freebsd.org (Postfix) with ESMTP id 8F4DC8FC12 for ; Tue, 1 Sep 2009 02:22:16 +0000 (UTC) Received: by ywh29 with SMTP id 29so6625203ywh.33 for ; Mon, 31 Aug 2009 19:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=w7ra9WrrCyeQCVtAXzGAVfziO/+LBA1FDkIAzkfNbI8=; b=nFFp8MdFksjUckrZGdOnyLbDXik2kxDyqioYqqfut7roel0rIderyHW4lw5DRy4cYl 7pQL6dLXm4q1YNxB9tSZ0O1NM3uxDjKE4QjrLq12ofCqAY0Vnpl0G/VW1A7ou4CyuJh6 HbE4hRdnoOPMjyVqCc8Exl1QWtwKDCDjvN4hI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=r3GaVTHA+E3wZQfpq4Rf8EXeoJKKLoAG8jD20HKZLT75jdT0ZLtuzRcyFlKhaQ4Zwz pkEyFVItnziHMbi4W7QveYyUmOafLHrn7F/StbeQCv3lHertkG4GjoAo+1AyUH+WBW4V CfXwsXI9dr13HUCrHyjMqLZzoRKeXEa9ORmXs= MIME-Version: 1.0 Received: by 10.150.63.16 with SMTP id l16mr10576314yba.12.1251771734387; Mon, 31 Aug 2009 19:22:14 -0700 (PDT) In-Reply-To: <4A9C7371.2010600@palaceofretention.ca> References: <4A9C7371.2010600@palaceofretention.ca> Date: Mon, 31 Aug 2009 21:22:14 -0500 Message-ID: <6201873e0908311922p440659a7u2ee66d7189ef8138@mail.gmail.com> From: Adam Vande More To: Vinny Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: 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 02:22:16 -0000 On Mon, Aug 31, 2009 at 8:05 PM, Vinny < vinny-mail-01+f.questions20090831@palaceofretention.ca > wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Usually I just umount before close. I don't get the need to fsck then. -- Adam Vande More