Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-04 Thread Bob Friesenhahn
On Wed, 4 Feb 2009, Fajar A. Nugraha wrote: On Wed, Feb 4, 2009 at 1:28 AM, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: On Tue, 3 Feb 2009, Fajar A. Nugraha wrote: Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz The 'lzop'

[zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Niels Van Hee
Hi, I redirected a zfs send stream to a file on a smbfs mount (Windows share): zfs send snapshot /mnt/win/snapshot.zfs When zfs receiving this file, the process aborts due to an 'invalid backup stream' error. zfs receive -nv gives a little bit more information: Assertion failed: !invalid

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Niels Van Hee
Hi Remco, isn't the ssh example used in a context where you immediately receive the stream (on another solaris system)? What I'm trying to do is storing a snapshot on another system or media (tape, dvd,...) and restoring it later. I know zfs send and receive are not ideal as a backup

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Remco Lengers
Niels, I do this all the time, to a USB connected external drive. And I have managed to restore a snapshot too :-) I don't see why you could mount an NFS mount from the service where you want to backup too. I wonder if windows does something bad to the file, is it larger then 2 Gb? ..Remco

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Niels Van Hee
Hi Remco, the snapshots are indeed large files (just over 4gb). I haven't had problems copying tarballs over 2gb to this share however. I'll tar my home directory and try to copy that too to find out what happens :-) -- This message posted from opensolaris.org

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Fajar A. Nugraha
On Tue, Feb 3, 2009 at 8:00 PM, Niels Van Hee nvan...@gmail.com wrote: Hi Remco, the snapshots are indeed large files (just over 4gb). Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz It should save lots of network bandwitdh. Plus, IF it does

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Niels Van Hee
Hi, Just wondering, why didn't you compress it first? I'm just trying out the basic zfs features on my home pc. I don't pay a lot of attentention to network bandwidth or compression at the moment.. And afaik, there's no issue with large files on OpenSolaris, I can copy a tarball of my home

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Bob Friesenhahn
On Tue, 3 Feb 2009, Niels Van Hee wrote: the snapshots are indeed large files (just over 4gb). I haven't had problems copying tarballs over 2gb to this share however. I'll tar my home directory and try to copy that too to find out what happens Make sure that the unix shell you are using

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Bob Friesenhahn
On Tue, 3 Feb 2009, Fajar A. Nugraha wrote: Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz It should save lots of network bandwitdh. Plus, IF it does have something to do with file too large, compressing should help as a workaround. The

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Fajar A. Nugraha
On Wed, Feb 4, 2009 at 1:28 AM, Bob Friesenhahn bfrie...@simple.dallas.tx.us wrote: On Tue, 3 Feb 2009, Fajar A. Nugraha wrote: Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz The 'lzop' compressor is much better for this since it is *much*

Re: [zfs-discuss] zfs send over sbmfs results in invalid record type on zfs receive

2009-02-03 Thread Fajar A. Nugraha
On Wed, Feb 4, 2009 at 10:41 AM, Fajar A. Nugraha fa...@fajar.net wrote: Just wondering, why didn't you compress it first? something like zfs send | gzip backup.zfs.gz The 'lzop' compressor is much better for this since it is *much* faster. Sure, when enabling compression on zfs fs. I