LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 05-05-2007, 09:30 PM   #1
BigALinux
LQ Newbie
 
Registered: May 2007
Location: Ohio
Distribution: Ubuntu 7.04
Posts: 2

Rep: Reputation: 0
Question 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?
 
Old 05-05-2007, 09:53 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
NAS = Network Attached Storage

It would be seen as NFS or Samba mount meaning it won't be seen as "local".
 
Old 05-06-2007, 08:10 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 270Reputation: 270Reputation: 270
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.
 
Old 05-07-2007, 06:22 PM   #4
BigALinux
LQ Newbie
 
Registered: May 2007
Location: Ohio
Distribution: Ubuntu 7.04
Posts: 2

Original Poster
Rep: Reputation: 0
Question 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.
 
Old 05-07-2007, 07:25 PM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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
 
  


Reply

Tags
network, storage


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing a FS created by USR 8700 NAS ok4life Linux - Server 5 04-24-2007 09:48 AM
why XP and 98 PCs can't join domain for accessing those mapping drives in Linux Samba kkeith Linux - Newbie 1 07-21-2006 01:26 AM
accessing drives afrm Linux - Software 3 02-08-2005 10:07 PM
Accessing CD Drives/Floppy Drives rsearing Linux - Newbie 9 08-13-2004 08:53 PM
Accessing my ntfs drives Cheese Linux - Software 2 12-02-2001 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration