user07072023
Cadet
- Joined
- Jul 7, 2023
- Messages
- 3
Hello. My first post. Thank you in advance. Alternate title consideredwas "Directories return in UI after deleting them from /mnt/<system-dataset>/ via shell"
On a fresh install, with a brand new pool I shared the System dataset via NFS to my ProxMox Back-up Server (PBS) and began testing it. I now realize what I should have done was create a sub-dataset under the System Dataset named "ProxMox Back-up Server" and shared only that dataset.
By the time I realized this, PBS, it appears, had systematically created some directories under the System DataSet.
Finding no way via the UI to remove these directories ("dump", "images", et al), I opened the shell and removed them from /mnt/truenas-pool-1 via rm -rf.
I confirmed their deletion with an immediate which showed only ProxMox Back-up Server as the only remaining directory (dataset) underneath the system data set.
To confrim my success and obvious mastery of command line arguments, I returned to the UI and browsed to Sharing > NFS > Add... however I still saw the sub-directories. I refreshed the page, logged back in, and then ran a Scrub (because why not?).
After some research, I decided to post and was going to paste a screener of the directory, only to find that the once-deleted directory folders reappeared!
::But, the Cat Came Back vibes::
I now hypothesize the the SCRUB restored the folders.
However, I am back at square one: How do I delete and remove sub-directories under a dataset?
On a fresh install, with a brand new pool I shared the System dataset via NFS to my ProxMox Back-up Server (PBS) and began testing it. I now realize what I should have done was create a sub-dataset under the System Dataset named "ProxMox Back-up Server" and shared only that dataset.
By the time I realized this, PBS, it appears, had systematically created some directories under the System DataSet.
Finding no way via the UI to remove these directories ("dump", "images", et al), I opened the shell and removed them from /mnt/truenas-pool-1 via rm -rf.
I confirmed their deletion with an immediate
Code:
ls -altr
To confrim my success and obvious mastery of command line arguments, I returned to the UI and browsed to Sharing > NFS > Add... however I still saw the sub-directories. I refreshed the page, logged back in, and then ran a Scrub (because why not?).
After some research, I decided to post and was going to paste a screener of the directory, only to find that the once-deleted directory folders reappeared!
::But, the Cat Came Back vibes::
I now hypothesize the the SCRUB restored the folders.
However, I am back at square one: How do I delete and remove sub-directories under a dataset?