Date: Thu, 02 Jun 2011 01:00:39 -0700 From: perryh@pluto.rain.com To: freebsd-geom@freebsd.org Subject: 8.1 "gjournal status" wrongly claims "No such geom" Message-ID: <4de74327.Sx2yo/9EIpKtIaJA%perryh@pluto.rain.com>
next in thread | raw e-mail | index | archive | help
I have a gmirror partitioned into 3 gjournalled filesystems. The gmirror and gjournal modules have been loaded; the mirror and journals are reported in dmesg; the geoms appear in /dev and in the "gjournal status" summary; and "gjournal dump" finds the metadata. However, when I ask for individual status reports, gjournal claims that the geoms don't exist. What's going on? (This log shows gm0a as an example; the others behave the same way.) In case it matters, the partitions are not mounted. # dmesg | grep 'GEOM_' GEOM_MIRROR: Device mirror/gm0 launched (1/1). GEOM_JOURNAL: Journal 1528592465: mirror/gm0a contains data. GEOM_JOURNAL: Journal 1528592465: mirror/gm0a contains journal. GEOM_JOURNAL: Journal 742588070: mirror/gm0d contains data. GEOM_JOURNAL: Journal 742588070: mirror/gm0d contains journal. GEOM_JOURNAL: Journal mirror/gm0a consistent. GEOM_JOURNAL: Journal 1468104835: mirror/gm0e contains data. GEOM_JOURNAL: Journal 1468104835: mirror/gm0e contains journal. GEOM_JOURNAL: Journal mirror/gm0d consistent. GEOM_JOURNAL: Journal mirror/gm0e consistent. # disklabel /dev/mirror/gm0 # /dev/mirror/gm0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 7340032 16 4.2BSD 1024 8192 0 c: 619907501 0 unused 0 0 # "raw" part, don't edit d: 25165824 7340048 4.2BSD 0 0 0 e: 587401629 32505872 4.2BSD 0 0 0 # ls -laR /dev/mirror total 1 dr-xr-xr-x 2 root 0 512 Jun 2 03:24 . dr-xr-xr-x 8 root 0 512 Jun 2 03:15 .. crw-r----- 1 root operator 0, 81 Jun 2 03:24 gm0 crw-r----- 1 root operator 0, 105 Jun 2 03:24 gm0a crw-r----- 1 root operator 0, 123 Jun 2 03:24 gm0a.journal crw-r----- 1 root operator 0, 121 Jun 2 03:24 gm0d crw-r----- 1 root operator 0, 124 Jun 2 03:24 gm0d.journal crw-r----- 1 root operator 0, 122 Jun 2 03:24 gm0e crw-r----- 1 root operator 0, 127 Jun 2 03:24 gm0e.journal # gjournal dump -v mirror/gm0a Read 512 bytes from offset 0xdffffe00 on /dev/mirror/gm0a. Metadata on mirror/gm0a: magic: GEOM::JOURNAL version: 0 id: 1528592465 type: 3 start: 1610612224 end: 3758095872 joffset: 1632963584 jid: 1692325236 flags: 1 hcprovider: provsize: 3758096384 MD5 hash: e568762b7c6dba3b75efb22f656d1de9 Done. # gjournal status Name Status Components mirror/gm0a.journal N/A mirror/gm0a mirror/gm0d.journal N/A mirror/gm0d mirror/gm0e.journal N/A mirror/gm0e # gjournal status mirror/gm0a gjournal: No such geom: mirror/gm0a. # gjournal status /dev/mirror/gm0a gjournal: No such geom: /dev/mirror/gm0a. # gjournal status mirror/gm0a.journal gjournal: No such geom: mirror/gm0a.journal. # gjournal status /dev/mirror/gm0a.journal gjournal: No such geom: /dev/mirror/gm0a.journal.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4de74327.Sx2yo/9EIpKtIaJA%perryh>