Zfs and Solaris 10: a "nice" redundand clone and snapshot situation
0
votes
0
answers
23
views
I have this situation now
zfs list -t snapshot|grep prova
provapool/fs2@oggi 1K - 31K -
provapool/fs3@domani 19K - 32K -
provapool/fs5@domani 1K - 32.5K -
I want to remove "fs2@oggi"
zfs destroy provapool/fs2@oggi
cannot destroy 'provapool/fs2@oggi': snapshot has dependent clones
use '-R' to destroy the following datasets:
provapool/fs1
provapool/fs4
provapool/fs5@domani
provapool/fs5
provapool/fs3@domani
provapool/fs3
I want to preserve fs3 fs4 fs5 so I promote it to independent fs
zfs promote provapool/fs1
zfs promote provapool/fs4
zfs promote provapool/fs5
I want to remove "fs2@oggi" and...
zfs destroy provapool/fs2@oggi
cannot destroy 'provapool/fs2@oggi': snapshot has dependent clones
use '-R' to destroy the following datasets:
provapool/fs1
provapool/fs4
provapool/fs5@domani
provapool/fs5
provapool/fs3@domani
provapool/fs3
How to exit with this strange situation?
I know a fast way: backup all, destroy with -R option and re-create the three fs, anyone know a more good solution?
Asked by elbarna
(13690 rep)
Feb 23, 2025, 06:23 PM