[zfs-discuss] strange zpool error "bad config type 16 for stats"

2009-08-16 Thread Bruno Gade
I have messed up the zpool on my fileserver. It has 3 1TB disks in a z1 config. r...@metallica:~# uname -a SunOS metallica 5.11 snv_111b i86pc i386 i86pc Solaris r...@metallica:~# zpool import -f pool: rzpool id: 12681757329416170242 state: FAULTED status: One or more devices contains cor

[zfs-discuss] *Almost* empty ZFS filesystem - 14GB?

2009-08-16 Thread Chris Murray
Accidentally posted the below earlier against ZFS Code, rather than ZFS Discuss. My ESXi box now uses ZFS filesystems which have been shared over NFS. Spotted something odd this afternoon - a filesystem which I thought didn't have any files in it, weighs in at 14GB. Before I start deleting the

Re: [zfs-discuss] *Almost* empty ZFS filesystem - 14GB?

2009-08-16 Thread Tim Haley
Chris Murray wrote: Accidentally posted the below earlier against ZFS Code, rather than ZFS Discuss. My ESXi box now uses ZFS filesystems which have been shared over NFS. Spotted something odd this afternoon - a filesystem which I thought didn't have any files in it, weighs in at 14GB. Before

Re: [zfs-discuss] *Almost* empty ZFS filesystem - 14GB?

2009-08-16 Thread Dennis Clarke
> Chris Murray wrote: >> Accidentally posted the below earlier against ZFS Code, rather than ZFS >> Discuss. >> >> My ESXi box now uses ZFS filesystems which have been shared over NFS. >> Spotted something odd this afternoon - a filesystem which I thought >> didn't have any files in it, weighs in

Re: [zfs-discuss] *Almost* empty ZFS filesystem - 14GB?

2009-08-16 Thread Chris Murray
Thanks Tim. Results are below: # zfs list -t snapshot -r zp/nfs/esx_temp no datasets available # zfs get refquota,refreservation,quota,reservation zp/nfs/esx_temp NAME PROPERTYVALUE SOURCE zp/nfs/esx_temp refquotanone default zp/nfs/esx_temp refreservation

Re: [zfs-discuss] Books on File Systems and File System Programming

2009-08-16 Thread Anton B. Rang
There aren't many good books on file system design. The "VAX/VMS Internals and Data Structures" book by Goldenberg covers a fair amount of the RMS file system design along with its rationale. There is also a "VMS File System Internals" book which I haven't yet read. Apple's early Inside Macinto

Re: [zfs-discuss] *Almost* empty ZFS filesystem - 14GB?

2009-08-16 Thread Cyril Plisko
On Mon, Aug 17, 2009 at 12:31 AM, Dennis Clarke wrote: > >> Chris Murray wrote: >>> Accidentally posted the below earlier against ZFS Code, rather than ZFS >>> Discuss. >>> >>> My ESXi box now uses ZFS filesystems which have been shared over NFS. >>> Spotted something odd this afternoon - a filesys

Re: [zfs-discuss] *Almost* empty ZFS filesystem - 14GB?

2009-08-16 Thread Dennis Clarke
>> what the heck is refreservation ??  8-) >> > > PSARC/2009/204 ZFS user/group quotas & space accounting [1] > Integrated in build 114 > > [1] http://arc.opensolaris.org/caselog/PSARC/2009/204/ > [2] http://mountall.blogspot.com/2009/05/sxce-build-114-is-out.html that was fast . Cyril, long tim

[zfs-discuss] libzfs API: sharenfs, sharesmb, shareiscsi, $custom ?

2009-08-16 Thread Jorgen Lundman
Hello list, As the developer of software that exports data/shares like that of NFS and Samba. (HTTP/UPnP export, written in C) I am curious if the libzfs API is flexible enough for me to create my own file-system attributes, similar to that of "sharenfs" and obtain this information in my soft

Re: [zfs-discuss] *Almost* empty ZFS filesystem - 14GB?

2009-08-16 Thread Thomas Burgess
i'm not sure if it applies to your situation, but when i FIRST starting using ZFS on freebsd, i noticed a similar error, where a filesystem would be totally empty and still show 14 GB space...it's weird but i remember this because i had quotas set (freebsd didn't have refquotas at the time). We ha

Re: [zfs-discuss] order bug, legacy mount and nfs sharing

2009-08-16 Thread Masafumi Ohta
Hi kurosan, kurosan wrotes; Hi, I've encountered this bug: http://www.opensolaris.org/jive/thread.jspa?threadID=108316&tstart=30 and to obviate to the problem I'm using legacy mounts. Now the system boot without problems, but nfs server doesn't start because couldn't find any share. So I've di

Re: [zfs-discuss] Books on File Systems and File System Programming

2009-08-16 Thread Sanjeev
On Fri, Aug 14, 2009 at 12:34:50PM +0200, Joerg Schilling wrote: > Louis-Fr?d?ric Feuillette wrote: > > > I saw this question on another mailing list, and I too would like to > > know. And I have a couple questions of my own. > > > > == Paraphrased from other list == > > Does anyone have any rec

Re: [zfs-discuss] libzfs API: sharenfs, sharesmb, shareiscsi, $custom ?

2009-08-16 Thread Cyril Plisko
Jorgen, > As the developer of software that exports data/shares like that of NFS and > Samba. (HTTP/UPnP export, written in C) I am curious if the libzfs API is > flexible enough for me to create my own file-system attributes, similar to > that of "sharenfs" and obtain this information in my soft