Re: [zfs-discuss] Mirroring to a smaller disk

2008-03-04 Thread Jonathan Loran
Patrick Bachmann wrote: > Jonathan, > > On Mon, Mar 03, 2008 at 11:14:14AM -0800, Jonathan Loran wrote: > >> What I'm left with now is to do more expensive modifications to the new >> mirror to increase its size, or using zfs send | receive or rsync to >> copy the data, and have an extended

Re: [zfs-discuss] zfs send vs. cp

2008-03-04 Thread Robert Milkowski
Hello Roch, Monday, March 3, 2008, 1:53:11 PM, you wrote: RB> Le 3 mars 08 à 09:58, Robert Milkowski a écrit : >> Hello zfs-discuss, >> >> >> I had a zfs file system with recordsize=8k and a couple of large >> files. While doing zfs send | zfs recv I noticed it's doing >> about 15

Re: [zfs-discuss] path-name encodings

2008-03-04 Thread Marcus Sundman
Bart Smaalders <[EMAIL PROTECTED]> wrote: > Marcus Sundman wrote: > > Bart Smaalders <[EMAIL PROTECTED]> 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 filen

Re: [zfs-discuss] path-name encodings

2008-03-04 Thread Joerg Schilling
"Anton B. Rang" <[EMAIL PROTECTED]> wrote: > Yes -- that's why Apple includes an encoding byte in both HFS and HFS+. (In > HFS+, filenames are normalized to 16-bit Unicode, but the encoding is still > useful in choosing how to recompose the characters, and in providing hints > for applications

Re: [zfs-discuss] Dealing with Single Bit Flips - WAS: Ca use fordata corruption?

2008-03-04 Thread Webmail
> Maybe an option to scrub... something that says "work on bitflips for > bad blocks", or "work on bitflips for bad blocks in this file" I've suggested this, too. But in retrospect, there's no way to detect whether a bad block is indeed due a bitflip or not. So each checksum error, ZFS might just

Re: [zfs-discuss] path-name encodings

2008-03-04 Thread Marcus Sundman
"Anton B. Rang" <[EMAIL PROTECTED]> wrote: > > OK, thanks. I still haven't got any answer to my original question, > > though. I.e., is there some way to know what text the > > filename is, or do I have to make a more or less wild guess what > > encoding the program that created the file used? > >

Re: [zfs-discuss] path-name encodings

2008-03-04 Thread Marcus Sundman
[EMAIL PROTECTED] (Joerg Schilling) wrote: > [...] ISO-8859-1 (the low 8 bits of UNOICODE) [...] Unicode is not an encoding, but you probably mean "the low 8 bits of UCS-2" or "the first 256 codepoints in Unicode" or somesuch. Regards, Marcus ___ zfs-

Re: [zfs-discuss] path-name encodings

2008-03-04 Thread Joerg Schilling
Marcus Sundman <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Joerg Schilling) wrote: > > [...] ISO-8859-1 (the low 8 bits of UNOICODE) [...] > > Unicode is not an encoding, but you probably mean "the low 8 bits of > UCS-2" or "the first 256 codepoints in Unicode" or somesuch. Unicode _is_ an en

[zfs-discuss] What is likely the best way to accomplish this task?

2008-03-04 Thread Brian Hechinger
I realize I can't remove devices from a vdev, which, well, sucks and all, but I'm not going to complain about that. ;) I have 4x500G disks in a RAIDZ. I'd like to repurpose one of them as I'm finding that all that space isn't really needed and that one disk would serve me much better elsewhere (a

Re: [zfs-discuss] path-name encodings

2008-03-04 Thread Joerg Schilling
Bart Smaalders <[EMAIL PROTECTED]> wrote: > > OK, thanks. I still haven't got any answer to my original question, > > though. I.e., is there some way to know what text the filename is, or > > do I have to make a more or less wild guess what encoding the program > > that created the file used? > >

Re: [zfs-discuss] What is likely the best way to accomplish this task?

2008-03-04 Thread Tim
On 3/4/08, Brian Hechinger <[EMAIL PROTECTED]> wrote: > > I realize I can't remove devices from a vdev, which, well, sucks and > all, but I'm not going to complain about that. ;) > > I have 4x500G disks in a RAIDZ. I'd like to repurpose one of them as > I'm finding that all that space isn't really

Re: [zfs-discuss] What is likely the best way to accomplish this task?

2008-03-04 Thread Rob Logan
> have 4x500G disks in a RAIDZ. I'd like to repurpose [...] as the second > half of a mirror in a machine going into colo. rsync or zfs send -R the 128G to the machine going to the colo if you need more space in colo, remove one disk faulting sys1 and add (stripe) it on colo (note: you will ne

