Please support true case sensitivity with NFS

Discuss with the community any ideas you'd love to see in future DiskStations and DSM updates! We do our best to monitor and forward all of them, but we recommend to also use this form as our team will systematically see your suggestion:
https://www.synology.com/en-global/form ... y/feedback
Forum rules
We do our best to monitor and forward your ideas to our team, but due to the large amount, we may not see every single one and recommend to also use this form as our team will systematically see your suggestion:
https://www.synology.com/en-global/form ... y/feedback
kentvv
Trainee
Trainee
Posts: 14
Joined: Tue Oct 07, 2008 7:45 am

Please support true case sensitivity with NFS

Postby kentvv » Tue Oct 07, 2008 7:51 am

To truly support the Linux/Unix users please add true case sensitivity. In particular, allow creation of files with names that differ only in their capitalization.

For example: FileName and FILENAME are separate and unique filenames.

If the case insensitive mapping was done to support Windows, please considering allowing NFS mounts to be segregated from Windows Samba shares.

Thank you
doktor.notor
Enlightened
Enlightened
Posts: 473
Joined: Thu Sep 25, 2008 11:30 am

Re: Please support true case sensitivity with NFS

Postby doktor.notor » Wed Oct 08, 2008 9:28 pm

Eh :?: What kind of filesystem are you using on the drive you mount via NFS? (And, for starters are you sure you are not confusing NFS with the samba mounts?)
kentvv
Trainee
Trainee
Posts: 14
Joined: Tue Oct 07, 2008 7:45 am

Re: Please support true case sensitivity with NFS

Postby kentvv » Thu Oct 09, 2008 2:15 am

I've enabled NFS on the DS508 and mounted a share from the DS508 to a Linux machine using NFS.

I'm not sure about your first question... my understanding is that the DS508 uses some sort of modified EXT3 filesystem.

Thanks
doktor.notor
Enlightened
Enlightened
Posts: 473
Joined: Thu Sep 25, 2008 11:30 am

Re: Please support true case sensitivity with NFS

Postby doktor.notor » Thu Oct 09, 2008 7:05 am

kentvv wrote:I've enabled NFS on the DS508 and mounted a share from the DS508 to a Linux machine using NFS.
I'm not sure about your first question... my understanding is that the DS508 uses some sort of modified EXT3 filesystem.


And, what kind of problem are you having with case-sensitive stuff? You can find you which filesystem you are using when you ssh in and type "mount" command.
kentvv
Trainee
Trainee
Posts: 14
Joined: Tue Oct 07, 2008 7:45 am

Re: Please support true case sensitivity with NFS

Postby kentvv » Thu Oct 09, 2008 11:27 pm

I. Demonstration of the problem:

a) On a "normal" Linux ext3:

Code: Select all

linux-c95a /test/ext3# touch filename
linux-c95a /test/ext3# ls
filename 
linux-c95a /test/ext3# mv filename FileName
linux-c95a /test/ext3# ls
FileName 
linux-c95a /test/ext3# touch filename
linux-c95a /test/ext3# ls
filename  FileName 
linux-c95a /test/ext3#


b) On a NFS mount from the DS508:

Code: Select all

linux-c95a ds508/tmp# touch filename
linux-c95a ds508/tmp# ls
filename 
linux-c95a ds508/tmp# mv filename FileName
mv: `filename' and `FileName' are the same file
linux-c95a ds508/tmp# touch FileName
linux-c95a ds508/tmp# ls
filename 
linux-c95a ds508/tmp#


II. Results of mount on the ds508:

DiskStation> mount
/dev/md0 on / type ext3 (rw,data=ordered)
/tmp on /tmp type tmpfs (rw)
/sys on /sys type sysfs (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw)
/dev/md2 on /volume1 type ext3 (usrquota,grpquota,data=writeback)
doktor.notor
Enlightened
Enlightened
Posts: 473
Joined: Thu Sep 25, 2008 11:30 am

Re: Please support true case sensitivity with NFS

Postby doktor.notor » Fri Oct 10, 2008 12:09 am

