Tuesday, August 11, 2009

Folder is in use/busy

So while working with zones, I tried to remove a folder I created as a test, only to have OpenSolaris complain that it was still in use. What I realized was that because it was created as a ZFS dataset, it couldn't be directly deleted, but instead required me to use this following command:

#zfs destory tank/example/dir

ZFS protects itself from being deleted by accident. I thought this was good enough to pass along

No comments:

Post a Comment