Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| computers:freenas [2021/01/18 15:50] – localadmin | computers:freenas [2024/07/09 04:00] (current) – jon | ||
|---|---|---|---|
| Line 41: | Line 41: | ||
| ==== Migrating Drive Pool to new Pool ==== | ==== Migrating Drive Pool to new Pool ==== | ||
| + | https:// | ||
| I've had to do this twice over the years when current hard drive space was getting high. | I've had to do this twice over the years when current hard drive space was getting high. | ||
| Line 56: | Line 57: | ||
| This assumes that you have both pools setup and connected to the same system, but the replication steps can be done between two systems and the disks moved after replication (this would apply in the instance where the primary machine doesn' | This assumes that you have both pools setup and connected to the same system, but the replication steps can be done between two systems and the disks moved after replication (this would apply in the instance where the primary machine doesn' | ||
| - | Assumption is that "tank" is the primary dataset name. "temp-tank" is the name for the new pool prior to data migration. | + | Assumption is that "oldpool" is the primary dataset name. "newpool" is the name for the new pool prior to data migration. |
| - | The steps in a nutshell are replicate from tank to temp-tank, remove (or rename) | + | The steps in a nutshell are replicate from oldpool |
| - | - The system dataset needs to be moved off of TANK. Use the GUI to select a new location other than tank or temp-tank. | + | - The system dataset needs to be moved off of oldpool. Use the GUI to select a new location other than oldpool |
| - | - Create a system config backup using the GUI. This will be needed later, because when you detach | + | - Create a system config backup using the GUI. This will be needed later, because when you detach |
| - | - Use the GUI to create a snapshot of the dataset you want to move. If you want to move everything, select the root dataset. For flexibility in the future, I'd suggest checking the " | + | - Use the GUI to create a snapshot of the dataset you want to move. If you want to move everything, select the root dataset. For flexibility in the future, I'd suggest checking the " |
| - | - Once replication is complete and you are satisfied that all data is on temp-tank | + | - Once replication is complete and you are satisfied that all data is on newpool |
| - | - Using the CLI (or SSH) run the following to import and rename "zpool import | + | - Using the CLI (or SSH) run the following to import and rename "zpool import |
| - | - Once the pools are renamed, export them at the CLI "zpool export | + | - Once the pools are renamed, export them at the CLI "zpool export |
| - | - Using the GUI, go to the storage tab and select the import volume tab and import | + | - Using the GUI, go to the storage tab and select the import volume tab and import |
| - Once the pool is imported, you can either manually recreate your shares, or you can restore from the configuration backup we made in step 2. | - Once the pool is imported, you can either manually recreate your shares, or you can restore from the configuration backup we made in step 2. | ||
| - | - I would verify that everything is working to your liking before doing anything with old-tank. For safety, I'd leave it un-imported until you decide you need it or want to get rid of it. If you want to get rid of the data on the disks, I would import | + | - I would verify that everything is working to your liking before doing anything with olderpool. For safety, I'd leave it un-imported until you decide you need it or want to get rid of it. If you want to get rid of the data on the disks, I would import |
| ===== Other tips outside the guides ===== | ===== Other tips outside the guides ===== | ||
| Line 96: | Line 97: | ||
| https:// | https:// | ||
| https:// | https:// | ||
| + | |||
| + | ==== Tailscale and using an rsync task ==== | ||
| + | |||
| + | This works with the official community release, or the TrueCharts container. Assuming you're using TrueNAS SCALE. | ||
| + | |||
| + | Install the Tailscale container inside Apps. For configuration, | ||
| + | |||
| + | Sources: | ||
| + | * https:// | ||
| + | * https:// | ||
| + | |||