Ubuntu :: Samba Share Mounting - From 'mount' To Fstab

Mar 21, 2010

I have a command line that mounts the disk of my mobile

Code:

It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.

Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.

View 7 Replies


ADVERTISEMENT

General :: Mount Remote Samba Share In Fstab?

Nov 19, 2009

Server: Ubuntu Server Edition 8.04
/currently firewalled to only allow client ip
Client: Ubuntu Desktop 8.04
/currently firewalled to only allow server ip

Same userid and groups set up on on both. I have taken two linux courses and can maneuver around fairly well, but am still pretty newbie at all this. We have loaded Samba on a server and created a Samba share. I AM able to access that share via Windows Vista, but have not been able to successfully mount the share on the Ubuntu desktop via the fstab file. I have tried the following ways: serverip:/path/shareddirectory /net ext3 user,sync 0 0 and the samba way..

//serverip/sharename /net smbfs username=x,password=x

After modifying fstab, I reboot. No luck since that either way.Only ONCE after modifying it samba way, I was prompted to enter credentials, but after login I was unable to view the files on the server. From this point on either way, if I run commmand 'mount -a' the response is "Special device serverip:/path/sharedirectory does not exist" Also! I am able to ping client-to-server, but not server-to-client.

View 3 Replies View Related

Server :: Can Mount WinXP Share But Not Win7 Share In Fstab

Jun 8, 2010

this has happened in different distros, so far i have tried slack, arch, and mint at work i have an xp box with a shared folder i created. on my linux box i setup fstab as follows

Code:

//winxp/temp$ /home/user/temp cifs rw,uid=1000,gid=1000,credentials=/home/user/.creds 0 0

this gets mounted correctly and i can read/write the shared folder at home i have a win7 box that i create a share on and use the exact same code in fstab, but it wont mount the share. i get something like permission denied or access denied is there a difference in how winxp and win7 share folders? my usernames on the linux boxes match those of my windows boxes at each location. i have given my win accounts full access and control over the win shares.

View 9 Replies View Related

Ubuntu Networking :: Odd Mounting Windows Share With Fstab?

Jun 8, 2010

I cannot mount my windows share automatically with fstab and have the files be R/W. They are only mounted as read-only.I have tried several dozen commands in the fstab file with many mount points and different users. The share is on a Windows 2000 server, but NOT a domain controller.Thing is, using the Places|Connect To Server|Windows Server menu selection, it works fine. And when I use that, the share shows up on the desktop. However, in some programs I cannot see the share in the open/close dialog boxes. I can however go to /mnt/server to see them if I mount them in fstab. The files just open as "read only" that way however.Have tried... on last line of fstab mount command.....rw option, +777 option, using IP address of server, using server name.

Same result (as fstab) if I do a manual mount command, then a mount -a. Mounts Ok, just as "Read only".
ex: sudo mount -t smbfs //192.168.1.xxx/sharename /media/server -o username=xxxxxx,password=xxxxxxxxThis has been the case with Ubuntu 8.04 until my current one, 9.10. Ubuntu (if you are listening) really needs to make this easier. It truly is basic network stuff that for some reason is rather difficult to do. Read only access is not actual network access and my other option (having to manually connect via the drop-down menu) each time I boot up is a pain.What is different about that "connect to server" option on the menu that makes it work? It'd be great if there was a check box there that said "remember this connection". Then all would work fine.

View 3 Replies View Related

Ubuntu Networking :: Samba Share : Get An Error Message "unable To Mount Location, Failed To Mount Windows Share"?

Jan 22, 2011

I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got

Firewall off (utf disabled)

Internal Sata /dev/sda1 (EXT4 FS)

External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)

I have two shares

1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.

2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.

View 4 Replies View Related

Ubuntu :: Mount NAS Share In Fstab?

Sep 3, 2010

I have a router that supports NAS; that is, you can plug a USB drive directly into the router, and it becomes a Windows share. I can manually mount the NAS share and use it properly. But, I would like to have it automatically mount on startup. The main reason for this is to assign it a proper mount point so that I can access it from the command line, since I'm having trouble doing that after I mount it manually.

To mount it manually, I go to Places > Connect to Server, select the "Windows Share" service type, and enter "//192.168.1.1/USB_Storage" as the server name. The server name is supposed to be "//readyshare/USB_Storage," but that does not work, so I used the IP address.

I would like to mount this drive at /mnt/readyshare. So, I followed (I thought) the instruction in this document. I created the directory /mnt/readyshare I assigned myself a samba password with smbpsswd I created a group "readyshare" with the GID 1010 I created a .smbcredentials file in my home directory I modified my /etc/fstab file.The .smbcredentials file reads:

