A
A
Alexander2020-12-29 18:43:37
ZFS
Alexander, 2020-12-29 18:43:37

ZFS - How to move a filesystem to another pool?

There are 2 physical hard drives. 1TB and 3TB
A 1TB drive has a pool with several file systems that are full of data
A 3TB drive has a pool with several empty file systems.
Both hard drives are within the same system.

1. How to transfer ONLY file systems from one pool (which is on a 1TB disk) to another pool on a second disk (which is 3TB)?
and also as an alternative:
2. How to transfer the entire pool from a smaller disk to a larger one?

If I'm not mistaken, has the "replace" feature been added in recent versions of ZFS?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
elbrus56, 2021-01-12
@alterak

Everything is described in the official documentation - https://docs.oracle.com/cd/E18752_01/html/819-5461...

O
Oleg Volkov, 2020-12-30
@voleg4u

I took snapshots and then zfs send | zfs receive.
At the moment X disconnected users and removed the mount, did the last synchronization, and replaced the mount with a new fs. Something like this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question