Unable to Delete APS Directories - My Goof!!!

Status
Not open for further replies.

Philbert

Dabbler
Joined
Jun 12, 2017
Messages
12
New Kid on the Block...Tried to create a Apple Time Machine Directory Service and didn't follow procedure correctly...Need to delete Time Machine Folders from my NAS 11 but unable to perform tack through the Standard GUI...I know that its going to take a Command Line state / statements to accomplish this feat - so help would be very much appreciated...Listed below is the path:

SMB://Freenas_SMB_tcp.local/Data_Share/Timemachine/Timemachine

Need to 'Nuke' the two different Time Machine Directories...


Thanks,
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
1) delete the dataset in the freenas gui
2) delete the folder of smb
3) ssh into the box and delete it on the cli


All 3 of these options should work. What happens when you try to delete it over smb like you have shown above?
 

Bostjan

Contributor
Joined
Mar 24, 2014
Messages
122
1) delete the dataset in the freenas gui
2) delete the folder of smb
3) ssh into the box and delete it on the cli


All 3 of these options should work. What happens when you try to delete it over smb like you have shown above?
Is the dataset totaly empty? Can he delete it?


Sent from my iPhone using Tapatalk
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Is the dataset totaly empty? Can he delete it?


Sent from my iPhone using Tapatalk
I'm not sure. He hasn't said yet. But it would accomplish their goal.
 

Philbert

Dabbler
Joined
Jun 12, 2017
Messages
12
I have no clue they didn't tell us. But it would accomplish their goal.
Hey Guys,

Thanks for the response to my 'issue'...The Dataset is empty - the the GUI only shows the 'Data_Share' Dataset - a Windows type ... The Folder / Folders cannot be deleted & thats the reason for my post...I could pull my Data off this Dataset and start from 'Ground Zero' again but thats tooooooo Drastic!!! Looks like I need to go into the Console and enter some kind of Command Line Syntax ...Does anyone know what that Syntax is???

Thanks
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Hey Guys,

Thanks for the response to my 'issue'...The Dataset is empty - the the GUI only shows the 'Data_Share' Dataset - a Windows type ... The Folder / Folders cannot be deleted & thats the reason for my post...I could pull my Data off this Dataset and start from 'Ground Zero' again but thats tooooooo Drastic!!! Looks like I need to go into the Console and enter some kind of Command Line Syntax ...Does anyone know what that Syntax is???

Thanks
Why can't you delete the data over smb or however you put it there?
 

Philbert

Dabbler
Joined
Jun 12, 2017
Messages
12
That’s the issue - I do not know how to accomplish this task - not being a ‘smarty’ just need instructions on how to accomplish this task...

Thanks
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I'm still confused but I think you are asking how to make a smb mount?

What os are you using for the client? In windows, you want to map a network drive, in osx you want to "connect to server". That's the quick answer, anything more and I would have to look it up.
 

Philbert

Dabbler
Joined
Jun 12, 2017
Messages
12
Can I go into the Console and enter a command / instruction to delete these folders that are inside this Windows Dataset... I have turned off APS and rebooted the NAS but folders remain... The dataset was originally created inside the Data_Share which is a Windows dataset... I know it’s my ‘goof’ and now I’m just trying to undue the mess... It all started when I installed High Sierra and could not do a a Timemachine backup to the NAS... I had the NAS configured for Timemachine and was working when using Sierra... When I upgraded to High Sierra and I couldn’t do TM Backups to the NAS, I deleted that dataset and tried to create another Timemachine dataset... That was a week ago and still trying to recover from my ‘goof’!!!

Thanks
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Here is a command you can try.

rm -rf /mnt/<poolname>/Data_Share/*

This will remove everything in data_share. Good luck I hope that command doesn't do something you don't want. I still think you should just delete it over smb if you can find a way to do that.
 

Philbert

Dabbler
Joined
Jun 12, 2017
Messages
12
Thanks for the Command Line Instruction- I don’t want to delete the complete dataset - just the Timemachine and subfolder Timemachine... So should I specify the name at the end of this command string instead of *???

Thanks
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Please wait! Explain what you did. Explain what you think is wrong. Explain what you want to do. In detail. Maybe even screenshots.
 
Last edited:

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Thanks for the Command Line Instruction- I don’t want to delete the complete dataset - just the Timemachine and subfolder Timemachine... So should I specify the name at the end of this command string instead of *???

Thanks
That won't delete the share_data date only the time machine stuff inside it.
 
Status
Not open for further replies.
Top