Code:

username=<my username>
password=<the password I created with smbpsswd

The line I added to my /etc/fstab is:

Code:

//192.168.1.1/USB_Storage /mnt/readyshare smbfs iocharset=utf8,credentials=/home/<my username>/.smbcredentials,dir_mode=0775,gid=1010 0 0

But, no dice. The share does not mount.What am I doing wrong?

View 9 Replies View Related

Ubuntu :: Fstab Not Mounting Cifs Manually Call Mount -a?

Apr 30, 2010

I have the following line in my fstab:

Code:
//192.168.0.242/websites /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0
But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with
Code: sudo mount -a and it mounts fine with no error.

Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.

View 9 Replies View Related

Ubuntu :: Add A Line To Fstab To Mount A Share On Every Boot?

Jul 29, 2010

I'm trying to add a line to fstab to mount a share on every boot. I can mount the share manually using

sudo mount -t nfs 192.168.2.1:/x_machine /mnt/test
I've added the line
192.168.2.1:/x_machine /mnt/test nfs rw,hard,intr 0 0

to my /etc/fstab file, but it doesn't seem to mount on boot. What am I missing. I tried looking in the log files for an error, but couldn't find anything. Ubuntu 10.04 x64 desktop edition.

View 7 Replies View Related

Server :: Fstab - NFS Share To Mount Automatically

Apr 13, 2011

On a production server, I want an NFS share to mount automatically. What is the best practice to use?

[Code]...

My understanding is that it is always best practice to use IP addresses in the fstab because the server will fail to mount the share upon booting if DNS is unavailable. I've also been told that if one MUST use names in the fstab, there should be a hosts file entry for it so that the server doesn't depend on DNS on boot.

View 7 Replies View Related

Networking :: Not Accepting The Encryped File In Fstab To Mount Win Share Through Cifs?

Jun 24, 2010

I'm using cifs to mount windows share.I have created one credentials file and given the path in fstab to mount at boot time. Now i want to encrypt the credentials file and place that in the fstab file.But it is not accepting.. how to use encrypted file to use in fstab,so that normal users can not watch the credentials inside the file.

View 3 Replies View Related

Ubuntu Networking :: Samba Network Share Mounting ?

Oct 8, 2010

I have 2 Ubuntu machines: a desktop in my bedroom, and a laptop.

I have my music shared on my desktop machine, and can access it through the network menu item in the nautilus manager, but I want the files from the share to be mounted on the disk so I can access it through the commandline.

If I right-click the shared folder in Nautilus, it says its location is smb://rob/music

If I do:

mount -t smbfs //rob/music /mnt/music, it tells me that it cant locate rob.

So I try "ping rob" and that doesn't work.

I can't make a hosts entry for rob which happens at this moment to be 192.168.0.8, because my router assigns different IP addresses to various machines at different times, and I cant seem to find a way to make static maps from MAC address to ip address.

So, how come nautilus can see my samba share on the machine "rob", but the mount commands cannot?

View 7 Replies View Related

Ubuntu Networking :: Samba Share Not Mounting At Boot?

Aug 12, 2011

I have been searching around but could not find an answer that suits my problem.Here is the line I have in my /etc/fstab//192.168.1.188/openshare /mnt/lacie_nas/openshare cifs errors=remount-ro,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0The remote directory is a LACIE NAS.At boot the directory is not mounted but if I execute the command "mount -a" it works perfectly.

View 4 Replies View Related

Networking :: Samba Configuration - Cannot Mount Samba Share

Apr 26, 2011

Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:

setsebool -P samba_domain_controller on

Trying to connect to samba locally gives me this:

Code:

