From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <f.ebner@proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 89C669E402
 for <pve-user@lists.proxmox.com>; Tue, 31 Oct 2023 10:20:45 +0100 (CET)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 6074918A98
 for <pve-user@lists.proxmox.com>; Tue, 31 Oct 2023 10:20:45 +0100 (CET)
Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com
 [94.136.29.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS
 for <pve-user@lists.proxmox.com>; Tue, 31 Oct 2023 10:20:44 +0100 (CET)
Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
 by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 13F3F42D16;
 Tue, 31 Oct 2023 10:20:44 +0100 (CET)
Message-ID: <b9c5eb38-10cf-41eb-801d-dd1e801a7b61@proxmox.com>
Date: Tue, 31 Oct 2023 10:20:33 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: pve-user@lists.proxmox.com, Bryan Fields <Bryan@bryanfields.net>
References: <8bbed148-012b-cd0f-cf44-49f4e891464d@bryanfields.net>
Content-Language: en-US
From: Fiona Ebner <f.ebner@proxmox.com>
In-Reply-To: <8bbed148-012b-cd0f-cf44-49f4e891464d@bryanfields.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.080 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_MISSING             0.1 Missing DMARC policy
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
 T_SCC_BODY_TEXT_LINE    -0.01 -
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [proxmox.com]
Subject: Re: [PVE-User] Shared ZFS storage that supports LXC's
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Tue, 31 Oct 2023 09:20:45 -0000

Hi,

Am 29.10.23 um 11:16 schrieb Bryan Fields:
> I do  get a warning in proxmox when moving a VM into it or making a
> snapshot:
> Warning: volblocksize (8192) is much less than the minimum allocation
> unit (32768), which wastes at least 75% of space. To reduce wasted space,
> use a larger volblocksize (32768 is recommended), fewer dRAID data disks
> per group, or smaller sector size (ashift).
> 
> I can't find exactly what this is referring to or how to fix it.  Does
> anyone have insight into this message?
> 

You can set the default blocksize in the storage configuration in
Proxmox VE, either in the UI (Block Size option) or via 'pvesm set <your
storage ID> --blocksize 32K'. Note that this will only apply to newly
allocated or moved volumes and not change existing ones.

> With the LXC's I've found they don't support this backend storage.  (and
> it's not mentioned in the docs) I assume this is do to them needing a
> filesystem, not a block device.  My option here would be to run NFS for
> shared storage, but this loses the ability to do snapshots (a must
> have).  LVM would work, but it's not able to be shared.
> 

It is documented via the content types (only 'images' for ZFS over
iSCSI, but not 'rootdir'):

https://pve.proxmox.com/pve-docs/chapter-pvesm.html#_common_storage_propertieshttps://pve.proxmox.com/pve-docs/chapter-pvesm.html#storage_zfs

>From a quick glance, the only storage type that fits your needs, i.e.
snapshots, shared and support for 'rootdir' content type is Ceph/RBD.
Everything else requires workarounds and won't be fully integrated.

Best Regards,
Fiona