jails Removing a jail

Yesterday I created a jail using cbsd. After playing with it I have it mostly removed but I'm stuck with this:

Code:
jls
   JID  IP Address      Hostname                      Path
root@minnie:~ # chflags -R 0 /opt/jails; rm -rf /opt/jails/
rm: /opt/jails/jails-data/test-data: Device busy
rm: /opt/jails/jails-data: Directory not empty
rm: /opt/jails/: Directory not empty

I have erased the cbsd settings from /etc/rc.conf and rebooted, but the system will not allow that directory to be removed.

Thanks for any help.
sprock
 
Try this one.
chflags -R noschg /opt/jails

It looks like you mounted test-data. You may need to unmount it.

 
Back
Top