[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

[code]....

View 6 Replies View Related

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

Networking :: Mounting A Samba Share Fails ?

Mar 20, 2011

I have a security camera (Mobotix M12) which can save video to a Samba share, but it's unable to mount the share. So from another system I am trying to mount that share and it's failing.

The problem is not firewall, as no problem messages, and the Samba log is vacant.

When using this command, and I give the password:

In dmesg on the client I get:

And on the server I get nothing in dmesg or samba logs. And no logfile is created for the client machine in /var/log/samba. I can ssh over to driveway on the server just fine.

I used to use Samba, although it's been a long time, since I discovered sshfs.

View 2 Replies View Related

Server :: Samba Share Mounting Permission ?

Feb 2, 2010

I have created a samba share and mounted the share with /etc/fstab on another machine. This share is supposed to be a fully public share i.e. i have different share where different permissions are set but on this particular share i intend to have full read write and execute rights to all the users on my mounting machine.

The problem is that I get only owner and group rights for write on directories that i create due to which all my users can create files in my mount directory but when they create a folder they cannot create any file inside that folder.

View 4 Replies View Related

Debian Configuration :: NFS Shares In Fstab - Error: Mount.nfs4: Access Denied By Server While Mounting (null)

Feb 2, 2010

I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:

- Debian Lenny
- Archlinux 64bit

Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:

[Code]....

how I can go about debugging this?

View 1 Replies View Related

Networking :: Mounting A Samba Share In Debian Squeeze ?

May 12, 2011

I tried the smbmount command like this

Code:

And then i get an error instead of my shared files

Code:

I assure that the /home/baronobeefdip/share directory exsists and i am using the username and password that exsist on the server's system (the username is baronobeefdip and the password i would like to keep secret)

What am i doing wrong here because something is wrong

And for refernece here is the result from the

Code:

command

Code:

I want to the get one that is commented as the "debian floor computer"

View 13 Replies View Related

CentOS 5 :: Samba CIFS - Mounting Directory On Share

Jul 22, 2009

I've to make a Windows 2000 share on my Server Linux CentOS 5.1 with all the updates installed with yum. I've a directory on a Windows 2000 that contains some images for a catalogue. I have my internet site on CentOS 5.1 with a Apache - Mysql - PHP web server. I have to mount my directory on a share in /mnt/catalogueimages and made a symbolic link from my /var/www/html/mysite/catimages to this samba share.

This is what I do following your guide a this link: [URL]
I have placed in my /etc/fstab this line:
//SERVER/C/Catalogue /mnt/catalogueimages cifs user,username=Administrator,password=,uid=apache,gid=apache 0 0
My Windows 2000 server have no password.

After that I made the symbolic link:
ln -s /mnt/catalogueimages /var/www/html/mysite/catimages
All it's OK.

The problem is that I can't see the images via browser. I have tried also to put some images in the directory /mnt/catalogueimages, deleting the mount point, in order to see if the problem was in apache: the images are visible via browser. Why I don't reach to see the images mounted with samba?

View 9 Replies View Related

Ubuntu Networking :: Mounting A Samba Share On Two Machines - Can't Place Anything Into The Folder

Apr 24, 2011

I'm having some trouble mounting a Samba share on my two Ubuntu machines. The Samba share is setup so that all files are readable and writable by everyone (it's only accessible via the local network). When I create a new folder on the share with either of my Ubuntu machines, the folder becomes non-writable by anyone ie. I can't place anything into the folder. I'm using the following command to mount the share:

[Code].....

I think the problem is with the way I'm mounting the share on my Ubuntu machines. If I go to the share using smb://192.168.1.160 in a file browser, I can create new folders which are readable and writable by everyone. But, if I create the new folder where it's mounted at /mnt/backup, no-one can modify or change it.

View 2 Replies View Related

Server :: Samba Entry Of Fstab To Mount Windows Shared Folder On Machine

Dec 15, 2010

I spent all day learning some concepts of Samba which I left while preparing for RHCE.One of them is how to permanently mount (fstab entry) windows shared folder.Manually mount command is running fine for me.

View 6 Replies View Related

Debian Configuration :: Samba Share No Longer Auto-mounting In Wheezy

May 1, 2011

I upgraded my testing/Wheezy Inspiron N5010 to 2.6.38-2-amd64 recently (along with a bunch of other updates, of course) and now my Samba network share is no longer automatically mounting, I have to open a root terminal and do a "mount /mountpoint"; my relevant /etc/fstab entry:

I've tried over options, as well, but it isn't automatically mounting. Any suggestions (including where to file a bug report)?

View 3 Replies View Related

Ubuntu :: How To Mount A Samba Share

Dec 11, 2010

I need to mount two Samba shares from my Ubuntu Server to my Desktop they are:

[shared]
path = /media/share
read only = no
guest ok = yes
[www]
path = /var/www
read only = no

I made two directories in my home folder on the desktop called share and www how do I mount these now? I have to use the terminal btw.

If I run the command: smbclient -L //192.168.10.101 which is the IP of my server it works.

View 1 Replies View Related

OpenSUSE Network :: Mount Error 12 When Mounting A CIFS Share?

Jan 26, 2010

We recently moved to a new home and I am trying to get my home file/print server set up again. Thanks to swerdna's excellent website, I got my server box (just upgraded from 11.0 to 11.2) running Samba and serving my shares over the network, and my "client" machines can access them without a problem.However, I'm not having much luck setting up CIFS mounts on my Linux desktop. I have my all-purpose user added to the Samba auth list (via smbpasswd), and configured my client as swerdna's howto's specify, and I can access the files just find. However, when I try to mount the shares with this command:

