April 8, 201610 yr So I'm trying to figure out how to delete the shares I created without having to delete their content, also if there a way to do a full reset that erases all know configurations and when i create a new array is like a fresh start, and none of the old shares show up?
April 8, 201610 yr All "top-level" folders on the disks will be automatically created into shares (with default values) no matter what you do. What are you trying to do?
April 8, 201610 yr Doesn't make a difference. Without actually deleting the content (or moving it to another share), that share is always going to be present (with user shares enabled) simply because the top-level folder exists on one or more drives. Another option would be to choose to not export the share over smb (settings on the share, then smb settings) so that you can't get at it through the network.
April 8, 201610 yr Author so there is no way for me as a user to do a complete system reset that will erase/format everything to like factory states when i first boot it unraid for the firs time, ability to individually format drives or similar?
April 8, 201610 yr So you want your drives completely blank? No data left? If that's the case, with the array stopped click on each disk in turn, and change the file system type to something different. Doesn't matter what you change it to, just select a different type. When you start the array, it will offer to format the drives, then you can stop the array again, and run through the same operation to set the file type back to what you want it to be, start the array again, and it will once again offer to format the drives.
April 8, 201610 yr Sure, but how I took your OP was that you didn't want to delete the contents Easiest way to completely set up from scratch would be to Re-do your flash drive (but save your .key file from the config folder and restore it afterwards) Start unRaid back up, and assign all your drives again. Stop the array, and change the file system type for each of the drives to something other than what they were formatted to (probably set right now to xfs -> change it to reiserfs) Start the array unRaid will prompt you to format the drives. After its done, stop the array and change them back to xfs (recommended setting) After its reformatted, you're now back to a completely empty and stock system (steps done off of the top of my head, so I may have missed something, but that's the general gist)
April 8, 201610 yr Sounds like you solved your issue but what I have done in the past and avoided reformatting the drives is on a Windows machine open that share, select all the files (Control key + A), hit the delete key. Share is now empty. Go back into unRAID and delete the share. No reformatting needed. Then do a new config and unRAID is back to its original state. Takes literally 2 minutes and your done. Sent from my iPhone using Tapatalk
April 8, 201610 yr Sounds like you solved your issue but what I have done in the past and avoided reformatting the drives is on a Windows machine open that share, select all the files (Control key + A), hit the delete key. Takes literally 2 minutes and your done. If the drives are almost empty, that could be quicker. If they have several thousand files though, it can take a LONG time for windows to delete the files over the network. By changing the format in unraid, you can do all the drives at once in a couple minutes. Also, deleting all the files doesn't necessarily give you a clean slate like formatting does. The file system metadata area will still be changed based on how many directories and files were on the drive before you deleted them.
Archived
This topic is now archived and is closed to further replies.