Date: Mon, 28 Sep 2009 12:44:48 -0400 From: Ross <westr@connection.ca> To: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: geom not clearing metadata labels Message-ID: <773896033.20090928124448@connection.ca>
next in thread | raw e-mail | index | archive | help
I've got a geom based file system that is running under 2 geom modules: multipath and journal. I'm looking to increase the journal size on the disk, but when it comes to re-creating the journal geom metadata, it refuses to do so sighting the errno 1: "Operation not permitted". I get the same error with trying to redo the multipath metadata as well. (The command I'm executing is "gjournal clear -v /dev/multipath/xyz2.journal") Permissions all look correct on the /dev devices, and I'm executing as root/uid 0, and normal disk access is fine - so I'm a little stumped. Executing "gjournal list" gets the following, which seems correct (mode is r0w0e0 due to being umounted, otherwise r1w1e1 in normal operation) -= Geom name: gjournal 1011364901 ID: 1011364901 Providers: 1. Name: multipath/xyz2.journal Mediasize: 1072668081152 (999G) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: multipath/xyz2 Mediasize: 1073741823488 (1000) Sectorsize: 512 Mode: r1w1e1 Jend: 1073741822976 Jstart: 1072668081152 Role: Data,Journal -= Obviously, I can just reformat/dd the raw disk to get rid of the label, but I'd like to know the better way. :-) Thanks. --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?773896033.20090928124448>