Concentric
[H]ard|Gawd
- Joined
- Oct 15, 2007
- Messages
- 1,028
Yo,
I'm a bit of a Unix n00b but I've been enjoying getting to know a bit about ZFS using OpenIndiana on a home server that I've been gradually upgrading - it's the Opteron one in my sig.
It's working great at the moment with a little 3x 1TB RAID-Z pool using consumer-grade Samsung SATA drives, sharing a few filesystems using SMB.
I have four 1TB Seagate Constellation ES SAS drives that I'd like to use to replace the pool in this machine - they have to go in this rig because it's the only one I have that supports SAS. The SATA drives can then be repurposed (probably a second server later to replicate this one).
The situation is that I need to transfer the existing zpool and all its filesystems on the SATA drives to a new pool on the SAS drives, with as little effort and reconfiguration as possible. I'd rather not have to start from scratch and manually copy everything.
Since it's just a home server, up-time is not critical. But it would be nice, for example, if I could keep all the current SMB shares and the permissions config that is on my existing pool, because it took me a lot to get it to work as it is now and I don't fancy doing all that again.
I've been doing a bit of research and playing around a bit with ZFS Send and Receive but ran into a few errors and would rather wait until I understand what I'm doing than go off and break my existing pool.
(I have all the data on the existing pool backed up, but I'd still rather not destroy it if I can help it!)
Has anyone gone through this procedure before and can guide me through it?
Am I on the right lines with Send and Receive?
Will that preserve all the pool settings like shares and permissions?
Do I take a snapshot of the whole pool or do I have to Send/Recv each filesystem?
Is there anything to set up on the new drives before Send/Recving, apart from just creating a new pool? For example, I came across some problems with having permission to Receive on the new pool?
Any and all advice/info welcome!
Oh and because everyone loves pics, here's one :
I'm a bit of a Unix n00b but I've been enjoying getting to know a bit about ZFS using OpenIndiana on a home server that I've been gradually upgrading - it's the Opteron one in my sig.
It's working great at the moment with a little 3x 1TB RAID-Z pool using consumer-grade Samsung SATA drives, sharing a few filesystems using SMB.
I have four 1TB Seagate Constellation ES SAS drives that I'd like to use to replace the pool in this machine - they have to go in this rig because it's the only one I have that supports SAS. The SATA drives can then be repurposed (probably a second server later to replicate this one).
The situation is that I need to transfer the existing zpool and all its filesystems on the SATA drives to a new pool on the SAS drives, with as little effort and reconfiguration as possible. I'd rather not have to start from scratch and manually copy everything.
Since it's just a home server, up-time is not critical. But it would be nice, for example, if I could keep all the current SMB shares and the permissions config that is on my existing pool, because it took me a lot to get it to work as it is now and I don't fancy doing all that again.
I've been doing a bit of research and playing around a bit with ZFS Send and Receive but ran into a few errors and would rather wait until I understand what I'm doing than go off and break my existing pool.
(I have all the data on the existing pool backed up, but I'd still rather not destroy it if I can help it!)
Has anyone gone through this procedure before and can guide me through it?
Am I on the right lines with Send and Receive?
Will that preserve all the pool settings like shares and permissions?
Do I take a snapshot of the whole pool or do I have to Send/Recv each filesystem?
Is there anything to set up on the new drives before Send/Recving, apart from just creating a new pool? For example, I came across some problems with having permission to Receive on the new pool?
Any and all advice/info welcome!
Oh and because everyone loves pics, here's one :