Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-05-2007, 09:30 PM
|
#1
|
LQ Newbie
Registered: May 2007
Location: Ohio
Distribution: Ubuntu 7.04
Posts: 2
Rep:
|
Accessing NAS drives from Linux
I have successfully installed Ubuntu Linix 7.04. It is a dual boot with WinXP. I can easily see the WinXP drives and it seems to find the NAS drive (Buffalo LinkStation) which I can read and write to using the File Browser. However, some applications do not show the NAS drive as a selection because it is not considered a "local" drive by the operating system. The file browser sees it a smb://Buflink01/local-file-directory. I take this to mean that Samba is involved here. I tried to find some info on how to mount an NAS drive so it looks like part of the local system but came up short on finding anything. Any words of wisdom out there?
|
|
|
05-05-2007, 09:53 PM
|
#2
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
NAS = Network Attached Storage
It would be seen as NFS or Samba mount meaning it won't be seen as "local".
|
|
|
05-06-2007, 08:10 PM
|
#3
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Essentially since it's a NAS device it won't be locally per se but that's the point of NFS or Samba, to mount remote filesystems so they appear to be or are locally accessed.
|
|
|
05-07-2007, 06:22 PM
|
#4
|
LQ Newbie
Registered: May 2007
Location: Ohio
Distribution: Ubuntu 7.04
Posts: 2
Original Poster
Rep:
|
NAS Drives on Linux
The point is that I expected to be able to use the NAS file system just as if it were any file system properly mounted at /media or /mnt or wherever. My question that remains is; can an NAS drive be mounted so that I can read and write to it from applications instead of just having access through the Nautilus browser? I want to consolidate things like the Thunderbird mail client profiles in one place so I have access to it from all my machines, Linux based or Windows. If it can be mounted through some form of the mount command, what is it? Thanks in advance.
|
|
|
05-07-2007, 07:25 PM
|
#5
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
Yes it can be mounted and used for storage like any other device for most purposes. (There are some issues with NFS file locking that some applications can't handle.) Many large companies use NAS for applications servers.
The mount would depend on how the NAS is shared out. When I last used NAS we did them all as NFS mount because they were shared out that way. You mentioned SAMBA however which is a different type of file sharing mechanism designed to interact with Windows systems. Using Samba you can share filesystems out to Windows from Unix/Linux or you can mount filesystems shared out from Windows to your Unix/Linux system.
If you aren't using these devices for Windows shares AND Linux shares my recommendation would be to do NFS rather than Samba as NFS it the one that is "native" to Unix/Linux.
How you do the share depends a lot on the NAS device so you'd have to look at its documentation. Typically you add the mounts to /etc/exports and run the exportfs command (on the NAS server) to allow access by the Linux server.
You then use mount command to mount it as a standard NFS filesystem.
You really need to read the documentation for your NAS device as it should give you details on what is necessary. It will also explain things like fileystem snapshots that you may wish to plan for using.
On Linux you can type the following commands to see more details for each of the commands mentioned.
man mount
man exports
man exportfs
man
|
|
|
All times are GMT -5. The time now is 06:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|