From owner-freebsd-fs@freebsd.org Mon May 27 13:20:52 2019 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 927C915940FC for ; Mon, 27 May 2019 13:20:52 +0000 (UTC) (envelope-from nutsbastogne@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 818986CD4F; Mon, 27 May 2019 13:20:51 +0000 (UTC) (envelope-from nutsbastogne@gmail.com) Received: by mail-ed1-x529.google.com with SMTP id w37so26699151edw.4; Mon, 27 May 2019 06:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=V3RsFyM97UXQXpVryWb0gDpoqHUI7Hb/kLJkecXnTvo=; b=G3ul6P3jgqgu9WG2YsV/yWEEDQayueqg5vuHeFa+BSN+Dge0B3sCy+mROlizH8jBgq wYel/ZG1cdmowy6ls71e5fsFAYa9oFrDfuQic+1zsHE1l8wrsBfQd9qorHAhaLBvFuBk 3KFoiZmYHa8i4MuZjY5TvHigUBRDSYjKhMDz8mMXDoJNbxkrP3hTGJW7hGq9J0D1fKHO trTDsd+qSZZi5WVDwqYcVABWjDiuEHeAw9zpN8SDh8uQ1qZctjRr51/pAXXeXUWfLnea mseX4GbuD4mcySfmSnNGm55h9+ugz0fYLI3Zjizc0dEhN0D4kBp3ZO0oM8FGOW2ENEb+ lqpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=V3RsFyM97UXQXpVryWb0gDpoqHUI7Hb/kLJkecXnTvo=; b=IlKpi3vVmFjqsVjfo3XDNZ1p+NmMNvuettchcTctvkraNfJsD7IAGiiS0d6jTAToEw wlI7NrbQwIzanPw2tncEuqP+Ja6utRo3w3bbyNwLuykAJbodo3qpuvIIZIJFeM76N+dS O/Rjmk63X1hiRIpfmUqBSQl59BkovCMqWZB5c7rB7xphXkrnZp9zV7exiSfiYkd/bcfZ 0lvfQYeCRkauqfWdvHfe7ZQhNGAOO8LKm+O7pvsTuO/l6M2Qq5MO3kEUuwez18TdGZNl ZQtD053unPfNRyR1aD07bhHLaBVTgzYRWVYPtJ6QwRpA33d+mLxoTZpLwwfT3hkzjxuq BXzQ== X-Gm-Message-State: APjAAAW6nwPkmrn5dfidC3zh+H/d9NuhXflj7rQnMbtADZmyCIXKddHj RdtP/8Z+CzrCdnu1HzNIaHvUN/qmXEjYkUvKak9+Ramv X-Google-Smtp-Source: APXvYqyCNiXZUVpV8rdwbdLxd3vKjedBhfbGeS0FC1ybW0V48H3uQ/Ac31enbkuCAttIdJ1k6GiMB+OvlQZOTBlPrw0= X-Received: by 2002:a17:906:1fcb:: with SMTP id e11mr89067770ejt.221.1558963250247; Mon, 27 May 2019 06:20:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nuts Bastogne Date: Mon, 27 May 2019 15:20:39 +0200 Message-ID: Subject: Re: ZFS space consumption To: Stefan Esser , freebsd-fs@freebsd.org X-Rspamd-Queue-Id: 818986CD4F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=G3ul6P3j; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of nutsbastogne@gmail.com designates 2a00:1450:4864:20::529 as permitted sender) smtp.mailfrom=nutsbastogne@gmail.com X-Spamd-Result: default: False [-6.75 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[9.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.75)[ip: (-9.22), ipnet: 2a00:1450::/32(-2.19), asn: 15169(-2.29), country: US(-0.06)]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2019 13:20:52 -0000 Hi Stefan, Thanks for your answer. The compressratio and refcompressratio are : compressratio 1.05x refcompressratio 1.07x Maybe i'm wrong but i don't think this ii related to my "issue" and if i understand well, the compression should decreased the space used property not the logicalused property. Le lun. 27 mai 2019 =C3=A0 13:47, Stefan Esser a =C3=A9cri= t : > Am 27.05.19 um 11:55 schrieb Nuts Bastogne: > > Hi All, > > > > I'm confused about the zfs consumption of space. > > > > I'm using ZFS to create clone from a sysprep and use it as a zvol for = vm > > connected via iscsi. > > The zvol has a size of 256GB. > > But several dataset have a space comsuption bigger than the size of the > > zvol. > > I thought this could be happen when we use snapshot but this is not my > case. > > > > here information from one zvol impacted : > > type volume > > volsize 256G > > used 483G > > referenced 507G > > copies 1 > > refreservation none > > compression lz4 > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Might that be the answer? > > Look at the current compression ratio ... > > > usedbydataset 483G > > written 483G > > logicalused 238G > > logicalreferenced 251G > > > > logicalused and logicalreferenced are correct, so the vm didnt see a di= sk > > bigger than 256GB. > > As used, usedbydataset, referenced properties don't include metadata > > neither snapshot i dont'know what it could be. > > > > After some research on the web some people had the same issue du to the > > blocksize of their disk and had to change the ashift to 12. but this is > our > > configuration already. > > > > disk : (from diskinfo -v) > > SSD > > 512 # sectorsize > > 3840755982336 # mediasize in bytes (3.5T) > > 7501476528 # mediasize in sectors > > 4096 # stripesize > > > > volblocksize =3D 16k > > ashift =3D 12 > > > > What i can check to go deeper on this issue ? > > or this is just a normal behavior du to my configuration ? > > _______________________________________________ > > freebsd-fs@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > > > >