Re: [zfs-discuss] Cause for data corruption?

2008-02-27 Thread Nicolas Szalay
Le mardi 26 février 2008 à 05:59 -0800, Sandro a écrit : Hey Thanks for your answers guys. I'll run VTS to stresstest cpu and memory. And I just checked the block diagram of my motherboard (Gigabyte M61P-S3). It doesn't even have 64bit pci slots.. just standard old 33mhz 32bit pci ..

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread [EMAIL PROTECTED]
Hi Marcus, Marcus Sundman wrote: Are path-names text or raw data in zfs? I.e., is it possible to know what the name of a file/dir/whatever is, or do I have to make more or less wild guesses what encoding is used where? - Marcus I'm not sure what you are asking here. When a zfs file

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Lally Singh
Hmm, two thoughts on this: 1. For anyone interested, didn't VMS do something like this? Perhaps a look at its design and implementation would be useful here. 2. For the per-application issue, there are ways to handle that. First, make a ZFS api for providing file-level snapshots. Then, a

Re: [zfs-discuss] Cause for data corruption?

2008-02-27 Thread Sandro
haha very funny :D Just the controllers are on a 32bit PCI bus.. solaris itself is running 64bit: [EMAIL PROTECTED] /var/tmp/ # isainfo amd64 i386 And besides, a lot of our customers are having serious problems with their thumpers and zfs and stuff... This message posted from

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Uwe Dippel
[i]Even then, I'm still confused as to how I would do anything much useful with this over and above, say, 1 minute snapshots.[/i] Hi Nathan, I was hoping to be clear with my examples. Within that 1 minute the user has easily received the mail alert that 5 mails have arrived, has seen the

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Darren J Moffat
Marcus Sundman wrote: Nicolas Williams [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 05:54:29AM +0200, Marcus Sundman wrote: Nathan Kroenert [EMAIL PROTECTED] wrote: Are you indicating that the filesystem know's or should know what an application is doing?? Maybe snapshot file whenever a

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Kyle McDonald
[EMAIL PROTECTED] wrote: How would such snapshots appear and where? (Again, I disliked the file;X notation and the fact that a manual purge was required). I agree about the ';x' However (and I don't know what the patents are in this area.) Something like what clearcase does (an invisible

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread Marcus Sundman
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Marcus Sundman wrote: Are path-names text or raw data in zfs? I.e., is it possible to know what the name of a file/dir/whatever is, or do I have to make more or less wild guesses what encoding is used where? I'm not sure what you are asking

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Darren J Moffat
Kyle McDonald wrote: [EMAIL PROTECTED] wrote: How would such snapshots appear and where? (Again, I disliked the file;X notation and the fact that a manual purge was required). I agree about the ';x' However (and I don't know what the patents are in this area.) Something like what

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Gary Mills
On Wed, Feb 27, 2008 at 05:20:42AM -0500, Lally Singh wrote: 1. For anyone interested, didn't VMS do something like this? Perhaps a look at its design and implementation would be useful here. IBM MVS had generations. Each rewrite of a file created a new generation of that file. Referential

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread Darren J Moffat
See the description of the normalization and utf8only properties in the zfs(1) man page. I think this might help you. normalization =none | formD | formKCf Indicates whether the file system should perform a unicode normalization of file names whenever two

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Marcus Sundman
Nicolas Williams [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 05:54:29AM +0200, Marcus Sundman wrote: Nathan Kroenert [EMAIL PROTECTED] wrote: Are you indicating that the filesystem know's or should know what an application is doing?? Maybe snapshot file whenever a

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Casper . Dik
Uwe, I think you are assuming that zfs is cast in stone; features are added to ZFS almost on a weekly basis. If there is demand for a certain feature then at some point resources may be made available. What form would you want file versioning to take? I immensely disliked VMS ;X notation

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Jonathan Edwards
On Feb 27, 2008, at 8:36 AM, Uwe Dippel wrote: As much as ZFS is revolutionary, it is far away from being the 'ultimate file system', if it doesn't know how to handle event- driven snapshots (I don't like the word), backups, versioning. As long as a high-level system utility needs to be

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread Marcus Sundman
Darren J Moffat [EMAIL PROTECTED] wrote: See the description of the normalization and utf8only properties in the zfs(1) man page. I think this might help you. normalization =none | formD | formKCf That's apparently only for comparisons, so I don't see how it's relevant.

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Marcus Sundman
Darren J Moffat [EMAIL PROTECTED] wrote: Marcus Sundman wrote: Nicolas Williams [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 05:54:29AM +0200, Marcus Sundman wrote: Nathan Kroenert [EMAIL PROTECTED] wrote: Are you indicating that the filesystem know's or should know what an

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Kyle McDonald
Darren J Moffat wrote: Kyle McDonald wrote: [EMAIL PROTECTED] wrote: How would such snapshots appear and where? (Again, I disliked the file;X notation and the fact that a manual purge was required). I agree about the ';x' However (and I don't know what the patents are in this area.)

Re: [zfs-discuss] Performance with Sun StorageTek 2540

2008-02-27 Thread Bob Friesenhahn
On Wed, 27 Feb 2008, Cyril Plisko wrote: http://www.simplesystems.org/users/bfriesen/zfs-discuss/2540-zfs-performance.pdf Nov 26, 2008 ??? May I borrow your time machine ? ;-) Are there any stock prices you would like to know about? Perhaps you are interested in the outcome of the

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Bob Friesenhahn
On Wed, 27 Feb 2008, Nicolas Williams wrote: Maybe snapshot file whenever a write-filedescriptor is closed or somesuch? Again. Not enough. Some apps (many!) deal with multiple files. Or more significantly, with multiple pages. When using memory mapping the application may close its file

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Bob Friesenhahn
On Wed, 27 Feb 2008, Uwe Dippel wrote: As much as ZFS is revolutionary, it is far away from being the 'ultimate file system', if it doesn't know how to handle event-driven snapshots UFS == Ultimate File System ZFS == Zettabyte File System Perhaps you have these two confused? ZFS does not

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Justin Stringfellow
UFS == Ultimate File System ZFS == Zettabyte File System it's a nit, but.. UFS != Ultimate File System ZFS != Zettabyte File System cheers, --justin ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Nicolas Williams
On Wed, Feb 27, 2008 at 03:57:29PM +0200, Marcus Sundman wrote: Nicolas Williams [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 05:54:29AM +0200, Marcus Sundman wrote: Nathan Kroenert [EMAIL PROTECTED] wrote: Are you indicating that the filesystem know's or should know what an

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Nicolas Williams
On Wed, Feb 27, 2008 at 10:33:13AM -0500, Kyle McDonald wrote: Darren J Moffat wrote: Kyle McDonald wrote: [EMAIL PROTECTED] wrote: How would such snapshots appear and where? (Again, I disliked the file;X notation and the fact that a manual purge was required). I agree about

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Kyle McDonald
Nicolas Williams wrote: On Wed, Feb 27, 2008 at 10:33:13AM -0500, Kyle McDonald wrote: Darren J Moffat wrote: Kyle McDonald wrote: [EMAIL PROTECTED] wrote: How would such snapshots appear and where? (Again, I disliked the file;X notation and the fact that a

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Nicolas Williams
On Wed, Feb 27, 2008 at 12:57:12PM -0500, Kyle McDonald wrote: Nicolas Williams wrote: Make it an extended attribute called .zfs/snapshot/. Maybe I'm not up on how extended attributes work, but I don't see how that would let you review all the versions that file might have had. Use grep

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Nicolas Williams
On Wed, Feb 27, 2008 at 05:49:56PM +1100, Nathan Kroenert wrote: It occurred to me that we are likely missing the point here because Uwe is thinking of this as a One User on a System sort of perspective, whereas most of the rest of us are thinking of it from a 'Solaris' perspective, where

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Kyle McDonald
Nicolas Williams wrote: On Wed, Feb 27, 2008 at 12:57:12PM -0500, Kyle McDonald wrote: Nicolas Williams wrote: Make it an extended attribute called .zfs/snapshot/. Maybe I'm not up on how extended attributes work, but I don't see how that would let you review all the

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Nicolas Williams
On Wed, Feb 27, 2008 at 01:13:06PM -0500, Kyle McDonald wrote: Nicolas Williams wrote: man runat Oh! Cool! Is that the only way to access those attributes? or just the one that's most likely to work? man fsattr :) I can see how for running commands it'd be useful, but for

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Michael Schuster
[EMAIL PROTECTED] wrote: (Again, I disliked the file;X notation and the fact that a manual purge was required). You could set the number of revisions to keep; VMS would delete older ones. Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion'

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Chris Kirby
Nicolas Williams wrote: On Wed, Feb 27, 2008 at 01:13:06PM -0500, Kyle McDonald wrote: Nicolas Williams wrote: man runat Oh! Cool! Is that the only way to access those attributes? or just the one that's most likely to work? man fsattr :) I can see how for running commands it'd

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Nicolas Williams
On Wed, Feb 27, 2008 at 12:31:09PM -0600, Chris Kirby wrote: Er, good question! I think the shells would have to support it. A good question for Roland :) The shells don't actually have to care: $ cd /tmp $ touch f1 $ runat f1 sh I know that works. But why start a new process when

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Kyle McDonald
Nicolas Williams wrote: On Wed, Feb 27, 2008 at 12:31:09PM -0600, Chris Kirby wrote: Er, good question! I think the shells would have to support it. A good question for Roland :) The shells don't actually have to care: $ cd /tmp $ touch f1 $ runat f1 sh I know that

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Nicolas . Williams
Kyle McDonald wrote: Nicolas Williams wrote: On Wed, Feb 27, 2008 at 12:31:09PM -0600, Chris Kirby wrote: The shells don't actually have to care: $ cd /tmp $ touch f1 $ runat f1 sh I know that works. But why start a new process when the shell could have a built-in (or mod to the

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Chris Kirby
Nicolas Williams wrote: On Wed, Feb 27, 2008 at 12:31:09PM -0600, Chris Kirby wrote: Er, good question! I think the shells would have to support it. A good question for Roland :) The shells don't actually have to care: $ cd /tmp $ touch f1 $ runat f1 sh I know that works. But why

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Casper . Dik
On Wed, Feb 27, 2008 at 12:31:09PM -0600, Chris Kirby wrote: Er, good question! I think the shells would have to support it. A good question for Roland :) The shells don't actually have to care: $ cd /tmp $ touch f1 $ runat f1 sh I know that works. But why start a new process when

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Casper . Dik
Via interposers, most likely. It's in the kernel so it didn't need to interpose; it just has that functionality in the kernel modules. Not POSIX compliant, but that's how it is. Casper ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

[zfs-discuss] moving zfs filesystems between disks

2008-02-27 Thread Bill Shannon
I've just started using zfs. I copied data from a ufs filesystem on disk 1 to a zfs pool/filesystem on disk 2. Can I add disk 1 as a mirror for disk 2, and then remove disk 2 from the mirror, and end up with all the data back on disk 1 in zfs (after some amount of time, of course)? If disk 1 is

Re: [zfs-discuss] moving zfs filesystems between disks

2008-02-27 Thread Jeff Bonwick
Yes. Just say this: # zpool replace mypool disk1 disk2 This will do all the intermediate steps you'd expect: attach disk2 as a mirror of disk1, resilver, detach disk2, and grow the pool to reflect the larger size of disk1. Jeff On Wed, Feb 27, 2008 at 04:48:59PM -0800, Bill Shannon wrote:

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Wee Yeh Tan
On Wed, Feb 27, 2008 at 9:36 PM, Uwe Dippel [EMAIL PROTECTED] wrote: I was hoping to be clear with my examples. Within that 1 minute the user has easily received the mail alert that 5 mails have arrived, has seen the sender and deleted them. Without any trigger of some snapshot, or storage

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Wee Yeh Tan
On Wed, Feb 27, 2008 at 10:42 PM, Marcus Sundman [EMAIL PROTECTED] wrote: Darren J Moffat [EMAIL PROTECTED] wrote: Marcus Sundman wrote: Nicolas Williams [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 05:54:29AM +0200, Marcus Sundman wrote: Nathan Kroenert [EMAIL PROTECTED]

Re: [zfs-discuss] Can ZFS be event-driven or not?

2008-02-27 Thread Marcus Sundman
Wee Yeh Tan [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 10:42 PM, Marcus Sundman [EMAIL PROTECTED] wrote: Darren J Moffat [EMAIL PROTECTED] wrote: Marcus Sundman wrote: Nicolas Williams [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 05:54:29AM +0200, Marcus Sundman

[zfs-discuss] utf8only-property

2008-02-27 Thread Marcus Sundman
So, I set utf8only=on and try to create a file with a filename that is a byte array that can't be decoded to text using UTF-8. What's supposed to happen? Should fopen(), or whatever syscall 'touch' uses, fail? Should the syscall somehow escape utf8-incompatible bytes, or maybe replace them with ?s

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread Bart Smaalders
Marcus Sundman wrote: I'm unable to find more info about this. E.g., what does reject file names mean in practice? E.g., if a program tries to create a file using an utf8-incompatible filename, what happens? Does the fopen() fail? Would this normally be a problem? E.g., do tar and similar

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread Roland Mainz
Bart Smaalders wrote: Marcus Sundman wrote: I'm unable to find more info about this. E.g., what does reject file names mean in practice? E.g., if a program tries to create a file using an utf8-incompatible filename, what happens? Does the fopen() fail? Would this normally be a problem?

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread Tim Haley
Roland Mainz wrote: Bart Smaalders wrote: Marcus Sundman wrote: I'm unable to find more info about this. E.g., what does reject file names mean in practice? E.g., if a program tries to create a file using an utf8-incompatible filename, what happens? Does the fopen() fail? Would this normally

Re: [zfs-discuss] Possible interest for ZFS encryption

2008-02-27 Thread Bart Smaalders
Ian Collins wrote: Disk encryption easily defeated, research shows http://www.itpro.co.uk/storage/news/170304/disk-encryption-easily-defeated-research-shows.html Freezing RAM, whatever next? Ian Interesting... although not leaving system suspended to ram and zeroing ram on shutdown

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread Roland Mainz
Tim Haley wrote: Roland Mainz wrote: Bart Smaalders wrote: Marcus Sundman wrote: I'm unable to find more info about this. E.g., what does reject file names mean in practice? E.g., if a program tries to create a file using an utf8-incompatible filename, what happens? Does the fopen()

Re: [zfs-discuss] path-name encodings

2008-02-27 Thread Roland Mainz
Roland Mainz wrote: Tim Haley wrote: Roland Mainz wrote: Bart Smaalders wrote: Marcus Sundman wrote: I'm unable to find more info about this. E.g., what does reject file names mean in practice? E.g., if a program tries to create a file using an utf8-incompatible filename, what

Re: [zfs-discuss] moving zfs filesystems between disks

2008-02-27 Thread Jeff Bonwick
Oops -- I transposed 1 and 2 in the last sentence. Corrected version, and hopefully a bit easier to read: # zpool replace mypool olddisk newdisk This will do all the intermediate steps you'd expect: attach newdisk as a mirror of olddisk, resilver, detach olddisk, and grow the pool to reflect

[zfs-discuss] ZFS vs. Novell NSS

2008-02-27 Thread Alan Perry
I gave a talk on ZFS at a local user group meeting this evening. What I didn't know going in was that the meeting was hosted at a Novell consulting shop. I got asked a lot of what does ZFS do that NSS doesn't do questions that I could not answer (mostly because I know almost nothing about