From owner-freebsd-fs@FreeBSD.ORG Mon Nov 28 14:29:28 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6060F106564A for ; Mon, 28 Nov 2011 14:29:28 +0000 (UTC) (envelope-from pawel@dawidek.net) Received: from mail.dawidek.net (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 15E608FC13 for ; Mon, 28 Nov 2011 14:29:28 +0000 (UTC) Received: from localhost (89-73-195-149.dynamic.chello.pl [89.73.195.149]) by mail.dawidek.net (Postfix) with ESMTPSA id 8F0443E7; Sat, 26 Nov 2011 13:08:30 +0100 (CET) Date: Sat, 26 Nov 2011 13:07:28 +0100 From: Pawel Jakub Dawidek To: Johan Hendriks Message-ID: <20111126120727.GB8794@garage.freebsd.pl> References: <4ED0949A.8080602@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Content-Disposition: inline In-Reply-To: <4ED0949A.8080602@gmail.com> X-OS: FreeBSD 9.0-CURRENT amd64 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org Subject: Re: zvol and zfs send no file on the receiving side. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Nov 2011 14:29:28 -0000 --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 26, 2011 at 08:26:18AM +0100, Johan Hendriks wrote: > Hello all! >=20 > After some reluctance using zfs i decided it was time to just use it,=20 > and it make my life a lot easier. > Thank you all ! >=20 > One thing i can not get to work however is sending and receiving a zfs=20 > volume. >=20 > I have a master so to say, and a bacup server. > On the master the pool is named storage, on the backup machine the pool= =20 > is called tank. >=20 > on the master i did the following. >=20 > # zfs create -V10G storage/iscsitest >=20 > if i do a zfs list -t volume, i see that the volume is there. >=20 > # zfs list -t volume > NAME USED AVAIL REFER MOUNTPOINT > storage/iscsitest 10.3G 65.9G 16K - >=20 > If i go to the directory /storage and do a ls -al > i see my zvol file. >=20 > # ls -al > total 1901416 > drwxr-xr-x 4 root wheel 5 Nov 25 17:44 . > drwxr-xr-x 19 root wheel 1024 Nov 25 11:33 .. > -rw-r--r-- 1 root wheel 10737418240 Nov 25 20:46 iscsitest Very interesting that you have this file here. It surely wasn't created by ZFS. ZVOL is not regular file, it is a GEOM provider (disk-like device) and can be found in /dev/zvol/storage/iscsitest. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk7Q1n8ACgkQForvXbEpPzQhnACbBuB874983gYwNOQFAOJd2mly bHMAoPa7JJOmyC9TW+qHOhX4GJUJg18r =ZWKd -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi--