This message results from the superuser attempting to unmount a filesystem that is not mounted. Subdirectories of filesystems, such as /var, cannot be unmounted.
Run the mount(1M) or df(1M) command to see what filesystems are mounted. If you really want to unmount one of them, specify the existing mount point.