LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2014, 05:57 PM   #1
maether
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
mount a mounted folder


system/network:

WinSrv2008:
IP 192.168.0.2
shared-Folder(CIFS): //192.168.0.2/records

Debian7:
IP 192.168.0.3
mounted CIFS-Folder in fstab: //192.168.0.2/records /var/www/records cifs user=XXXXX,domain=SRV2008,passwd=XXXXX,uid=nobody,gid=nogroup 0 0

that works great!
But now the problem:

on another linux-system i want to mount the cifs-mount of the Debian7-system via NFS.

The second Linux-System:
System: Linux version 2.6.18-7.4-dm800se (newnigma2@vs35) (gcc version 4.4.3 (GCC) ) #1 SMP Sun Dec 11 05:14:53 UTC 2011
IP: 192.168.0.8

command: mount 192.168.0.3:/var/www/records ./records
answer: mount: 192.168.0.3:/var/www/records failed, reason given by server: Permission denied

but why!? cant i mount a folder on 192.168.0.3 which also is mounted?

the nfs-server on 192.168.0.3 is running.
/etc/exports: /var/www/records 192.168.0.8(rw,sync)

before i tried to mount a nfs-share with both systems, where the shared-folder is not a CIFS-mount, and it works. But this way wont work :/

So my first Question: It is possible to mount a nfs-share of a system, where the nfs-shared-folder is a CIFS-share of another system?
 
Old 02-03-2014, 03:29 PM   #2
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Manjaro, Debian64 stable
Posts: 531

Rep: Reputation: 168Reputation: 168
According to this, no, you may not:

http://www.unix.com/aix/189179-cifs-...xport-nfs.html
Quote:
Well, a simple answer is you cannot export a CIFS mount as an NFS share just as you cannot share a CIFS mount through CIFS.

First thing about sharing through NFS or CIFS: the filesystem has to be a local one (a file system which resides on a local disk or a LUN); period.
 
  


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
Increasing size of /var folder or mount to another folder jbspain Linux - Server 7 11-18-2010 03:33 AM
Able to access the mounted folder though the actual folder is moved VGM Linux - Networking 2 09-16-2010 01:10 PM
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 06:02 PM
Mount Problem: evice already mounted or mount point busy paldebojyoti Linux - Distributions 5 08-27-2009 03:46 AM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:41 AM.

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