Code:
mount -t cifs -o username=klein,password=klein //192.168.1.70/sharedmedia /home/zak/SharedMedia/
I get the following error:

[code].....

View 2 Replies View Related

Server :: Mounting CIFS Share Causes The Mount Point To Be Destroyed?

Jun 18, 2009

I've been trying for a while mounting a EMC NAS share on linux. As far as I know the NAS share behaves just like a regular windows share, so the mount process should be very similar. On the NAS server, the disc "Disc1" is shared, and I need to mount a sub-subfolder of that share. This is my line in /etc/fstab:

Code:

//windows_box/Disc1$/folder1/subfolder /var/tmp/mount_test cifs defaults,acl,soft,uid=srvadm,gid=adm,umask=0027,file_mode=0600,dir_mode=0700,credentials=/root/cred.txt,sec=ntlmv2 0 0

When mounting the share, this is what happens:

Code:

[root@server1 tmp]# ll
total 8
drwxr-xr-x 2 root root 4096 Jun 18 10:39 mount_test

[code]....

In the console (i.e. bash), the "mount_test" word on the last line has a red background. When I issue "umount mount_test", everything is back to normal.

View 13 Replies View Related

Ubuntu :: Mount A Samba Share Form Another Pc?

Feb 8, 2010

I want to mount a samba share form another Ubuntu pc.

With nautilus I can do: smb://xxxxxxx;username@192.168.1.12/sharedfolder/ And i can browse the shared folder without problem

but I want to mount it. I have tried:

Code:
user@compu:~$ sudo mount -t smbfs //192.168.1.12/sharedfolder /mnt/folder -o username=username
mount: wrong fs type, bad option, bad superblock on //192.168.1.64/esco3,
missing codepage or helper program, or other error

[Code].....

Im aware I'm not passing the password and I was hoping it would ask me. Also I'd like to store all that info in my computer and try to auto mount the shared every time i use the pc.

View 3 Replies View Related

Ubuntu :: Auto Mount A NAS Samba Share

Jan 13, 2011

One problem I'm having is with getting some apps to access NAS hosted files and folder over samba. Two examples are photo managment apps and backup apps, which seem to only want to work with local files and folders.I have come across a number of articles about cifs, autofs, gigolo, fstub, etc (including the autofs community documentation). But so far I've had no luck in auto mounting a samba shared resource as local.

Can anyone point me to a definitive tutorial, or provide an explanation on how I might accomplish auto mounting samba shares?

View 7 Replies View Related

Networking :: Share A NFS Mount With Samba?

Apr 21, 2010

Can I share an NFS mount with samba?

Scenario:

ServerA has an NFS Mount to ServerB at mount point /home/qlogger/logs

I can cd to /home/qlogger/logs on ServerA and see the contents as they would be on ServerB (NFS Working with proper permissions rw).

I have a samba share setup on ServerA to share the NFS Mounted Directory (/home/qlogger/logs)

I connect with my windows host and am able to view the files and folders. I can create folders just fine however; when I go to copy a file from the windows machine to the samba share I receive a message saying the file is locked.

I have disabled oplocks in samba and the problem still persists.

View 1 Replies View Related

Ubuntu Networking :: Permanent Mount Of A Samba Share (10.10)?

Oct 10, 2010

I have sent the last 5 hours (it is now 6am) and I am in no mood for lazy know-it-all'sI have returned begging and crawling back to Ubuntu (I waited a day for 10.10 to be released) and I have again stumbled across why I go back to Micro$oft's Windows.All I want to do it have a permanent share to my nas, which is on my Netgear DGND3300.I can reach it by Place -> Network -> Windows Network -> NAKALEEN -> NAS -> USB_Storagebut for the life of me I can't make it permanent. I need it as all my Movies/TV/eBooks are on this.I have followed every and I mean EVERY option I have found on Google with no luck. From the fstab/mount option to the gvfs option (as you can guess both failed)The reason it is *$&^%$^&%$ me off it that Windows can do it with a couple of mouse presses (Map Network drive). Making Ubuntu a joke in this area.

View 9 Replies View Related

Red Hat / Fedora :: Mount Samba Share To Windows?

Aug 31, 2010

i hav configured samba share in RHEL 5.4 , it can be accessable from other linux machine but i want to access it from windows machine, how can i do it? i also want want to know that in RHEL my partitions are in ext3 format, so how can windows can detect this partition, Is samba share is independent of filesystem on either machines

case2:---
i hav configured samba on windows server 2008 , how can i mount it on linux machine

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved