8.0: glabel on a gjournaled FS is broken

Oliver Lehmann oliver at FreeBSD.org
Fri Oct 23 17:11:31 UTC 2009


Hi Adam,

Adam Vande More wrote:

> sysctl kern.geom.debugflags=17

I also tried this in the meantime. The behaviour is still the same. I
also attached the disk to a FreeBSD 7.2 system - same problem:

root at kartoffel olivleh1> glabel status
                  Name  Status  Components
ufsid/49f8856ee7867c4f     N/A  da0s1
            ufs/backup     N/A  da0s1
root at kartoffel olivleh1> sysctl kern.geom.debugflags=17
kern.geom.debugflags: 0 -> 17
root at kartoffel olivleh1> glabel stop backup
root at kartoffel olivleh1> glabel status
                  Name  Status  Components
ufsid/49f8856ee7867c4f     N/A  da0s1
root at kartoffel olivleh1> glabel clear -v da0s1
Can't clear metadata on da0s1: Invalid argument.
glabel: Not fully done.
Exit 1
root at kartoffel olivleh1> glabel status
                  Name  Status  Components
ufsid/49f8856ee7867c4f     N/A  da0s1
            ufs/backup     N/A  da0s1
root at kartoffel olivleh1> 

You see? while trying to clear the data, the label is back....

-- 
 Oliver Lehmann
  http://www.pofo.de/
  http://wishlist.ans-netz.de/


More information about the freebsd-stable mailing list