January 28, 20224 yr Hi All, I have an UNRAID server with a Pro license. I want to reset my setup back to defaults (ie. remove all plugins,shares, configs, etc.) and start from scratch again. What is the best way to do this? TIA
January 28, 20224 yr Delete the contents of /config on the flash drive (except for the .key file and the go file) and reboot But save a backup of it first just in case there does wind up being something you want or need
January 28, 20224 yr Community Expert 28 minutes ago, SimonF said: Tools->new config That only lets you reassign your disks. 31 minutes ago, Darryn said: What is the best way to do this? Why do you want to do this? Are you having a problem that you think it might help with? Probably better to work on the problem instead of "starting over". You can remove each plugin individually. Unless you wipe all of your data, you will still have user shares since the folders will still exist.
January 28, 20224 yr Community Expert 1 minute ago, Squid said: Delete the contents of /config on the flash drive (except for the .key file) and reboot That will get rid of all of your configuration, including disk assignments. If you want to keep your disk assignments, you also need to keep config/super.dat Unless you get rid of your data you will still have user shares since the folders will still exist, but without config they will have default settings.
January 28, 20224 yr 100% correct. I didn't consider (but you did) that the OP might have also wanted the data to be wiped clean.
January 28, 20224 yr Author Hi All, Thanks for the replies. Yes, I want to wipe everything :-) I want to start off from a clean slate. These is no data that I want to keep (actually, there is nothing that I need to keep). Not because of any issues, just want to do a completely fresh setup. So I assume that removing the contents of the /config folder (except for the .key file) would be the correct option?
January 28, 20224 yr Community Expert You would also need to reformat the drives as described here in the online documentations accessible via the ‘Manual’ link at the bottom of the GUI. By default Unraid will leave intact data on drives previously used by Unraid.
January 28, 20224 yr To actually wipe the data involves another step. Assuming the drives are all formatted XFS, to completely wipe them you would (prior to starting the array) switch the file system (click on each disk) from XFS (or auto) to be BTRFS, start the array and them format them. After that's done you would stop the array and switch them back to being XFS and reformat again. For safety reasons, there is no easy way to format the drives. Alternatively to formatting them you could also do from the command prompt rm -rf /mnt/user/shareName For each share you have in the system.
January 28, 20224 yr Community Expert 5 minutes ago, Squid said: Alternatively to formatting them you could also do from the command prompt rm -rf /mnt/user/shareName For each share you have in the system. If you had any files actually at the top level of any disk instead of inside a top level folder, those wouldn't be touched because only folders at the top level of disks are part of user shares. For example, I have seen users put docker.img at /mnt/cache/docker.img. Since that is a file at the top level of cache, it isn't part of any user share.
June 20, 20233 yr Community Expert 1 hour ago, K1LLA_KING_KING said: What is the best way to remove all data, but prevent a full parity check? Assuming you intend to keep the drives, then you could just use the process for reformatting a drive to create empty file systems on them.
October 10, 20232 yr On 1/28/2022 at 1:05 PM, Darryn said: Yes, I want to wipe everything :-) I want to start off from a clean slate. This is what I did, 1. Tools->new config 2. Open a terminal as root. Where sd? is the actual drive device name, for each drive perform, # dd if=/dev/zero of =/dev/sd? count=640k Note: This will erase the drive configuration and partition tables. To completely wipe all data on a hard drive, omit the count option. Depending on the drive, it could take several hours. SSDs may have a different drive prefix and need a special wipe utility for a secure erase. 3. Flash the USB stick with the latest Unraid USB Flash Creator.
November 6, 2025Nov 6 On 10/10/2023 at 8:05 PM, ThisIsAnUnraid said: This is what I did,1. Tools->new config2. Open a terminal as root. Where sd? is the actual drive device name, for each drive perform, # dd if=/dev/zero of =/dev/sd? count=640kNote: This will erase the drive configuration and partition tables. To completely wipe all data on a hard drive, omit the count option. Depending on the drive, it could take several hours. SSDs may have a different drive prefix and need a special wipe utility for a secure erase.3. Flash the USB stick with the latest Unraid USB Flash Creator.same here....I have a test system, already asked some questions....I tested all my apps that I need and it all works, so I want to remove everything and start again...then I hopefully only need one try for everything as I already know how to make it work ;)step 1 and 3 is clear, but I dont understand step 2 ? why cant you reassign the disks and format them afterwards within the gui? that´s what I would do with my synology. what does this terminal command do and why is it necessary? thx
November 6, 2025Nov 6 Community Expert 4 minutes ago, Tralien said:why cant you reassign the disks and format them afterwards within the gui? that´s what I would do with my synology. what does this terminal command do and why is it necessary? thxIf Unraid finds a disk already in a format supported by Unraid then it will leave them unchanged when you start again. This is doe to make it easier to get data into Unraid if disks already have data on them. You therefore need to take some action to remove the existing format which is what step 2 does. However you could also do this from the Unraid GUI using the option to erase the disk before attempting to reformat it.
November 6, 2025Nov 6 thx for the quick reply....I might have another question here, we will see.....14 days of trial left for me ;)
November 7, 2025Nov 7 To format disks in the arrayStop the array, on each disk in Main, click and set the file system from "Auto" (what it probably is right now and everything is formatted as XFS) to anything other than XFS or XFS encrypted (eg: BTRFS). Start the array and in the little warning click the check box and then the Format Button. After they're all done, stop the array again and switch them all to XFS (don't use Auto).They'll get formatted now as XFS (which is what I'd recommend in the array)Formatting is purposely while not exactly hidden, not obvious (due to the inherent danger of it)
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.