LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 04-08-2013, 04:59 AM   #1
rocka
LQ Newbie
 
Registered: Jan 2007
Posts: 26

Rep: Reputation: 0
Mounting NAS and local raid5 array in same folder possible?


Hello!

I am setting up a local server and I have a NAS on the network whick I would like to mount in the folder where I already have a raid5 array mounted (mdadm, software raid). Is that possible? I have tried unsuccessfully, but wondering if there is a workaround that I am not aware of. I am running Ubuntu 12.04 x64.

Any help greatly appreciated
 
Old 04-08-2013, 05:09 AM   #2
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,466

Rep: Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213
I do not really understand it. Mount points are unique, so you cannot use the same dir to mount different things.
But you can mount several devices into a given directory using different mount points....
You would better show us an example or ??
 
1 members found this post helpful.
Old 04-08-2013, 05:31 AM   #3
rocka
LQ Newbie
 
Registered: Jan 2007
Posts: 26

Original Poster
Rep: Reputation: 0
Thank you for your quick reply
Sorry if I am not being clear. I am using this as a media server so I want to access all the files from the array and the NAS in the same folder (simply because it is more tidy) without creating a symlink.
My fstab looks like this:

Code:
#Array
UUID=543717ae-3aa5-476e-bc19-df43a0f7e9c4 /files/archive2 ext4        defaults        0        2
#NAS
192.168.1.18:/volume1/Archive2/ /files/archive nfs nouser,atime,auto,rw,dev,exec,suid 0 0
Now, it works of course, but if I mount them both to the same folder it does not.
 
Old 04-08-2013, 07:10 AM   #4
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,466

Rep: Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213
you can also try to mount to /files/archive/dir1 and /files/archive/dir2 if it suits your needs....
 
Old 04-08-2013, 06:21 PM   #5
rocka
LQ Newbie
 
Registered: Jan 2007
Posts: 26

Original Poster
Rep: Reputation: 0
I am aware of the subdirectory solution and ended up doing that. Seems there is no other solution. Thanks for your replies.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a NAS Linear array with a desktop drive toaster QuintusDecius Linux - General 2 01-22-2012 06:54 AM
Recovering NAS RAID5 using images of the RAID partitions Mikkie Linux - Server 2 09-11-2011 01:50 PM
Need help with rsync + NAS local Folder khandu Linux - Newbie 2 07-31-2011 09:30 PM
[SOLVED] raid5 array not ready for mounting Sjonnie48 Linux - Software 4 03-19-2011 11:27 PM
Mounting a smb share as a local folder on Fedora 9 accessing a Windows Server AustinMarton Linux - Networking 2 11-15-2009 07:21 PM


All times are GMT -5. The time now is 08:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration