8.1 "gjournal status" wrongly claims "No such geom"

Nicolas Rachinsky fbsd-mas-0 at ml.turing-complete.org
Fri Jun 3 19:32:48 UTC 2011


* perryh at pluto.rain.com [2011-06-02 01:00 -0700]:
> 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.)

It works with the geom name from gjournal list.

> gjournal list
[...]
Geom name: gjournal 1618583258
ID: 1618583258
Providers:
1. Name: mirror/b110528p4.journal
   Mediasize: 23622319616 (22G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: mirror/b110528p4
   Mediasize: 26843545600 (25G)
   Sectorsize: 512
   Mode: r1w1e1
   Jend: 26843545088
   Jstart: 23622319616
   Role: Data,Journal
[...]



> gjournal status 'gjournal 1618583258'
                    Name  Status  Components
mirror/b110528p4.journal     N/A  mirror/b110528p4


But I don't know why it's this way.

Nicolas

-- 
http://www.rachinsky.de/nicolas


More information about the freebsd-geom mailing list