[opensuse] Does chown work on directories on a NAS that uses cifs?
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way. I ran 'sudo chown -R' on the directory in question on that NAS, but after I did so, Linux still seems to think that root still owns the directory and its contents. Why? And how should I fix this? Thanks Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 2013-09-14 at 10:41 -0400, Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
I ran 'sudo chown -R' on the directory in question on that NAS, but after I did so, Linux still seems to think that root still owns the directory and its contents. Why? And how should I fix this?
Hi chown will work if smb.conf on the NAS allows it. Do you have access to smb.conf for that directory on the NAS? Does the NAS have a control panel for the samba shares maybe? Post smb.conf if you can. HTH L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/14/2013 04:48 PM, lynn wrote:
chown will work if smb.conf on the NAS allows it.
... and of course if the file system type on the NAS supports it. Have a nice day, Berny -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
The file system type is cifs (something I had never heard of until I got the NAS and tried to mount it on my Linux boxes (Suse 12.3). I have no idea whether that has its roots in Windows, Linux, or something else. Thanks Ted On Sat, Sep 14, 2013 at 11:22 AM, Bernhard Voelker <mail@bernhard-voelker.de> wrote:
On 09/14/2013 04:48 PM, lynn wrote:
chown will work if smb.conf on the NAS allows it.
... and of course if the file system type on the NAS supports it.
Have a nice day, Berny
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 2013-09-14 at 11:29 -0400, Ted Byers wrote:
The file system type is cifs
... and of course if the file system type on the NAS supports it.
Have a nice day, Berny
Hi No, what he means if that if the file system on the hard disk on the NAS supports it. cifs is the file system that passes the stuff from the NAS to your client. On Linux, we use Smaba to export cifs. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, Sep 14, 2013 at 10:48 AM, lynn <lynn@steve-ss.com> wrote:
On Sat, 2013-09-14 at 10:41 -0400, Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
I ran 'sudo chown -R' on the directory in question on that NAS, but after I did so, Linux still seems to think that root still owns the directory and its contents. Why? And how should I fix this?
Hi chown will work if smb.conf on the NAS allows it. Do you have access to smb.conf for that directory on the NAS? Does the NAS have a control panel for the samba shares maybe? Post smb.conf if you can. HTH L x
OK, where do I find that file. Dolphin doesn't show such a file, at least in the directory to which the mount (in fstab) is pointing. How does samba fit into the mix of NAS, cifs, and Suse? I did not ask for samba when I installed Suse 12.3, and it would not have occured to me to do anything with samba when the instructions I have received for the NAS say nothing about it, referring only to mount and cifs. There is a control panel for the NAS, but I will have to reboot to get into it (because the browser on my Windows box (which I use for communications), is acting up). Thanks Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sat, 2013-09-14 at 11:37 -0400, Ted Byers wrote:
On Sat, Sep 14, 2013 at 10:48 AM, lynn <lynn@steve-ss.com> wrote:
On Sat, 2013-09-14 at 10:41 -0400, Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
I ran 'sudo chown -R' on the directory in question on that NAS, but after I did so, Linux still seems to think that root still owns the directory and its contents. Why? And how should I fix this?
Hi chown will work if smb.conf on the NAS allows it. Do you have access to smb.conf for that directory on the NAS? Does the NAS have a control panel for the samba shares maybe? Post smb.conf if you can. HTH L x
OK, where do I find that file. Dolphin doesn't show such a file, at least in the directory to which the mount (in fstab) is pointing.
How does samba fit into the mix of NAS, cifs, and Suse?
Samba is what is running on the NAS. It sends files over the LAN using cifs. You can use Dolphin under openSUSE to view the files which are defined in smb.conf.
There is a control panel for the NAS, but I will have to reboot to get into it (because the browser on my Windows box (which I use for communications), is acting up).
Is there any way that you can get at /etc NAS? Can you see /etc/fstab on the NAS? Or, failing that, does the control panel allow you to set permissions on the shares? L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
Please pay attention to Cristian's message in another thread. Putting mysql files on the NAS is a really bad idea. Performance will be awful. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 16/09/13 06:14, Dave Howorth escribió:
Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
Please pay attention to Cristian's message in another thread. Putting mysql files on the NAS is a really bad idea. Performance will be awful.
Yup, I suspect that ISCSI+ a fast network might be a working alternative, however I remain unconvinced that mysql will work both fast and safely over CIFS, -- "Judging by their response, the meanest thing you can do to people on the Internet is to give them really good software for free". - Anil Dash -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Sep 16, 2013 at 12:46 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 16/09/13 06:14, Dave Howorth escribió:
Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
Please pay attention to Cristian's message in another thread. Putting mysql files on the NAS is a really bad idea. Performance will be awful.
Yup, I suspect that ISCSI+ a fast network might be a working alternative, however I remain unconvinced that mysql will work both fast and safely over CIFS,
OK, lets say I give up on the notion of using the NAS to store data managed by MySQL. I got this thing on the recommendation of the only guy I know who works as a sysadmin, among other things. I'd hate to think I wasted my all too limited resources. So what can I use it for? What sorts of practical applications represent something that proves the value of a NAS? In my present context, I only need to run a web server, an RDBMS, and Perl or C++ or R to do my programming and data analysis. Thanks Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
El 16/09/13 14:52, Ted Byers escribió: So what can I use it
for? What sorts of practical applications represent something that proves the value of a NAS? In my present context, I only need to run a web server, an RDBMS, and Perl or C++ or R to do my programming and data analysis.
Bulk file storage or for serving any kind content that does not require the full pack of " performance, atomicity, consistency and reliability" that an RDBMS *must* provide.. streaming..etc. -- "Judging by their response, the meanest thing you can do to people on the Internet is to give them really good software for free". - Anil Dash -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Ted Byers wrote:
On Mon, Sep 16, 2013 at 12:46 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 16/09/13 06:14, Dave Howorth escribió:
Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
Please pay attention to Cristian's message in another thread. Putting mysql files on the NAS is a really bad idea. Performance will be awful.
Yup, I suspect that ISCSI+ a fast network might be a working alternative, however I remain unconvinced that mysql will work both fast and safely over CIFS,
OK, lets say I give up on the notion of using the NAS to store data managed by MySQL. I got this thing on the recommendation of the only guy I know who works as a sysadmin, among other things. I'd hate to think I wasted my all too limited resources. So what can I use it for? What sorts of practical applications represent something that proves the value of a NAS?
If you can reconfigure it to offer iSCSI or NFS, you'd have a much more useful box. -- Per Jessen, Zürich (12.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 9/16/2013 11:37 AM, Per Jessen wrote:
Ted Byers wrote:
On Mon, Sep 16, 2013 at 12:46 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 16/09/13 06:14, Dave Howorth escribió:
Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
Please pay attention to Cristian's message in another thread. Putting mysql files on the NAS is a really bad idea. Performance will be awful.
Yup, I suspect that ISCSI+ a fast network might be a working alternative, however I remain unconvinced that mysql will work both fast and safely over CIFS,
OK, lets say I give up on the notion of using the NAS to store data managed by MySQL. I got this thing on the recommendation of the only guy I know who works as a sysadmin, among other things. I'd hate to think I wasted my all too limited resources. So what can I use it for? What sorts of practical applications represent something that proves the value of a NAS?
If you can reconfigure it to offer iSCSI or NFS, you'd have a much more useful box.
He would still be running his MYSQL daemon on a different box than his NAS, which is the root of the problem. A hell of a lot of data running across a limited bandwidth. iSCSI and NFS can't get around that. He really needs to get his daemon on the same box as the data. (And FTR, we've found SAMBA to be just as fast as NFS, and half the hassles). -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
John Andersen wrote:
On 9/16/2013 11:37 AM, Per Jessen wrote:
Ted Byers wrote:
On Mon, Sep 16, 2013 at 12:46 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 16/09/13 06:14, Dave Howorth escribió:
Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
Please pay attention to Cristian's message in another thread. Putting mysql files on the NAS is a really bad idea. Performance will be awful.
Yup, I suspect that ISCSI+ a fast network might be a working alternative, however I remain unconvinced that mysql will work both fast and safely over CIFS,
OK, lets say I give up on the notion of using the NAS to store data managed by MySQL. I got this thing on the recommendation of the only guy I know who works as a sysadmin, among other things. I'd hate to think I wasted my all too limited resources. So what can I use it for? What sorts of practical applications represent something that proves the value of a NAS?
If you can reconfigure it to offer iSCSI or NFS, you'd have a much more useful box.
He would still be running his MYSQL daemon on a different box than his NAS, which is the root of the problem. A hell of a lot of data running across a limited bandwidth. iSCSI and NFS can't get around that.
iSCSI on plain GiGE does very well. -- Per Jessen, Zürich (7.6°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 2013-09-16 at 13:52 -0400, Ted Byers wrote:
On Mon, Sep 16, 2013 at 12:46 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 16/09/13 06:14, Dave Howorth escribió:
Ted Byers wrote:
I have traced one of my troubles to one of ownership of a directory and it's contents. MySQL requires ownership of the data directory. This I found out the hard way.
Please pay attention to Cristian's message in another thread. Putting mysql files on the NAS is a really bad idea. Performance will be awful.
Yup, I suspect that ISCSI+ a fast network might be a working alternative, however I remain unconvinced that mysql will work both fast and safely over CIFS,
OK, lets say I give up on the notion of using the NAS to store data managed by MySQL. I got this thing on the recommendation of the only guy I know who works as a sysadmin, among other things. I'd hate to think I wasted my all too limited resources. So what can I use it for? What sorts of practical applications represent something that proves the value of a NAS? In my present context, I only need to run a web server, an RDBMS, and Perl or C++ or R to do my programming and data analysis.
Thanks
Ted
Hi Which NAS do you have? Many of the qnap and Synology models ship with MySQL server which you can manage easily with phpMyAdmin. The same ones also do web. Depends what's been recommended. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Bernhard Voelker
-
Cristian Rodríguez
-
Dave Howorth
-
John Andersen
-
lynn
-
Per Jessen
-
Ted Byers