LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-30-2008, 07:25 AM   #1
eliufoo
Member
 
Registered: Oct 2007
Posts: 71

Rep: Reputation: 15
samba + remote mount


Hi guys,

I need your assistance in the following setup. I have a network hard drive (hp media vault) with a capacity of 1tb. I want mount it on fc4 and share the hdd through Samba.

My problem:
I can mount the hdd has root on the linux server with:-
Quote:
mount -w //192.168.0.5/share /mnt/share
But, the directory is mounted with permission 755, user & group is root. Samba or local users don't have right permission.

I tried the following with no luck:
Quote:
1. chmod -R /mnt/share
2. chown -R root:users /mnt/share
3. chown -R nobody:nobody /mnt/share
Please help...

Thanks,
 
Old 07-30-2008, 07:47 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
If I understand what you have posted, you are trying to share a remote disk ( media vault ) using samba.

As I understand a media vault has a windoze OS, so I would have to guess that means an NTFS file system. I don't believe you can change permissions on a NTFS file system from linux.

Is there no way to get into the media vault, and make the share there? Why use Samba at all, other than to mount the drive(s) to share to the linux system?
 
Old 07-30-2008, 08:41 AM   #3
eliufoo
Member
 
Registered: Oct 2007
Posts: 71

Original Poster
Rep: Reputation: 15
You understood me correct.

Quote:
Is there no way to get into the media vault, and make the share there? Why use Samba at all, other than to mount the drive(s) to share to the linux system?
I didn't understand you here.

I'm using samba cause of Windows machine on the network.I'm also mounting the drive(s) on linux before sharing it on Samba.

Will look for an alternative.

Thanks,
 
Old 07-30-2008, 09:06 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
The intent of Samba server is to share local partitions and files. The problem is samba can not control read and write permissions on another system. I think you need to share the media vault from that system, to your network.

Samba client mounts remote shares, that is working.
 
  


Reply



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
shell script to mount samba share with " " in the remote path dohpaz Programming 2 10-20-2006 02:18 PM
Using samba or NFS to mount remote window hard drive papiseckfr Linux - Networking 1 04-20-2006 07:25 AM
long remote mount time for samba with cifs command luna6 Linux - Networking 1 04-01-2005 11:43 AM
Remote Mounting? (Mount remote folder on local filesystem) mac_phil Linux - Networking 1 11-15-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:58 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