How to reformat NAS


wayner

Recommended Posts

I am having btrfs corruption errors on my cache drive. So I want to reformat it. Are these the correct steps?

 

  1. Stop Docker service. Stop VM service. 
  2. Set cache to yes for all shares.  appdata is currently set to prefer cache. 
  3. Run Mover. 
  4. Wait until Mover moves over all data from cache drive to array. 
  5. Stop array.

 

Do I need to unassign the cache drive at this point? 
 

Should I format to btrfs or xfs?  It seems that btrfs corruption issues are pretty common.
 

When I get the cache back up and change the appdata share to cache prefer and run Mover will it then move all of the appdata files back to the cache?

 

If so, should I wait until Mover has moved all appdata files back to the cache before starting the Docker service, or does that not matter?

 

Does it make sense to add a second cache drive?  If so, does that make a difference to whether I should use btrfs or xfs on the cache drive?

 

Link to comment
2 minutes ago, wayner said:

Do I need to unassign the cache drive at this point?

No, you can just click on it to change the filesystem, then start array and format.

 

2 minutes ago, wayner said:

It seems that btrfs corruption issues are pretty common.

It's usually fine with reliable hardware, but you can use xfs or zfs.

 

3 minutes ago, wayner said:

When I get the cache back up and change the appdata share to cache prefer and run Mover will it then move all of the appdata files back to the cache?

Yes.

 

3 minutes ago, wayner said:

If so, should I wait until Mover has moved all appdata files back to the cache before starting the Docker service, or does that not matter?

Wait.

 

3 minutes ago, wayner said:

Does it make sense to add a second cache drive?  If so, does that make a difference to whether I should use btrfs or xfs on the cache drive?

It adds redundancy, so it will protect you in case of a device failure, only btrfs or zfs supports mirrors, not xfs.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.