Well, looks like the developers need a big smack with a jumbo-sized cluebat... Really hard to believe someone is stupid enough to patch ext3/reiserfs filesystems to make them case-insensitive because case sensitive = no configuration option in Samba would apparently be too easy and smart and make too much sense (here's another thread on this).

WTH?! :roll: :x

Fixing this issue is entirely impossible without reformatting your RAID arrays with standard, non-crippled mke2fs or mkreiserfs which of course means you need to move your data elsewhere first. After that, you'd have to disable any kind of filesystem checking with the crippled e2fsck/reiserfsck bundled with the firmware.

(To make this clear for non-Linux-savvy readers - this issue has nothing in common with NFS as the subject of the post might suggest... Standard NFS behaviour is case-sensitive when the underlying filesystem is case sensitive. OTOH, Samba by default is case-insensitive but case-preserving (which is exact same behavior as in Windows, totally compatible, causing zero issues to Windows users regardless of the underlying filesystem and there's exactly zero valid reasons to screw up documented ext3/reiserfs filesystem behaviour and features :!: )

Looks like a good case for RMA to me. This by no means is a feature request, this is a serious bug.
mich
I'm New!
I'm New!
Posts: 3
Joined: Wed Oct 15, 2008 6:09 pm

Re: Please support true case sensitivity with NFS

Postby mich » Wed Oct 15, 2008 7:52 pm

I can hardly believe that this is still not fixed. This bug has been known for more than a year now. I didn't know of this behaviour when I bought my 207+, and I'm facing serious problems with it in my environment, quite similar to those that many others already stated.

It can't be that hard to offer an option, can it?

I'm seriously thinking about returning the device although it fits my needs well otherwise. I can definitely not recommend it to others as it stands.
doktor.notor
Enlightened
Enlightened
Posts: 473
Joined: Thu Sep 25, 2008 11:30 am

Re: Please support true case sensitivity with NFS

Postby doktor.notor » Wed Oct 15, 2008 9:08 pm

mich wrote:It can't be that hard to offer an option, can it?


Messing with filesystem sensitivity is not an option at all. You simply leave such stuff as it is. As already explained above, Samba has options to set up the desired behaviour, so does the native NFS client from Microsoft. Sorry, but such brainfarts can't really be tolerated, dear Synology please revert your completely broken patches in your firmware.

mich wrote:I'm seriously thinking about returning the device although it fits my needs well otherwise. I can definitely not recommend it to others as it stands.


+1 on this... Huge disappointment. :x
doktor.notor
Enlightened
Enlightened
Posts: 473
Joined: Thu Sep 25, 2008 11:30 am

Re: Please support true case sensitivity with NFS

Postby doktor.notor » Mon Oct 27, 2008 10:54 am

Dear Synology, any response here :?: :cry:
syno.allen
Synology Inc
Synology Inc
Posts: 784
Joined: Fri Aug 22, 2008 5:07 am

Re: Please support true case sensitivity with NFS

Postby syno.allen » Mon Oct 27, 2008 11:11 am

We are planning to use case-sensitive filesystem in the next release.

Please note that all development information is subject to change without notice.
doktor.notor
Enlightened
Enlightened
Posts: 473
Joined: Thu Sep 25, 2008 11:30 am

Re: Please support true case sensitivity with NFS

Postby doktor.notor » Mon Oct 27, 2008 7:39 pm

syno.allen wrote:We are planning to use case-sensitive filesystem in the next release.


Greatly appreciated. 8)
kentvv
Trainee
Trainee
Posts: 14
Joined: Tue Oct 07, 2008 7:45 am

Re: Please support true case sensitivity with NFS

Postby kentvv » Tue Oct 28, 2008 1:18 am

This is great news!
maiden_taiwan
Trainee
Trainee
Posts: 18
Joined: Sat Nov 08, 2008 3:13 pm

Re: Please support true case sensitivity with NFS

Postby maiden_taiwan » Sat Nov 08, 2008 3:17 pm

Please, please hurry with this one: it is dangerous because it happens silently. Probably lots of people who are backing up their systems via NFS and rsync don't realize that their backups are corrupted because file "Foo" overwrites file "foo".

Thank you for fixing this in the next version.... When is it due?
sthomas
I'm New!
I'm New!
Posts: 5
Joined: Fri Nov 07, 2008 6:27 pm

Re: Please support true case sensitivity with NFS

Postby sthomas » Wed Nov 12, 2008 1:37 pm

I can barely believe I'm reading this thread. The filesystem case patch was crazy!

A hearty +1 to all those requesting when corrected firmware will be available.
Will we have to reformat?

My God!

Steve
Shamino
I'm New!
I'm New!
Posts: 3
Joined: Thu Nov 06, 2008 8:48 pm

Re: Please support true case sensitivity with NFS

Postby Shamino » Fri Nov 21, 2008 8:38 pm

Has this issue been solved as yet?

Return to “Feature Requests & Product Improvement Suggestions”

Who is online

Users browsing this forum: No registered users and 5 guests