Date: Fri, 21 Oct 2011 07:49:54 GMT From: Alfred Bartsch <bartsch@dssgmbh.de> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/161864: removing journaling from UFS partition fails on gpt-labelled disk Message-ID: <201110210749.p9L7ns4Y019014@red.freebsd.org> Resent-Message-ID: <201110210750.p9L7o3Dl039841@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161864 >Category: misc >Synopsis: removing journaling from UFS partition fails on gpt-labelled disk >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 21 07:50:03 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alfred Bartsch >Release: FreeBSD 8.2-stable >Organization: Data-Service GmbH >Environment: FreeBSD dsssrvt4.incore 8.2-STABLE FreeBSD 8.2-STABLE #0: Tue Oct 18 11:41:46 CEST 2011 root@dsssrvt4.incore:/usr/obj/usr/src/sys/SERVER64 amd64 >Description: I'm not able to get rid of journaling on a gpt-labeled disk. Journal creation works as expected. Console output: GEOM_JOURNAL: Journal 3251779739: ada5p2 contains data. GEOM_JOURNAL: Journal 3251779739: ada5p1 contains journal. GEOM_JOURNAL: Journal ada5p2 clean. After stopping journaling I get the following console output: GEOM_JOURNAL: Journal 3251779739: gptid/bbf0f112-fbb0-11e0-a819-000423dc1f94 contains journal. GEOM_JOURNAL: Journal 3251779739: gptid/c688176f-fbb0-11e0-a819-000423dc1f94 contains data. GEOM_JOURNAL: Journal gptid/c688176f-fbb0-11e0-a819-000423dc1f94 clean. gjournal clear ada5p2 fails: Cannot clear metadata on ada5p2: Operation not permitted. gjournal: Not fully done. gjournal stop gptid/c688176f-fbb0-11e0-a819-000423dc1f94.journal leads to following console output: GEOM_JOURNAL: Journal 3251779739: ada5p2 contains data. GEOM_JOURNAL: Journal 3251779739: ada5p1 contains journal. GEOM_JOURNAL: Journal ada5p2 clean. this seems to be endless repeatable. "gjournal clear" fails on all possible device names. >How-To-Repeat: issuing the following commands on a clean disk (here /dev/ada5): gpart label -s GPT ada5 gpart add -t freebsd-swap -s 2g ada5 gpart add -t freebsd-ufs ada5 gjournal label ada5p2 ada5p1 gjournal stop ada5p2.journal gjournal clear ada5p2 >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110210749.p9L7ns4Y019014>