mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-30 05:02:54 +08:00
Add files via upload
This commit is contained in:
parent
d172a50899
commit
660766185c
19
proxmox/proxmox-del-fleece-datasets.sh
Normal file
19
proxmox/proxmox-del-fleece-datasets.sh
Normal file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -u
|
||||
|
||||
zfs list |grep fleece
|
||||
|
||||
echo "$(date) - About to destroy the above fleece datasets - ^C to backout or Enter to proceed"
|
||||
read
|
||||
|
||||
zfs-killsnaps.sh fleece
|
||||
|
||||
for fd in $(zfs list |grep fleece |awk '{print $1}'); do
|
||||
echo "$fd"
|
||||
zfs destroy "$fd"
|
||||
done
|
||||
|
||||
zfs list |grep fleece
|
||||
exit;
|
Loading…
x
Reference in New Issue
Block a user