ajout et organisation de todo
il y a peut etre un souci dans la facon de faire zfs clone puis promote...
This commit is contained in:
parent
1ac295076e
commit
ef8ce263ba
31
upsnapz.sh
31
upsnapz.sh
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Time-stamp: <2025-02-19 06:55:25 nomad>
|
||||
# Time-stamp: <2025-02-22 07:48:14 nomad>
|
||||
|
||||
# Michel Le Cocq <lecocq@ipgp.fr>
|
||||
# <nomad@neuronfarm.net>
|
||||
@ -23,16 +23,35 @@
|
||||
# - gh
|
||||
# - full sudo permission
|
||||
|
||||
# +------------------------------------------------------------------------------------------------+
|
||||
# To do or not :
|
||||
#
|
||||
# ajouter zpool upgrade or not
|
||||
# ajouter question cleanup zroot
|
||||
# - ajouter zpool upgrade or not
|
||||
# - ajouter question cleanup zroot
|
||||
# - regarder si un nouveau kernel existe et si oui faire ce qu'il y a a faire
|
||||
# - verifier que les noms des zroot/ROOT/vol sont conformes au format attendu
|
||||
# - verfier que 'gh auth status' fonctionne avant de l'utiliser (auth)
|
||||
#
|
||||
# regarder si un nouveau kernel existe et si oui faire ce qu'il y a a faire
|
||||
# - souci dans clone promote oui non !?
|
||||
# je fais dans la fonction askpromote
|
||||
# sudo zfs clone $bootfs@$snapname $parents/$sugsname
|
||||
# sudo zfs promote $parents/$sugsname
|
||||
# je fais ca pour que : promote clone dataset no longer depend on origin snapshot
|
||||
#
|
||||
# verifier que les noms des zroot/ROOT/vol sont conformes au format attendu
|
||||
# Current available bootfs:
|
||||
# NAME USED USEDSNAP
|
||||
# zroot/ROOT/debian_trixie_2025_02_03 7.58M 0B
|
||||
# zroot/ROOT/debian_trixie_2025_02_08 3.25M 0B
|
||||
# zroot/ROOT/debian_trixie_2025_02_08_2025-02-08-185711 7.57M 0B
|
||||
# zroot/ROOT/debian_trixie_2025-02-08-214321 2.25M 0B
|
||||
# zroot/ROOT/debian_trixie_2025_02_12 7.17M 0B
|
||||
# zroot/ROOT/debian_trixie-rollback_2025_02_12 5.15M 0B
|
||||
# zroot/ROOT/debian_trixie-Rn_2025_02_12 31.9G 21.6G <- fait depuis zfs boot menu
|
||||
# zroot/ROOT/debian_trixie_2025_02_16 2.16M 0B
|
||||
# zroot/ROOT/debian_trixie_2025_02_19 1.90M 0B
|
||||
# zroot/ROOT/debian_trixie_2025_02_22 5.72G 3.20G
|
||||
#
|
||||
# ... check gh auth status : gh auth status
|
||||
# +------------------------------------------------------------------------------------------------+
|
||||
|
||||
function cleansnap
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user