Re: [zfs-discuss] want to intercept all IO on ZFS file sytem

2008-03-12 Thread Darren J Moffat
shriram agarwal wrote: > hi , > i want to intercept IO on ZFS at vnode layer, i changed vnodeops pointer for > zfs in vfs frame work but i only get IO for creating new file but i dont get > for read,lookup,write,changing setattribute etc. > > can somebody explain why ? and how can i achieve that

[zfs-discuss] df -[k|h] SegFault / coredump after creating zpool...

2008-03-12 Thread Solaris
Greetings, I have Sun Fire 4600 running Solaris 10, running Sun Cluster 3.2. SunOS hubdb004 5.10 Generic_120012-14 i86pc i386 i86pc We ran into some space issues in /usr today, so as a quick fix, I created a slice (c5t0d0s12) with about 25GB of disk in order to create some zfs filesystems with m

Re: [zfs-discuss] df -[k|h] SegFault / coredump after creating zpool...

2008-03-12 Thread Richard Elling
If df dumps core, then it is broken. Please file a bug against it. -- richard Solaris wrote: > Greetings, > > I have Sun Fire 4600 running Solaris 10, running Sun Cluster 3.2. > > SunOS hubdb004 5.10 Generic_120012-14 i86pc i386 i86pc > > We ran into some space issues in /usr today, so as a qui

[zfs-discuss] Mixing RAIDZ and RAIDZ2 zvols in the same zpool

2008-03-12 Thread Scott Gaspard
I have a customer who has implemented the following layout: As you can see, he has mostly raidz zvols but has one raidz2 in the same zpool. What are the implications here? Is this a bad thing to do? Please elaborate. Thanks, Scott Gaspard [EMAIL PROTECTED] > NAMESTATE REA

Re: [zfs-discuss] Mixing RAIDZ and RAIDZ2 zvols in the same zpool

2008-03-12 Thread Robert Milkowski
Hello Scott, Wednesday, March 12, 2008, 4:41:21 PM, you wrote: SG> I have a customer who has implemented the following layout: As you can SG> see, he has mostly raidz zvols but has one raidz2 in the same zpool. SG> What are the implications here? Is this a bad thing to do? Please SG> elabora

[zfs-discuss] Clearing corrupted file errors

2008-03-12 Thread Ben Middleton
Hi, Sorry if this is a RTM issue - but I wanted to be sure before continuing. I received a corrupted file error on one of my pools. I removed the file, and the status command now shows the following: > zpool status -v rpool pool: rpool state: ONLINE status: One or more devices has experience

Re: [zfs-discuss] Clearing corrupted file errors

2008-03-12 Thread eric kustarz
On Mar 12, 2008, at 12:35 PM, Ben Middleton wrote: > Hi, > > Sorry if this is a RTM issue - but I wanted to be sure before > continuing. I received a corrupted file error on one of my pools. I > removed the file, and the status command now shows the following: > >> zpool status -v rpool > p

Re: [zfs-discuss] Mixing RAIDZ and RAIDZ2 zvols in the same zpool

2008-03-12 Thread A Darren Dunham
On Wed, Mar 12, 2008 at 11:41:21AM -0500, Scott Gaspard wrote: > I have a customer who has implemented the following layout: As you can > see, he has mostly raidz zvols but has one raidz2 in the same zpool. > What are the implications here? Is this a bad thing to do? Please > elaborate. It's

Re: [zfs-discuss] Mixing RAIDZ and RAIDZ2 zvols in the same zpool

2008-03-12 Thread Adam Leventhal
On Wed, Mar 12, 2008 at 09:59:53PM +, A Darren Dunham wrote: > It's not *bad*, but as far as I'm concerned, it's wasted space. > > You have to deal with the pool as a whole as having single-disk > redundancy for failure modes. So the fact that one section of it has > two-disk redundancy doesn

[zfs-discuss] ZFS ACLs/Samba integration

2008-03-12 Thread Paul B. Henson
I'm currently prototyping a Solaris file server that will dish out user home directories and group project directories via NFSv4 and Samba. I have samba configured and integrated into our local active directory, with ACL mapping working. I'm a little confused as to the behavior of the ZFS ACL tho

Re: [zfs-discuss] ZFS ACLs/Samba integration

2008-03-12 Thread Roy Butler
Paul B. Henson wrote: > I'm currently prototyping a Solaris file server that will dish out user > home directories and group project directories via NFSv4 and Samba. > > I have samba configured and integrated into our local active directory, > with ACL mapping working. I'm a little confused as to

Re: [zfs-discuss] ZFS ACLs/Samba integration

2008-03-12 Thread Paul B. Henson
On Wed, 12 Mar 2008, Roy Butler wrote: > CIFS ACLs and NFS ACLs are not on a convergence course, are they? Maybe NFSv4 ACLs (the ZFS native ACL) are based on CIFS/NT ACLs and virtually identical. The Sun version of Samba does just about a perfect mapping between them. > a NetApp could do some

[zfs-discuss] repairing corrupted files?

2008-03-12 Thread Richard Elling
Occasionally the topic arises about what to do when a file is corrupted. ZFS will tell you about it, but what then? Usually the conversation then degenerates into how some people can tolerate broken mp3 files or whatever. Well, the other day I found a corrupted file which gave me an opportunity

Re: [zfs-discuss] want to intercept all IO on ZFS file sytem

2008-03-12 Thread Anton B. Rang
> i want to intercept IO on ZFS at vnode layer, > i changed vnodeops pointer for zfs in vfs frame work > but i only get IO for creating new file but i dont > get for read,lookup,write,changing setattribute > etc. can somebody explain why ? Which vnodeops pointer did you change? ZFS, unlike most f

Re: [zfs-discuss] repairing corrupted files?

2008-03-12 Thread [EMAIL PROTECTED]
Hi Richard, Richard Elling wrote: > Occasionally the topic arises about what to do when a file is > corrupted. ZFS will tell you about it, but what then? Usually > the conversation then degenerates into how some people can > tolerate broken mp3 files or whatever. > > Well, the other day I found a