I wanted to create a share by first going to Sharing then creating a new UNIX (NFS) Share called share_nfs. This was created at /mnt/myPool/share_nfs.
However, I realised this wasn't added to the current pool. Looking at my pool under the Storage section, the new share wasn't listed. So I deleted the entry by going to Sharing -> UNIX (NFS) Shares, selecting the entry I had created and then selecting Delete.
I then went to Storage and selected my current pool, then chose Create Dataset. I set up the dataset to be called the same thing, share_nfs and then selected Add Dataset. However, I received the following:
"The path /mnt/myPool/share_nfs already exists."
How can I remove this directory so that I can create it again using the Add Dataset feature? I've tried removing it using the shell, but it doesn't allow it, even as root.
However, I realised this wasn't added to the current pool. Looking at my pool under the Storage section, the new share wasn't listed. So I deleted the entry by going to Sharing -> UNIX (NFS) Shares, selecting the entry I had created and then selecting Delete.
I then went to Storage and selected my current pool, then chose Create Dataset. I set up the dataset to be called the same thing, share_nfs and then selected Add Dataset. However, I received the following:
"The path /mnt/myPool/share_nfs already exists."
How can I remove this directory so that I can create it again using the Add Dataset feature? I've tried removing it using the shell, but it doesn't allow it, even as root.