# ZFS Linux Operations

**URL:** https://forum.netzwissen.de/t/zfs-linux-operations/1833
**Category:** DevOps
**Created:** [16. August 2026 um 08:04 UTC](https://forum.netzwissen.de/t/zfs-linux-operations/1833 "2026-08-16T08:04:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![thommie](https://forum.netzwissen.de/user_avatar/forum.netzwissen.de/thommie/32/1080_2.png) [@thommie](https://forum.netzwissen.de/u/thommie)
#### Post date: [16. August 2026 um 08:04 UTC](https://forum.netzwissen.de/t/zfs-linux-operations/1833/1 "2026-08-16T08:04:29Z")

</div>

# Doku

[https://docs.oracle.com/cd/E19253-01/820-2313/gaynr/index.html](https://docs.oracle.com/cd/E19253-01/820-2313/gaynr/index.html)

> **[Kapitel 19. Das Z-Dateisystem (ZFS)](https://docs.freebsd.org/de/books/handbook/zfs/)**

> **[ZFS unter Linux - Pro-Linux](https://www.pro-linux.de/artikel/2/1181/2,zfs-unter-linux-die-befehle-zpool-und-zfs.html)**
>
> Das Dateisystem ZFS ist eines der mächtigsten in der Unix-Welt. Es gehört nicht zum Linux-Kernel, aber dennoch kann man es problemlos unter Linux benutzen. Dieser Artikel soll einen kleinen Einblick...

# ZFS Installation unter Proxmox

ZFS installieren

apt install linux-headers-amd64 zfsutils-linux zfs-dkms zfs-zed

[:https:openzfs.github.io\_openzfs-docs\_getting\_20started\_debian\_debian\_20bullseye\_20root\_20on\_20zfs.html|[https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html\\](https://openzfs.github.io/openzfs-docs/Getting%20Started/Debian/Debian%20Bullseye%20Root%20on%20ZFS.html%5C%5C%5C%5C%5C)]]

## Partitionieren

root@kakariki /etc/apt # fdisk /dev/disk/by-id/nvme-eui.0025388511c55959

(Achtung: gdisk konvertiert MBR nach GPT)

/dev/disk/by-id/nvme-eui.0025388511c55959 /dev/disk/by-id/nvme-eui.0025388511c5595b

DISK1=/dev/disk/by-id/nvme-eui.0025388511c55959-part7 DISK2=/dev/disk/by-id/nvme-eui.0025388511c5595b-part7

Dannach zpool anlegen. „mirror“ entspricht RAID1

zpool create [-dfn] [-m mountpoint] [-o property=value]… [-o feature@feature=value]  
[-o compatibility=off|legacy|file[,file]…] [-O file-system-property=value]… [-R root] [-t tname] pool vdev…

`zpool create -o ashift=12 -o autotrim=on -d -o cachefile=/etc/zfs/zpool.cache -o feature@async_destroy=enabled -o feature@bookmarks=enabled -o feature@embedded_data=enabled -o feature@empty_bpobj=enabled -o feature@enabled_txg=enabled -o feature@extensible_dataset=enabled -o feature@filesystem_limits=enabled -o feature@hole_birth=enabled -o feature@large_blocks=enabled -o feature@livelist=enabled -o feature@lz4_compress=enabled -o feature@spacemap_histogram=enabled -o feature@zpool_checkpoint=enabled -O devices=off -O acltype=posixacl -O xattr=sa -O compression=lz4 -O normalization=formD -O relatime=on -O canmount=off -O mountpoint=/ -R /mnt rpool mirror /dev/disk/by-id/nvme-eui.0025388511c55959-part7 /dev/disk/by-id/nvme-eui.0025388511c5595b-part7`

## zfs Datasets erstellen

zfs create rpool/mirror

Pool und datasets wieder löschen

zpool destroy -f rpool

# Betrieb in der Praxis

Bestehende Pools zeigen

```auto
root@kakariki \~ zpool list 
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT 
rpool 888G 388G 500G - - 52% 43% 1.00x ONLINE -

```

Statusanzeige

```auto
pool: rpool 
 state: ONLINE 
status: Some supported and requested features are not enabled on the pool. 
        The pool can still be used, but some features are unavailable. 
action: Enable all features using 'zpool upgrade'. Once this is done, 
        the pool may no longer be accessible by software that does not support 
        the features. See zpool-features(7) for details. 
  scan: scrub repaired 0B in 00:09:06 with 0 errors on Sun Aug 9 00:33:07 2026 
config: 
 
        NAME STATE READ WRITE CKSUM 
        rpool ONLINE 0 0 0 
          mirror-0 ONLINE 0 0 0 
            nvme-eui.0025388511c55959-part7 ONLINE 0 0 0 
            nvme-eui.0025388511c5595b-part7 ONLINE 0 0 0

```
