Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to remove slog drive?

Featured Replies

  • Author

Check your Paypay for a tip/beer. From DarkOmen44z. Thanks again, Cheers!

 

  • Author

I have another quick question if you don't mind. I'm thinking about switching my hardware around and going from a 6 10TB drive raidz2 to a 4 12TB drive raidz1. Is there a simple way to migrate the shares and pool data?

 

You can use zfs replication to clone the dataset(s), let me know if you need help with the command. 

  • Author

Okay so the plan has changed slightly, and any help you can give me would be great. So I need to switch from a case with an 8-drive bay to a case with a 4-drive bay. In an ideal world, I would just somehow convert my current 6 drive raidz2 to a 4 drive raidz1. Is there any way to do this without reformatting and losing the data? 

  • Author

If that doesn't work then my next plan is the one I outlined yesterday with a slight twist. I was hoping to get new 12TB drives but that is out. I do have on hand a bunch of 8TB drives so my new plan is to create a new temporary pool with the 8TB drives. Then use the commands you offered to send to replicate the shares over to the temp pool. After that reformat the old raidz2 into a new raidz with only 4 drives. Then use the same commands to move the data back from the temp pool to the new pool on the raidz. Would that work?

1 hour ago, cmoney said:

I would just somehow convert my current 6 drive raidz2 to a 4 drive raidz1

That's not possible with zfs.

 

1 hour ago, cmoney said:

Would that work?

Yep, all shares must be datasets.

  • Author

Okay great. If I create the new pool and send you photos would you be willing to send the commands?

 

Instead of photos post the output from

zfs list -t all

and the source and dest pool names

  • Author

will do, thanks 

  • Author

root@Unraid:~# zfs list -t all
NAME                        USED  AVAIL  REFER  MOUNTPOINT
pool_256gb                 23.0G   208G    96K  /mnt/pool_256gb
pool_256gb/docker          22.9G   208G  22.9G  /mnt/pool_256gb/docker
pool_40tb                  12.2T  24.0T   240K  /mnt/pool_40tb
pool_40tb/documents_colin  2.23G  24.0T  2.23G  /mnt/pool_40tb/documents_colin
pool_40tb/downloads        9.20G  24.0T  9.20G  /mnt/pool_40tb/downloads
pool_40tb/media            12.2T  24.0T  12.2T  /mnt/pool_40tb/media
pool_40tb/software          192K  24.0T   192K  /mnt/pool_40tb/software
pool_40tb/sync              192K  24.0T   192K  /mnt/pool_40tb/sync
pool_40tb/sync_backup      4.09G  24.0T  4.09G  /mnt/pool_40tb/sync_backup
pool_40tb/urbackup         52.2M  24.0T  52.2M  /mnt/pool_40tb/urbackup
temp_pool                   820K  21.0T   140K  /mnt/temp_pool

Edited by cmoney

I assume pool_40tb is the source and temp_pool the destination?

 

Is all the data you want included in the existing datasets?

 

pool_40tb/documents_colin 
pool_40tb/downloads
pool_40tb/media       
pool_40tb/software  
pool_40tb/sync        
pool_40tb/sync_backup
pool_40tb/urbackup   

  

  • Author

Yes sir that is correct. 

This is an example for how to replicate the media dataset, you can then repeat for the other ones:

 

First create a snapshot:

zfs snapshot pool_40tb/media@now

 

To replicate that dataset to the other pool ("pv -bart" is optional, I like to use it to show the amount of data transferred and speeds during the replication):

zfs send -RL pool_40tb/media@now | pv -bart | zfs receive temp_pool/media

 

Assuming you don't want to keep that snapshot in the end you can delete it with:

zfs destroy temp_pool/media@now

 

 

 

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.