Re: [zfs-discuss] path-name encodings

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

Re: [zfs-discuss] raidz in zfs questions

2008-03-05 Thread Marcus Sundman
Chris Gilligan [EMAIL PROTECTED] wrote: 2. in a raidz do all the disks have to be the same size? Related question: Does a raidz have to be either only full disks or only slices, or can it be mixed? E.g., can you do a 3-way raidz with 2 complete disks and one slice (of equal size as the disks) on

Re: [zfs-discuss] raidz in zfs questions

2008-03-05 Thread Adam Leventhal
2. in a raidz do all the disks have to be the same size? Disks don't have to be the same size, but only as much space will be used on the larger disks will be used as is available on the smallest disk. In other words, there's no benefit to be gained from this approach. Related question:

Re: [zfs-discuss] path-name encodings

2008-03-05 Thread Joerg Schilling
Marcus Sundman [EMAIL PROTECTED] wrote: [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

Re: [zfs-discuss] path-name encodings

2008-03-05 Thread Joerg Schilling
Bart Smaalders [EMAIL PROTECTED] wrote: The OS has no way of merging your various encodings. If I create a directory, and have people from around the world create a file in that directory named after themselves in their own character sets, what should I see when I invoke: % ls -l | less

[zfs-discuss] On Disk Encryption Projects: ZFS lofi Crypto at LOSUG 19/03

2008-03-05 Thread Joy Marshall
We are lucky to have Darren Moffatt, Sun Senior Staff Engineer and Project Lead for the ZFS lofi Crypto On Disk Encryption OpenSolaris project speaking at the next LOSUG meeting on 19th March 2008. For full details, take a look at http://www.opensolaris.org/os/project/losug/ don't forget to

Re: [zfs-discuss] path-name encodings

2008-03-05 Thread Anton B. Rang
Do you happen to know where programs in (Open)Solaris look when they want to know how to encode text to be used in a filename? Is it LC_CTYPE? In general, they don't. Command-line utilities just use the sequence of bytes entered by the user. GUI-based software does as well, but the encoding

Re: [zfs-discuss] path-name encodings

2008-03-05 Thread Marcus Sundman
Anton B. Rang [EMAIL PROTECTED] wrote: Do you happen to know where programs in (Open)Solaris look when they want to know how to encode text to be used in a filename? Is it LC_CTYPE? In general, they don't. Command-line utilities just use the sequence of bytes entered by the user.

[zfs-discuss] Replacing failing drive

2008-03-05 Thread Matt Cohen
Hi. We have a hard drive failing in one of our production servers. The server has two drives, mirrored. It is split between UFS with SVM, and ZFS. Both drives are setup as follows. The drives are c0t0d0 and c0t1d0. c0t1d0 is the failing drive. slice 0 - 3.00GB UFS (root partition) slice 1

Re: [zfs-discuss] raidz in zfs questions

2008-03-05 Thread Cindy . Swearingen
Chris, You can replace the disks one at a time with larger disks. No problem. You can also add another raidz vdev, but you can't add disks to an existing raidz vdev. See the sample output below. This might not solve all your problems, but should give you some ideas... Cindy # zpool create

Re: [zfs-discuss] path-name encodings

2008-03-05 Thread Boyd Adamson
Marcus Sundman [EMAIL PROTECTED] writes: So, you see, there is no way for me to use filenames intelligibly unless their encodings are knowable. (In fact I'm quite surprised that zfs doesn't (and even can't) know the encoding(s) of filenames. Usually Sun seems to make relatively sane design

Re: [zfs-discuss] raidz in zfs questions

2008-03-05 Thread Chris Gilligan
Chris, You can replace the disks one at a time with larger disks. No problem. You can also add another raidz vdev, but you can't add disks to an existing raidz vdev. See the sample output below. This might not solve all your problems, but should give you some ideas... Cindy Cindy,

Re: [zfs-discuss] raidz in zfs questions

2008-03-05 Thread Richard Elling
Chris Gilligan wrote: ok maybe i should rewrite my question in a better way. No, the reason nobody answered was that this a frequent FAQ, second only to CR 4852783 reduce pool capacity. Cindy, can we update the opensolaris.org FAQ to include some words about these two questions? -- richard

Re: [zfs-discuss] Replacing failing drive

2008-03-05 Thread Richard Elling
I won't comment on the SVM bits because I haven't used it in many years. For the ZFS bits you just need to detach it from the zpool, then attach after you replace the drive. -- richard Matt Cohen wrote: Hi. We have a hard drive failing in one of our production servers. The server has two

Re: [zfs-discuss] raidz in zfs questions

2008-03-05 Thread Chris Gilligan
Chris Gilligan wrote: ok maybe i should rewrite my question in a better way. No, the reason nobody answered was that this a frequent FAQ, second only to CR 4852783 reduce pool capacity. Famous last words but i thought i read everything in the FAQ but maybe i missed it and i want

Re: [zfs-discuss] raidz in zfs questions

2008-03-05 Thread Richard Elling
Chris Gilligan wrote: Chris Gilligan wrote: ok maybe i should rewrite my question in a better way. No, the reason nobody answered was that this a frequent FAQ, second only to CR 4852783 reduce pool capacity. Famous last words but i thought i read

Re: [zfs-discuss] raidz in zfs questions

2008-03-05 Thread Cindy . Swearingen
Chris, You would need to replace all the disks to see the expanded space. Otherwise, space on the 1-2 larger disks would be wasted. If you replace all the disks with larger disks, then yes, the disk space in the raidz config would be expanded. A ZFS mirrored config would be more flexible but it

[zfs-discuss] zfs send/recv question

2008-03-05 Thread Bill Shannon
If I do something like this: zfs snapshot [EMAIL PROTECTED] zfs send [EMAIL PROTECTED] tank.backup sleep 86400 zfs rename [EMAIL PROTECTED] [EMAIL PROTECTED] zfs snapshot [EMAIL PROTECTED] zfs send -I [EMAIL PROTECTED] [EMAIL PROTECTED] tank.incr Am I going to be able to restore the streams?

Re: [zfs-discuss] path-name encodings

2008-03-05 Thread Anton B. Rang
In general, they don't. Command-line utilities just use the sequence of bytes entered by the user. Obviously that depends on the application. A command-line utility that interprets an normal xml file containing filenames know the characters but not the bytes. The same goes for

[zfs-discuss] zfs 32bits

2008-03-05 Thread Ben
Hi, I know that is not recommended by Sun to use ZFS on 32 bits machines but, what are really the consequences of doing this ? I have an old Bipro Xeon server (6 GB ram , 6 disks), and I would like to do a raidz with 4 disks with Solaris 10 update 4. Thanks, Ben