Re: [zfs-discuss] how to know available disk space

2013-02-08 Thread Jim Klimov
On 2013-02-08 22:47, Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) wrote: Maybe this isn't exactly what you need, but maybe: for fs in `zfs list -H -o name` ; do echo $fs ; zfs get reservation,refreservation,usedbyrefreservation $fs ; done What is the sacramental purpose of such co

Re: [zfs-discuss] how to know available disk space

2013-02-08 Thread Pasi Kärkkäinen
On Fri, Feb 08, 2013 at 09:47:38PM +, Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) wrote: > > From: Pasi Kärkkäinen [mailto:pa...@iki.fi] > > > > What's the correct way of finding out what actually uses/reserves that 1023G > > of FREE in the zpool? > > Maybe this isn't exactly wh

Re: [zfs-discuss] how to know available disk space

2013-02-08 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
> From: Pasi Kärkkäinen [mailto:pa...@iki.fi] > > What's the correct way of finding out what actually uses/reserves that 1023G > of FREE in the zpool? Maybe this isn't exactly what you need, but maybe: for fs in `zfs list -H -o name` ; do echo $fs ; zfs get reservation,refreservation,usedbyrefr

Re: [zfs-discuss] how to know available disk space

2013-02-08 Thread Pasi Kärkkäinen
On Wed, Feb 06, 2013 at 08:03:13PM -0700, Jan Owoc wrote: > On Wed, Feb 6, 2013 at 4:26 PM, Edward Ned Harvey > (opensolarisisdeadlongliveopensolaris) > wrote: > > > > When I used "zpool status" after the system crashed, I saw this: > > NAME SIZE ALLOC FREE EXPANDSZCAP DEDUP HEALTH

Re: [zfs-discuss] how to know available disk space

2013-02-07 Thread Richard Elling
On Feb 6, 2013, at 5:17 PM, Gregg Wonderly wrote: > This is one of the greatest annoyances of ZFS. I don't really understand > how, a zvol's space can not be accurately enumerated from top to bottom of > the tree in 'df' output etc. Why does a "zvol" divorce the space used from > the root of

Re: [zfs-discuss] how to know available disk space

2013-02-06 Thread Jan Owoc
On Wed, Feb 6, 2013 at 4:26 PM, Edward Ned Harvey (opensolarisisdeadlongliveopensolaris) wrote: > > When I used "zpool status" after the system crashed, I saw this: > NAME SIZE ALLOC FREE EXPANDSZCAP DEDUP HEALTH ALTROOT > storage 928G 568G 360G -61% 1.00x ONLIN

Re: [zfs-discuss] how to know available disk space

2013-02-06 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
> From: Gregg Wonderly [mailto:gregg...@gmail.com] > > This is one of the greatest annoyances of ZFS.  I don't really understand how, > a zvol's space can not be accurately enumerated from top to bottom of the > tree in 'df' output etc.  Why does a "zvol" divorce the space used from the > root of

Re: [zfs-discuss] how to know available disk space

2013-02-06 Thread Gregg Wonderly
This is one of the greatest annoyances of ZFS. I don't really understand how, a zvol's space can not be accurately enumerated from top to bottom of the tree in 'df' output etc. Why does a "zvol" divorce the space used from the root of the volume? Gregg Wonderly On Feb 6, 2013, at 5:26 PM, Ed

[zfs-discuss] how to know available disk space

2013-02-06 Thread Edward Ned Harvey (opensolarisisdeadlongliveopensolaris)
I have a bunch of VM's, and some samba shares, etc, on a pool. I created the VM's using zvol's, specifically so they would have an appropriate refreservation and never run out of disk space, even with snapshots. Today, I ran out of disk space, and all the VM's died. So obviously it didn't wor