ZFS destroy pool

hackmann

Renowned Member
Jan 6, 2013
226
13
83
Guten morgen,

ich setzte Proxmox 5 ein. Ich habe am Server eine Externe USB Festplatte angeschlossen.
lsscsi
[6:0:0:0] disk Toshiba External USB 3.0 0 /dev/sdd

Diese möchte ich für Snapshots einrichten.

Schritte der Einrichtung

zpool create -f usbbackup /dev/sdd
zfs create usbbackup/server

Danach wollte ich den Pool wieder entfernen "zum Testen"

zfs destroy -r usbbackup

aber das scheint nicht zu gehen!

zpool status | grep usbbackup
pool: usbbackup
usbbackup ONLINE 0 0 0

Der Pool wurde nicht gelöscht

mount | grep usbbackup
usbbackup on /usbbackup type zfs (rw,xattr,noacl)

Danach führte ich ein

umount -l usbbackup
zfs destroy -r usbbackup
zpool status | grep usbbackup
pool: usbbackup
usbbackup ONLINE 0 0 0

Wie kann ich diesen Pool löschen?

vielen dank
 
'zfs' ist für operationen auf datasets/zvols, 'zpool' für operationen auf pools. analog zu 'zpool create' gibt es daher auch ein 'zpool destroy' um einen pool zu 'löschen'. siehe auch die man pages 'zfs' und 'zpool' ;)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!