> AFAIK, the manpage is accurate. The space "used" by a snapshot is exactly > the amount of space that will be freed up when you run 'zfs destroy > <snapshot>'. Once that operation completes, 'zfs list' will show that the > space "used" by adjacent snapshots has changed as a result. > > Unfortunately, at this time there is no way to answer the question "how > much space would be freed up if I were to delete these N snapshots". We > have some ideas on how to express this, but it will probably be some time > before we are able to implement it.
I think some of us may have expectations that this is different from having used Network Appliance snapshots, where this value is visible (and often used when freeing space). Is the problem of displaying the potential space freed by multiple destructions one of calculation (do you have to walk snapshot trees?) or one of formatting and display? > As I mentioned, you need only wait until 'zfs destroy' finishes to see the > updated accounting from 'zfs list'. So if reaching a hard target was necessary, we could just delete snapshots in age order, checking space after each, until the target space became available. But there would be no way to see beforehand how many that would be, or if it was worth starting the process if some snapshots are special and not available for deletion. -- Darren Dunham [EMAIL PROTECTED] Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss