diskdiddler
Wizard
- Joined
- Jul 9, 2014
- Messages
- 2,377
I have had some issues with a jail, attempted to remove it and it's now broken.
File are still on the filesystem
I can't remove them.
The jail is NOT listed in the jails configuration UI of FreeNAS.
I can't rename the folder.
How do I completely remove all traces of this jail and start again?
File are still on the filesystem
[root@freenas] /mnt/ARRAY/jails/sabnzbd_1# ls -l
total 132
drwxr-xr-x 8 root wheel 8 Nov 23 13:26 ./
drwxr-xr-x 16 root wheel 17 Nov 23 13:22 ../
drwxr-xr-x 2 root wheel 3 Nov 23 13:26 bin/
drwxr-xr-x 2 root wheel 5 Nov 23 13:26 lib/
drwxr-xr-x 2 root wheel 4 Nov 23 13:26 libexec/
drwxr-xr-x 2 root wheel 3 Nov 23 13:26 sbin/
drwxr-xr-x 5 root wheel 5 Nov 23 13:26 usr/
drwxr-xr-x 3 root wheel 3 Nov 23 13:26 var/
I can't remove them.
[root@freenas] /mnt/ARRAY/jails/sabnzbd_1# rm -rf /mnt/ARRAY/jails/sabnzbd_1/
rm: /mnt/ARRAY/jails/sabnzbd_1/sbin/init: Operation not permitted
rm: /mnt/ARRAY/jails/sabnzbd_1/sbin: Directory not empty
rm: /mnt/ARRAY/jails/sabnzbd_1/libexec/ld-elf.so.1: Operation not permitted
rm: /mnt/ARRAY/jails/sabnzbd_1/libexec/ld-elf32.so.1: Operation not permitted
rm: /mnt/ARRAY/jails/sabnzbd_1/libexec: Directory not empty
rm: /mnt/ARRAY/jails/sabnzbd_1/var/empty: Operation not permitted
The jail is NOT listed in the jails configuration UI of FreeNAS.
I can't rename the folder.
[root@freenas] /mnt/ARRAY/jails# mv sabnzbd_1/ sabnzbd_x
mv: cannot rename a mount point
How do I completely remove all traces of this jail and start again?