gpart and it's EBR confusion

rank1seeker at gmail.com rank1seeker at gmail.com
Tue Apr 3 19:46:46 UTC 2012


9.0 R i386

EBR scheme never installed

md0s3 has BSD labels scheme
----
# gpart destroy -F md0s3
md0s3 destroyed

# gpart create -s BSD md0s3
gpart: geom 'md0s3': File exists

# gpart show -p md0s3
=>      0  1023120  md0s3  EBR  (499M) [CORRUPT]
        0  1023120         - free -  (499M)
----


During one of above tasks, on main console kernel outputs:
--
GEOM: md0s3: invalid entries in the EBR ignored.
--

Not 100% reproducible.
Running again SAME 'gpart destroy' then 'gpart create', worked.


Domagoj Smolčić


More information about the freebsd-hackers mailing list