Changing docker cache to btrfs


gevsan

Recommended Posts

Hello.

 

Today I got a warning on my Docker_Cache ssd disk. 

I want to change this ssd disk and It's currently in xfs mode.

 

I bought 2 nvme disks that I want to use in btrfs insead for this Docker_Cache pool.

 

Do I just add the 2 nvme disks to the Docker_Cache pool and then change the file type to btrfs?

Will this format the drives? I do have backups of my appdata folder. 

Do i simply move the appdata folder into the pool after the change to btrfs?

 

Maybe there is a easy guide for this?

I just want this to be a painless operation :)

 

Best Regards/ Emil

Link to comment

Basically, yes.

 

You would make a backup of the existing appdata folder (either move it to the array with Mover or make a backup with the appdata backup plugin), and triple check that there's nothing else on the drive that you need saved

 

Change the number of slots for the Docker_Cache pool to be 2.  Change the filesystem to be BTRFS.  Start the array, format the drive and restore your backups onto the pool.

  • Thanks 1
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.