[zfs-discuss] Possible to copy a zpool safely? rsync? zfs send?

2009-01-07 Thread Orvar Korvar
I have a ZFS raid with 4 samsung 500GB disks. I now want 5 drives samsung 1TB instead. So I connect the 5 drives, create a zpool raidz1 and copy the content from the old zpool to the new zpool. Is there a way to safely copy the zpool? Make it sure that it really have been copied safely?

Re: [zfs-discuss] Possible to copy a zpool safely? rsync? zfs send?

2009-01-07 Thread JZ
#computeVhash() best, SuperUser, z - Original Message - From: Orvar Korvar knatte_fnatte_tja...@yahoo.com To: zfs-discuss@opensolaris.org Sent: Wednesday, January 07, 2009 11:14 AM Subject: [zfs-discuss] Possible to copy a zpool safely? rsync? zfs send? I have a ZFS raid with 4 samsung 500GB disks

Re: [zfs-discuss] Possible to copy a zpool safely? rsync? zfs send?

2009-01-07 Thread Cindy . Swearingen
Orvar, Two choices are described below, where safety is the priority. I prefer the first one (A). Cindy A. Replace each 500GB disk in the existing pool with a 1 TB drive. Then, add the 5th 1TB drive as a spare. Depending on the Solaris release you are running, you might need to export/import

Re: [zfs-discuss] Possible to copy a zpool safely? rsync? zfs send?

2009-01-07 Thread Richard Elling
Additional comment: zfs receive verifies the data sent. It also can maintain the snapshots, which is handy. rsync will also verify the data sent between source and destination. rsync doesn't know anything about snapshots, though it might be a best practice to use a snapshot as an rsync source.

Re: [zfs-discuss] Possible to copy a zpool safely? rsync? zfs send?

2009-01-07 Thread Orvar Korvar
Cindy and you all, thanx for your answers! I have got us several more OpenSolaris converts meanwhile. One guy said, Why didnt I try ZFS before?? :o) A quick question, in scenario A) My old 4 samsung 500GB is a raidz1. If I exchange each drive and finally add a hot spare, it is not the same

Re: [zfs-discuss] Possible to copy a zpool safely? rsync? zfs send?

2009-01-07 Thread Cindy . Swearingen
Hi Orvar, Option A effectively doubles your existing pool (500GB x 4--1TB x 4) *and* provides increased reliability. This is the difference between options A and B. I also like the convenience of just replacing the smaller disks with larger disks in the existing pool and not having to create a

Re: [zfs-discuss] Possible to copy a zpool safely? rsync? zfs send?

2009-01-07 Thread JZ
: zfs-discuss@opensolaris.org Sent: Wednesday, January 07, 2009 4:31 PM Subject: Re: [zfs-discuss] Possible to copy a zpool safely? rsync? zfs send? Hi Orvar, Option A effectively doubles your existing pool (500GB x 4--1TB x 4) *and* provides increased reliability. This is the difference between