> > I would think only the casesensitivity=mixed should have to be set at
> > creation time, that casesensitivity=insensitive could be set at any
> > time.  Hmmm.
> > 
> 
> We don't allow this for a couple of reasons.  If the file system was 
> case-sensitive or mixed and you suddenly make it insensitive, you 
> potentially create name conflicts:
> 
> % ls
> Readme README readme
> 
> if we make this case-insensitive all of sudden you've got two files that 
> can no longer be looked up.
> 
> The other reason is performance.  Knowing beforehand that we need to 
> track or disallow case conflicts helps us to optimize to keep lookups fast.
> 
> -tim
> 

Thank you for the clarification, and the explanation. I can see there are 
serious problems with ever being able to go from case-sensitive or mixed to 
case-insensitive. However, to aid with migration from existing ZFS filesystems 
that don't have the casesensitivity option to newer ZFS versions with the 
option it would be very helpful to have some kind of an optimization routine to 
allow changing from case-insensitive to mixed. This would make it much easier 
to transition from Samba to CIFS Server.

I would much prefer to wait several hours for an optimization routine to run in 
converting from case-sensitive to mixed on a newly imported filesystem than to 
have to migrate the data to a new filesystem.

Thank you.
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to