As of 5.x and above, you can NOT modify partition table whose disk is in-use. This is so-called anti-foot-shooting feature of GEOM.
After searching mailing lists, I found that setting the 4-th bit of kern.geom.debugflags to 1 will turn off this *feature*. *grin*
The original message is here.
0 Responses to “FreeBSD foot-shooting!”