misc/150555: gjournal unusable on GPT partitions

看板FB_bugs作者時間15年前 (2010/09/14 20:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
>Number: 150555 >Category: misc >Synopsis: gjournal unusable on GPT partitions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 14 11:40:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Robert Schulze >Release: 8.1-STABLE >Organization: >Environment: FreeBSD xxxxxx 8.1-STABLE FreeBSD 8.1-STABLE #5: Tue Sep 7 15:25:10 CEST 2010 root@xxxxxx:/usr/obj/usr/src/sys/VPOOL amd64 >Description: Enabling a gjournal on a GPT partitioned disk (da0 with da0p1) results in a journal not being able to disable. Without partitions (operating purely on da0), gjournal behaves correctly. Furthermore, one may disable gjournal continously with two different provider names, without coming to an end: # gjournal stop da0p1.journal # gjournal list ID: 1247948886 Providers: 1. Name: gptid/30da8781-bff2-11df-bbf1-001b21153950.journal Mediasize: 20401094144 (19G) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: gptid/30da8781-bff2-11df-bbf1-001b21153950 Mediasize: 21474836480 (20G) Sectorsize: 512 Mode: r1w1e1 Jend: 21474835968 Jstart: 20401094144 Role: Data,Journal # gjournal stop gptid/30da8781-bff2-11df-bbf1-001b21153950.journal # gjournal list Geom name: gjournal 1247948886 ID: 1247948886 Providers: 1. Name: da0p1.journal Mediasize: 20401094144 (19G) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: da0p1 Mediasize: 21474836480 (20G) Sectorsize: 512 Mode: r1w1e1 Jend: 21474835968 Jstart: 20401094144 Role: Data,Journal and so on. >How-To-Repeat: # gpart create -s GPT da0 # gpart add -t freebsd-ufs -s 20G da0 # gjournal label da0p1 # newfs -O 2 -J /dev/da0p1.journal # mount /dev/da0p1.journal /mnt # dd if=/dev/zero of=/mnt/file bs=1M count=1k # umount /mnt # gjournal sync # gjournal stop da0p1.journal # gjournal clear da0p1 Cannot clear metadata on da0p1: Operation not permitted. gjournal: Not fully done. >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
文章代碼(AID): #1CZsG0Ty (FB_bugs)
文章代碼(AID): #1CZsG0Ty (FB_bugs)