glabel problem
Lee Brown
leeb at ratnaling.org
Sat Apr 22 01:26:42 UTC 2017
I just got a no-name 1TB usb stick. Under FreeBSD11.0, I can see the
device:
root at apron:~ # geom disk list da2
Geom name: da2
Providers:
1. Name: da2
Mediasize: 1073741824000 (1.0T)
Sectorsize: 512
Mode: r0w0e0
descr: (null)
ident: (null)
rotationrate: unknown
fwsectors: 63
fwheads: 255
root at apron:~ # glabel label -v TEST da2
Metadata value stored on da2.
Done.
but
root at apron:~ # glabel status da2
root at apron:~ #
I zero'd the first and last 1MB and re-tried the label operation, but all
the sectors were still zero.
I tried to use the usbdump utility and I can see *something* is written.
gpart appears to do the right thing.
newfs on the raw device appears to do the right thing.
geli init complains it can't find the metadata.
Can anybody clue me into how I can get this to work correctly? I need to
glabel it so I can devd an event, it needs to be geli encrypted/checksummed
within the label.
Thanks for any help -- lee
More information about the freebsd-geom
mailing list