From owner-freebsd-questions@FreeBSD.ORG Tue Sep 3 12:14:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0985036C; Tue, 3 Sep 2013 12:14:36 +0000 (UTC) (envelope-from mailist@yandex.com) Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [IPv6:2a02:6b8:0:801::4]) by mx1.freebsd.org (Postfix) with ESMTP id 8896A20BF; Tue, 3 Sep 2013 12:14:35 +0000 (UTC) Received: from web15j.yandex.ru (web15j.yandex.ru [5.45.198.56]) by forward14.mail.yandex.net (Yandex) with ESMTP id 47D781981EA5; Tue, 3 Sep 2013 16:14:23 +0400 (MSK) Received: from 127.0.0.1 (localhost [127.0.0.1]) by web15j.yandex.ru (Yandex) with ESMTP id E04FF1C41018; Tue, 3 Sep 2013 16:14:22 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1378210463; bh=2qMpzlU/lwTd4yCvkTjhW5BhLvp2sP/ax7ftOZVwg1U=; h=From:To:Subject:Date; b=gEFah+9MmPpNYfVX705WxVpiTFNMCBg6QmvZn+x3d/xtaiCUkXRrU3bsqlFGya4ws MgfpJIdrlFM8Xbow9ycVYSaHAjXlH9Y4Dx642y8YDqu5n9AWJVsEVWQG5BBZmn7YT4 dHWl1sICrWR19+DHsp6KrQX0KHpI0sMZ/xzAqkbE= Received: from 78.161.188.194.dynamic.ttnet.com.tr (78.161.188.194.dynamic.ttnet.com.tr [78.161.188.194]) by web15j.yandex.ru with HTTP; Tue, 03 Sep 2013 16:14:22 +0400 From: =?utf-8?B?RW1yZSDDh2FtYWxhbg==?= Envelope-From: mailist@yandex.com.tr To: freebsd-hackers@freebsd.org, FreeBSD quest Subject: Zfs encryption property for freebsd 8.3 MIME-Version: 1.0 Message-Id: <226721378210462@web15j.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Tue, 03 Sep 2013 15:14:22 +0300 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Sep 2013 12:14:36 -0000 Hi, I want to encrypt some disk on my server with Zfs encryption property but it is not available. Are there anybody have got an experience about this? [url]http://docs.oracle.com/cd/E23824_01/html/821-1448/gkkih.html#scrolltoc[/url] [url]http://www.oracle.com/technetwork/articles/servers-storage-admin/manage-zfs-encryption-1715034.html[/url] These are good explanations but I got an error and output shows all property; ---------------------------------------------------- [root@HP ~]# zpool status pool: output state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM output ONLINE 0 0 0 ad0s1e ONLINE 0 0 0 errors: No known data errors [root@HP ~]# zfs create -o encryption=on output/home cannot create 'output/home': invalid property 'encryption' [root@HP ~]# zfs get encryption bad property list: invalid property 'encryption' usage: get [-rHp] [-d max] [-o "all" | field[,...]] [-t type[,...]] [-s source[,...]] <"all" | property[,...]> [filesystem|volume|snapshot] ... The following properties are supported: PROPERTY EDIT INHERIT VALUES available NO NO clones NO NO [,...] compressratio NO NO <1.00x or higher if compressed> creation NO NO defer_destroy NO NO yes | no mounted NO NO yes | no origin NO NO refcompressratio NO NO <1.00x or higher if compressed> referenced NO NO type NO NO filesystem | volume | snapshot used NO NO usedbychildren NO NO usedbydataset NO NO usedbyrefreservation NO NO usedbysnapshots NO NO userrefs NO NO written NO NO aclinherit YES YES discard | noallow | restricted | passthrough | passthrough-x aclmode YES YES discard | groupmask | passthrough | restricted atime YES YES on | off canmount YES NO on | off | noauto casesensitivity NO YES sensitive | insensitive | mixed checksum YES YES on | off | fletcher2 | fletcher4 | sha256 compression YES YES on | off | lzjb | gzip | gzip-[1-9] | zle copies YES YES 1 | 2 | 3 dedup YES YES on | off | verify | sha256[,verify] devices YES YES on | off exec YES YES on | off jailed YES YES on | off logbias YES YES latency | throughput mlslabel YES YES mountpoint YES YES | legacy | none nbmand YES YES on | off normalization NO YES none | formC | formD | formKC | formKD primarycache YES YES all | none | metadata quota YES NO | none readonly YES YES on | off recordsize YES YES 512 to 128k, power of 2 refquota YES NO | none refreservation YES NO | none reservation YES NO | none secondarycache YES YES all | none | metadata setuid YES YES on | off sharenfs YES YES on | off | share(1M) options sharesmb YES YES on | off | sharemgr(1M) options snapdir YES YES hidden | visible sync YES YES standard | always | disabled utf8only NO YES on | off version YES NO 1 | 2 | 3 | 4 | 5 | current volblocksize NO YES 512 to 128k, power of 2 volsize YES NO vscan YES YES on | off xattr YES YES on | off userused@... NO NO groupused@... NO NO userquota@... YES NO | none groupquota@... YES NO | none written@ NO NO Sizes are specified in bytes with standard units such as K, M, G, etc. User-defined properties can be specified by using a name containing a colon (:). The {user|group}{used|quota}@ properties must be appended with a user or group specifier of one of these forms: POSIX name (eg: "matt") POSIX id (eg: "126829") SMB name@domain (eg: "matt@sun") SMB SID (eg: "S-1-234-567-89") [root@HP ~]# ----------------------------- How can I use or add encryption property to FreeBsd 8.3?