全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

註冊

登錄


全部 新建 註冊 登錄

All gists matching topic ZFS

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新

Z / zfs_release_holds.sh

0 喜歡
0 分支
1 檔案
最後活躍 1760505205
Bash ZFS
1 # zfs.hold.release: $zfs_dataset $zfs_hold_name "mirror"
2 # arc - archive
3 # arc or mirror
4 # How to check that all ZFS snapshots within a pool are without holds before destroying that pool - Server Fault - https://serverfault.com/questions/456301/how-to-check-that-all-zfs-snapshots-within-a-pool-are-without-holds-before-destr
5 alias zfs.release="zfs.hold.release"
6 zfs.hold.release(){
7
8 zfs_dataset="${1:-""}"
9 zfs_hold_name="${2:-"mirror"}"
10 zfs_snapshot_userrefs="$(zfs get -Ht snapshot userrefs "$zfs_dataset" | grep -v $'\t'0 | cut -d $'\t' -f 1 )"
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 56ms⋅

繁體中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文