Re: [zfs-discuss] What is likely the best way to accomplish this task?

2008-03-04 Thread Brian Hechinger
On Tue, Mar 04, 2008 at 09:48:05AM -0500, Rob Logan wrote: > > have 4x500G disks in a RAIDZ. I'd like to repurpose [...] as the second > > half of a mirror in a machine going into colo. > > rsync or zfs send -R the 128G to the machine going to the colo Yeah, that's the fallback plan, which I w

Re: [zfs-discuss] Mirroring to a smaller disk

2008-03-04 Thread Patrick Bachmann
Jonathan, On Tue, Mar 04, 2008 at 12:37:33AM -0800, Jonathan Loran wrote: > I'm 'not sure I follow how this would work. The keyword here is thin provisioning. The sparse zvol only uses as much space as the actual data needs. So, if you use a sparse zvol, you may mirror to a smaller "disk", iff

Re: [zfs-discuss] Dealing with Single Bit Flips - WAS: Cause for data corruption?

2008-03-04 Thread Richard Elling
[slightly different angle below...] Nathan Kroenert wrote: > Hey, Bob, > > Though I have already got the answer I was looking for here, I thought > I'd at least take the time to provide my point of view as to my *why*... > > First: I don't think any of us have forgotten the goodness that ZFS's >

Re: [zfs-discuss] Mirroring to a smaller disk

2008-03-04 Thread Jonathan Loran
Patrick Bachmann wrote: Jonathan, On Tue, Mar 04, 2008 at 12:37:33AM -0800, Jonathan Loran wrote: I'm 'not sure I follow how this would work. The keyword here is thin provisioning. The sparse zvol only uses as much space as the actual data needs. So, if you use a sparse zvol, you m

Re: [zfs-discuss] Dealing with Single Bit Flips - WAS: Cause for data corruption?

2008-03-04 Thread Bob Friesenhahn
On Tue, 4 Mar 2008, Richard Elling wrote: > > Also note: the checksums don't have enough information to > recreate the data for very many bit changes. Hashes might, > but I don't know anyone using sha256. It is indeed important to recognize that the checksums are a way to detect that the data is

Re: [zfs-discuss] path-name encodings

2008-03-04 Thread Marcus Sundman
[EMAIL PROTECTED] (Joerg Schilling) wrote: > Marcus Sundman <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] (Joerg Schilling) wrote: > > > [...] ISO-8859-1 (the low 8 bits of UNOICODE) [...] > > > > Unicode is not an encoding, but you probably mean "the low 8 bits of > > UCS-2" or "the first 256 c

Re: [zfs-discuss] path-name encodings

2008-03-04 Thread Bart Smaalders
Marcus Sundman wrote: > Bart Smaalders <[EMAIL PROTECTED]> wrote: >> UTF8 is the answer here. If you care about anything more than simple >> ascii and you work in more than a single locale/encoding, use UTF8. >> You may not understand the meaning of a filename, but at least >> you'll see the same

Re: [zfs-discuss] Dealing with Single Bit Flips - WAS: Ca use fordata corruption?

2008-03-04 Thread Webmail
> Also note: the checksums don't have enough information to > recreate the data for very many bit changes. Hashes might, > but I don't know anyone using sha256. My ~/Documents uses sha256 checksums, but then again, it also uses copies=2 :) -mg ___ zf

[zfs-discuss] raidz in zfs questions

2008-03-04 Thread Chris Gilligan
Guys i have 2 questions. 1. In zfs can you currently add more disks to an existing raidz? This is important to me as i slowly add disks to my system one at a time. 2. in a raidz do all the disks have to be the same size? This is the one thing that has always been a pain with a raid 5 as you need

[zfs-discuss] List of ZFS patches to be released with Solaris 10 U5

2008-03-04 Thread Ben Grele
Experts, Do you know where I could find the list of all the ZFS patches that will be released with Solaris 10 U5? My customer told me that they've seen such list for prior update releases. I've not been able to find anything like it in the usual places. TIA, Ben _

Re: [zfs-discuss] List of ZFS patches to be released with Solaris 10 U5

2008-03-04 Thread Dale Ghent
On Mar 4, 2008, at 5:13 PM, Ben Grele wrote: > Experts, > Do you know where I could find the list of all the ZFS patches that > will > be released with Solaris 10 U5? My customer told me that they've seen > such list for prior update releases. I've not been able to find > anything > like it in