User Tools

Site Tools


nas:zfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
nas:zfs [2021/12/15 19:11] – created Martinnas:zfs [2024/10/20 06:50] (current) Martin
Line 1: Line 1:
 ====== ZFS ====== ====== ZFS ======
 +===== Erstellen =====
 Zunächst das Device-File herausfinden. Am besten mit ''dmesg'' Zunächst das Device-File herausfinden. Am besten mit ''dmesg''
 <code> <code>
Line 16: Line 17:
 da1: quirks=0x2<NO_6_BYTE> da1: quirks=0x2<NO_6_BYTE>
 </code> </code>
 +Hier ist ''da1'' die gesuchte USB-Platte (ada1 ist eine interne Festplatte). Jetzt kann der zpool erstellt werden
 +
 +   # zpool create backup /dev/da1
 +
 +Dann das Dateisystem erstellen mit
 +
 +   # zfs create backup/`uname -n | cut -f1 -d'.'`
 +
 +==== Lesen unter FreeBSD ====
 +   # zpool import backup
 +
 +==== Lesen unter Linux ====
 +Zum Einbinden eines vorhandenen Geräts mit ZFS reicht die installation 
 +
 +   # apt install zfsutils-linux
 +
 +Initialer import aller vorhandenen Pools
 +
 +   # zpool import -a -d /dev/disk/by-id/<device_id>
 +
 +Pools listen
 +
 +   # zpool list
 +
 +
  
nas/zfs.1639595466.txt.gz · Last modified: 2021/12/15 19:11 by Martin