When ever i try to mount my nfs share i got a msg mount: 192.168.10.1:/home failed, reason given by server: Permission denied
And my log file show the message Jul 19 04:33:25 localhost mountd[28294]: mount request from unknown host 192.168.10.1 for /mount_rhel/Server (/mount_rhel/Server)
My Exportfs file
/mount_rhel 192.168.10.0(rw,sync)
i try to reinstall nfs but the problem is still same. i also checked all the daemon is running in backgroup like portmap , mountd etc.
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:
Recently i share the file with nfs share in fedora 10 , but my problem is that is unable to mount it from fedora 11 . i didnt get any error while starting the nfs service in f10 .but still i cant mount it from f11 machine.
Usually you put external mounts in the /mnt folder, then link there with a symbolic link if you want access from somewhere else. By keeping all of your mounts in /mnt its easier to manage them as your system and ability grow.
You need to make mounts as root. Mounts take the data in the target and put it on top of an existing folder. When you mount something on top of a folder whatever was there becomes invisible until you remove the mount on top of it. If there is a problem with a mount and it does not work, any writes to the mount will go to the folder underneath, and any data you expect to read from there will not exist.
In making a mount you should realize that the char requires an escape char in bash to show up in the final output to the command. The escape char is also . Therefore to show \ in a Windows command, you need to type \\. Also, spaces must be escaped once with .
Howto:
You should substitute your ip or name for 10.10.9.5
Reminders: Make sure your Windows folder is shared read/write if you need to write to it.
You probably want to change permissions on /mnt/WindowsDocuments to 777
Tips:If you want a link from your desktop to your Windows "My Documents" folder you can now do this:
This will make a symbolic link to /mnt/Windows, and if you execute: ls -l ~/Desktop you should see the links information in the response
Finally, if you want to keep a local backup of what's on the windows box in a local folder you could do:
The ~ char is shorthand for /home/<uername> and represents your home folder.
The result of the rsync command is to make a copy of WindowsDocs (which points to your mount at /mnt/WindowsDocuments which is linked to your Windows machine shared 'My Documents' folder) and put it into ~/WindowsDocumentsBackup
As always, make use of the man command if you get confused or the info command for more detail. ie man rsync
Following instructions that I received from the Fedora 10 Guide, I recently edited my etc/fstab file so that I could auto mount my Windows share. It worked the first time, but when I rebooted, I noticed an error saying that Linux could not not unmount the cifs shares. Eventually it did reboot, but now I cannot mount the share at all from fstab. When I run the command #mount -a and then #mount, my share is shown to be mounted although I cannot access it and there is no link to it on the desktop like there was the first time it mounted. I basically want my Windows share to be permanently mounted with read/write permissions. My Distro is Fedora Core 10 64 bit. How can I resolve this issue?
I'm trying to automatically mount a windows share in a Fedora 12 instance (FC12).When I manually mount things work:mount -t cifs //nas01/servers -o username=guest,password=myPassword /mnt/nas01/serversIf I update /etc/fstab with the following://nas01/servers /mnt/nas01/servers cifs username=guest,password=myPassword 0 0Nothing happens after reboot. The thing that has me baffled is after a reboot if I run:mount -aThe share is mounted.
I'm trying to mount a Windows Server 2003 share in Fedora 13. With Fedora 8 and with RHEL 5.5 this works properly, but not with Fedora 13.
The mount point I'm using is /usr/eg
The symptoms are: Nautilus (the file browser) does not display the mount in the places or tree as a mounted drive. Using the file broser I can browse under file system down to the files on the server Programs cannot find the files under /usr/eg ie the files on the server.
Running NFS on Fedora 10. Exports fine. I tested it locally. I tested the NFS configuration by trying to access the exported directory from my local machine, before testing it from a remote machine. While logged in as root, I created a new directory "/mnt/nfstest".
Then I mounted the NFS share at the new directory I created: [root@eric root]# mount -t nfs localhost:/mnt/nfs /mnt/nfstest
When I tried to mount on the remote client: [root@frank root]# mount -t nfs eric:/mnt/nfs /mnt/nfstest
After a while I got: # mount eric:/mnt/nfs /mnt/nfstest mount.nfs: mount system call failed
I tried strace but wasn't sure what I was looking for, but I've attached the results as a .odt file.
I'm trying to mount a Windows Server share from Centos 5.5 (kernel 2.6.18-194.26.1.el5). I've tried two approaches neither of which work.
1). Using Places->Connect To Server. This approach works fine on Ubuntu but not at all for Centos. Using the 'Windows Share' Service type, it allows me to see the remote directory - I can see all of the directories on the server. But as soon as I click one, I get an error 'Couldn't find "smb://blah/blah". Please check the spelling and try again. As I say, this worked fine on ubuntu. Tried loads of options but with no luck. I saw something on the web about leading slashes being a problem.
2). Using Mount . Tried to use mount to mount as a cifs filesystem, as documented on a number of web pages:
mount -t cifs //server/dir -o username=username,password=password /mnt/tmp
This completely hangs the machine.I means completely, no mouse, no nothing. I've seen some references to unstable cifs on the web but I believe that this kernel has the fix for this.
I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:
Code: $mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp password: (I have no password so I left it blank) Mount error (13): Permission Denied I tried all sorts of passwords we use around the office and none of them worked.
I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?
I've right now installed Fedora 12 in my laptop, and when I try to acces my external USB Woxter HardDisk I get this error:
Error mounting: mount exited with exit code 12: Failed to read last sector (1953525103): Invalid argument HINTS: Either the volume is a RAID/LDM but it wasn't setup yet, or it was not setup correctly (e.g. by not using mdadm --build ...),
I am attempting to mount an NFS share that has been setup on a Windows Storage Server 2008 (R1). Initially, I could not even mount the share, though it would show up using "showmount -e <server_ip>". After adding the "ANONYMOUS LOGON" user to the NTFS permissions and granting the "Full Control" permission, I was able to successfully mount the share and read from it. However, I cannot write to it. The NFS share is set to allow anonymous access, UID 0 and GID 0. The appropriate host is listed in the NFS Share Permissions with Read-Write permissions, and ANSI encoding. Root access has also been allowed. I also tried granting the "Everyone" user full control in the NTFS permissions as well. See screenshots and console quote for clarification if needed.
I am trying to install the net install version of 5.5 from an NFS share that I setup with freenas. I have fully functioning DNS (hosted on freebsd) and can mount the iso share on another centos box with the command mount [URL] on that machine.
but when I go to do the same thing in the centos net install I get an error stating simply: "that directory cannot be mounted from the server".
in the settings I have the following values:
NFS server name: nas.example.com CentOS directory: /mnt/iso1 NFS mount options (optional):
i am trying to install fedora 10 on a system running RH 8.0 core 2?pentium. I 1st tried mounting a DVD, there is no /dev/dvd do I entered mount -r -t iso9660 /dev/cdrom /mnt/cdrom i got this error:
mount block device /dev/cdrom is write-protected, mounting read-only mount: No medium found.
Then I then tried mounting a cdrom (cd-r)with the same command and got this error:
mount: block device /dev/cdrom is write-protected, mounting read-only mount: wrong fs type, bad option, bad super block on /dev/cdrom or too many mounted file systems
I have looked at other threads, but no answer to particular issue.
Hi, I have a server at my home which is a Ubuntu 9.1 which is setup as a NFS server using NFS v3. I am also using DYN DNS to access my home server remotely from another location using SSH. Everything works good, I can sucessfully log in to my server from my laptop via SSH, however my problem mounting my NFS share which consists of appx. 300 mp3 files. My question is:
1 How Do I Tunnel a NFS share through a SSH tunnel?
2 Is there any other configuration? needed to be done to the router?
3 is there anything needed to be configured to the server or my laptop?
4 Manual mounts is fine for me I don't care about automounting.
I just want to be able to mount the NFS share via the SSH Tunnel and play my music and access other files from my server.I just need the steps to set up this connection.
In Nautilus, I can find the share under Network which I want to mount. When I double-click on the desired folder, I was prompted for a username, domain and password. However, I could not log in; there was no error messages, but Nautilus kept prompting me for my username etc..It would seem like I've entered the wrong details, but I've used a Mac OS to access the share using the same wired network and I had no problems doing so.So what could be the problem? Am I missing some setting? Or is the Windows share setting denying access to Linux systems?
I have been looking into how to get Nautilus to emulate the windows "map network drive" feature.
I have found several howto's that use various command line utilities to try to do this, however they tend to be like trying to use a sledgehammer to fix small dents.
When I connect to a share server, Nautilus puts a directory on my desktop that only Nautilus seems to be able to see and use. I would like to be able to access this directory with non-Nautilus applications.
I have a server, with a static IP of 192.168.1.17, that is running Ubuntu lucid sever edition and that exports some shares per NFS. Here is its /etc/exports:
However, autofs does not work: the /msrv directory appears and disappears when I start and stop autofs; but when I enter "cd /msrv" followed by "cd Share05" in the terminal, I get the "bash: cd: /msrv/Share05: No such file or directory" message after the second command.
I have a NAS on which I created a share with CIFS that has restricted access (that is: you need a username and password to access it). The reason is that I don't want any user in the network to mount this share.On one computer I have Bacula installed to run backups. I would Bacula to store the backups on the NAS share. So I mount the share in fstab. Works fine but the share directory is not read+write for all users but only for the root (since the mount was done for the root).The line in fstab:\readynasackup /readynas cifs user,rw,password=thePassword,username=bacula,umask=017 0 0How can I have Bacula (running as user Bacula) get read+write access to the directory representing the share?I tried to remove access control to the share but the directory representing the mount remains readonly...
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.
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.
I am trying to mount dosbox on a share on a remote computer. I did it in Win XP without any troubles. In Ubuntu it does n't work.
First I made the map in media and connected the share. The share works fine, but I cann't mount DOSBOX. Then I put the share in the /home/user directory. Share works fine! But dosbox does not mount.
I'm having some trouble mounting an NFS share on a VM host (both CentOS 5.5):
------------------------- SAN/NAS BOX (NFS Server): ------------------------- / filesystem on VolGroup00/LogVol00 = 7.6GB A 20GB filesystem on vg_vm/lv_vm1 is mounted at /srv/vm1 A 100GB filesystem on vg_vm/lv_data1 is mounted at /srv/data1
I have two remote systems which I have fstab entries for on the local system. I have them set to noauto, because mount fails during boot for some reason, but that's not the problem. For years I've mounted them in rc.local.
The problem is after I recently reinstalled Debian, when I mount them manually it always asks for my user's password. I've copied my user's pub key from the local to the remote system and put it in the user authorized_keys file (not root), like I always have. But it still asks for a password, and so fails to mount in rc.local.
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.
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.
We have a computer here with stuff on it we all use. If I load up my Windows XP VM and open it through My Network Places it loads up just fine. In Ubuntu Nautilus complains that it cant mount the share. If I do:
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?
I have a network PC running Win7 that u use for storage of all my media; movies, music and pictures.I can connect and use the share just fine using the "connect to server" option under places menu.I think i need to modify the fstab file but I am not familiar enough with it to do this.Have searched other threads for help but I am doing something wrong.HP Laptop running Ubuntu 10.10 connecting to a win7 share through a router.