[zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Ross
I'm looking to create a new pool for storing CIFS files. I know that I need to set casesensitivity=mixed, but appears I can only set this option when using the zfs create command, I get told it's not a valid pool property if I try to use it with zpool create. Is there no way to create a pool

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Darren J Moffat
Ross wrote: I'm looking to create a new pool for storing CIFS files. I know that I need to set casesensitivity=mixed, but appears I can only set this option when using the zfs create command, I get told it's not a valid pool property if I try to use it with zpool create. Is there no way

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Darren J Moffat
Ross wrote: Good god. Talk about non intuitive. Thanks Darren! Why isn't that intuitive ? It is even documented in the man page. zpool create [-fn] [-o property=value] ... [-O file-system- property=value] ... [-m mountpoint] [-R root] pool vdev ... Is it possible for me to

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Ross Smith
It's not intuitive because when you know that -o sets options, an error message saying that it's not a valid property makes you think that it's not possible to do what you're trying. Documented and intuitive are very different things. I do appreciate that the details are there in the manuals,

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread David Dyer-Bennet
On Wed, February 4, 2009 05:14, Darren J Moffat wrote: Ross wrote: Good god. Talk about non intuitive. Thanks Darren! Why isn't that intuitive ? It is even documented in the man page. zpool create [-fn] [-o property=value] ... [-O file-system- property=value] ... [-m

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Ross
Good god. Talk about non intuitive. Thanks Darren! Is it possible for me to suggest a quick change to the zpool error message in solaris? Should I file that as an RFE? I'm just wondering if the error message could be changed to something like: property 'casesensitivity' is not a valid pool

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Ross
Yeah, I knew that zpool creates a root filesystem (since it's listed in zfs list), but I also knew these properties had to be set on creation, not after, so I figured zpool -o was the way to do it. Completely threw me when zpool -o said it wasn't a valid property, I'd never have thought to

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Brad
If you have an older Solaris release using ZFS and Samba, and you upgrade to a version with CIFS support, how do you ensure the file systems/pools have casesensitivity mixed? -- This message posted from opensolaris.org ___ zfs-discuss mailing list

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Ross
You can check whether it's set with: $ zfs get casesensitivity pool/filesystem If you're using CIFS, you need that to return mixed or insensitive. If it returns sensitive, it will cause you problems. Unfortunately there's no way to change this setting on an existing filesystem, so if you do

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Frank Cusack
On February 4, 2009 8:39:13 AM -0800 Ross myxi...@googlemail.com wrote: Yeah, I knew that zpool creates a root filesystem (since it's listed in zfs list), but I also knew these properties had to be set on creation, not after, so I figured zpool -o was the way to do it. sorry, which properties

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Darren J Moffat
Frank Cusack wrote: On February 4, 2009 8:39:13 AM -0800 Ross myxi...@googlemail.com wrote: Yeah, I knew that zpool creates a root filesystem (since it's listed in zfs list), but I also knew these properties had to be set on creation, not after, so I figured zpool -o was the way to do it.

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread David Dyer-Bennet
On Wed, February 4, 2009 11:05, Ross wrote: You can check whether it's set with: $ zfs get casesensitivity pool/filesystem If you're using CIFS, you need that to return mixed or insensitive. If it returns sensitive, it will cause you problems. It will? What symptoms? Unfortunately

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Ross
Well for one, occasional 'file not found' errors when programs (or shortcuts) check whether a file exists if the case is wrong. And you can expect more problems too. Windows systems are case insensitive, so there's nothing stopping a program referring to one of it's files as file, File and

Re: [zfs-discuss] Any way to set casesensitivity=mixed on the main pool?

2009-02-04 Thread Miles Nordin
r == Ross myxi...@googlemail.com writes: r Suffice to say that while you might get away with running ZFS r and CIFS in case sensitive mode for a bit, sooner or later r it's going to go horribly wrong. It will work okay with Samba, though. pgpcMQSPMQMx5.pgp Description: PGP