Post

NetApp y snapshots

NetApp y snapshots

NetApp y snapshots

Este post sirve para revisar estado de cabinas NetApp, consultar espacio, gestionar snapshots y preparar restauraciones puntuales.

Comprobaciones generales

1
2
3
4
5
system health status show
cluster show
node show
storage aggregate show
volume show

Espacio

1
2
3
df -h
volume show -fields size,available,used,percent-used
aggregate show-space

Snapshots

1
2
3
snapshot show -vserver <SVM> -volume <VOLUME>
snapshot create -vserver <SVM> -volume <VOLUME> -snapshot <SNAPSHOT>
snapshot delete -vserver <SVM> -volume <VOLUME> -snapshot <SNAPSHOT>

Restaurar desde snapshot

1
2
3
4
5
6
snapshot restore-file \
  -vserver <SVM> \
  -volume <VOLUME> \
  -snapshot <SNAPSHOT> \
  -path /ruta/ejemplo/fichero \
  -restore-path /ruta/ejemplo/fichero.restore

Restaurar snapshot completo

1
snapshot restore -vserver <SVM> -volume <VOLUME> -snapshot <SNAPSHOT>

Pure Storage relacionado

1
2
3
purevol list
purevol snap <VOLUME>
purevol copy <SNAPSHOT> <VOLUME_DESTINO>
This post is licensed under CC BY 4.0 by the author.