Ubuntu :: Mount A Windows Share Using Smbmount And Unmounting It With Smbumount?

Jul 29, 2010

I have a server with Ubuntu 8.04.4 LTS completely patched up to date.I tried to mount a windows share using smbmount and unmounting it with smbumount. I did it as a non root user (let's say "someuser") and managed to mount the share without problems with "smbmount \\server\share xxx" where "xxx" was a directory on the user's root. After it I could see the shared files in the xxx directory, as it was supposed to be...

The problems came when trying to unmount it. Using "smbumount \\server\share xxx" didn't work giving "This utility only unmounts cifs filesystems." error message. Then I tried "smbumount xxx" and worked. I couldn't see the files in xxx directory anymore, and I could even delete xxx directory.

But now, when looking at /etc/mtab file, I still can see the share listed as mounted! The line is: "//server/share /home/someuser/xxx cifs rw,mand,nosuid,nodev,user=someuser 0 0". Also, df command lists the share as mounted too. But, as I said, the share is not really mounted, and I can even delete xxx directory without any problem... /proc/mounts doesn't list the share as mounted either... And, obviously, fstab file has no entry for this mount.

Moreover, /etc/mtab file group changed from root to someuser!I don't really understand what happened, but I assume some bug with smbumount or smbmount. Anyway, what does really worry me is how to fix this mess... I already changed mtab file group back to root, but I don't know how to return the mtab file to a consistent state.My main question is: can I simply edit mtab file and remove the inconsistent line?? I know one should never have to manually edit this file, but can it really be done in a situation like the one I'm describing? What could happen if I do it?

Also, I'm worried about if I don't do something to fix the inconsistency I could have problems when trying to shutdown the computer, or in any other situation. So, should it be safe to leave things unfixed and let everything return to normality when the system is rebooted?

View 4 Replies


ADVERTISEMENT

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 Networking :: Sharing Windows 7 Drives - Unable To Mount Location - Failed To Mount Windows Share Error Message

Sep 5, 2010

I have recently set up an ubuntu installation on an old PC. After some fiddling with both it, and the windows 7 machine, I have managed to share all of my drives. However, when attempting to access them from ubuntu, only 2 of the 4 hard disk shares will mount, with the other 2 failing with a Unable to mount location, failed to mount windows share error message.

View 2 Replies View Related

Ubuntu Networking :: Unable To Mount Location / Failed To Mount Windows Share

Jul 26, 2010

I have a Dell Inspiron 1720 running Ubuntu v10.04 with a wireless card.My desktop is a Dell Optiflex running WinXP.The desktop is connected via ethernet cable to a Linksys wireless router. Certain folders on the desktop are set for sharing. Up until early last week I was able to access the desktop folders from the laptop with no issues.Suddenly I am now getting this error "Unable to mount location Failed to mount Windows share" whenever I try to access the desktop folders from the laptop.I suspect an upgrade is the culprit, but not sure.

View 3 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 :: Unable To Mount Location: Failed To Mount Windows Share

Mar 21, 2010

i'm trying to connect to the three other machines in my house but am having quite a hard time doing so. i've never had a problem in the past with ubuntu, but, with 9.1 and windows 7, things have gotten a bit harder. i'm running 9.1 and my roommates are running windows 7. i've installed, set up and configured samba and i can see the computers on my network, but any time i try to access either of the drives, it says unable to mount location: failed to mount windows share.

View 4 Replies View Related

Ubuntu Networking :: Sharing Folders From It To Windows - Error: "Unable To Mount Location" "Failed To Mount Windows Share"

Jun 28, 2011

I have a computer running Ubuntu 10.10. I am using it to share many hard drives connected to it. I am using Samba. I have successfully shared many folders to one Windows user. I am attempting to share other folders within the shared folders to another user as read only but have not had any success. When I attempt to connect to one of the shares from another computer running Ubuntu 10.10, logged into an Administrator account with the same username and password which I setup on the Samba share I get the error: "Unable to mount location" "Failed to mount Windows share"

View 3 Replies View Related

General :: Networking 2 Boxes - Error: "unable To Mount Location Failed To Mount Windows Share"

Mar 27, 2011

im trying to get a network setup i followed the instruction via gentoo wiki samba what i have done

[Code]...

then i did chmod 777 to the shared folders on both machines went into nautilus it sees the folder but it will not mount the folder showing the error msg:"unable to mount location failed to mount windows share" ive been searching unbuntu forums opensuseforums and google for an answer to this issue but as of right now anything that i have tried to do has failed and nothing seems to be working.

View 12 Replies View Related

Ubuntu :: Cannot Mount/connect To Windows Share

Jan 10, 2010

I cannot connect to a share on Windows XP machine, because it rejects my password. I'm using correct username and password. When running from console, smbclient's error message is: session setup failed: NT_STATUS_LOGON_FAILURE I can connect to said share from other Windows machine.

View 9 Replies View Related

Ubuntu :: Failed To Mount Windows Share ?

Mar 4, 2010

I'm trying to access shared directories on a WIN/XP box in my home lan and get that message.

I can access other shared directories on a Win-7 box, but not those on the old WIN/XP box.

Where to start to debug this?

View 4 Replies View Related

Ubuntu :: Failed To Mount Windows Share?

Mar 21, 2010

i've been trying to network with the other computers that are in the house so that we can share music and pictures and what not, but, everytime i try to view one of their computers it says unable to mount location failed to mount windows share.

View 1 Replies View Related

Ubuntu Networking :: Mount Windows NFS Share?

Apr 16, 2010

I'm using Unix services for windows on a windows system and shared a few folders using it; now how can I mount it on Linux?

There's no way you can search for this question online. These search terms -

"mount windows NFS share linux"

Also mean -

"mount linux NFS share windows"

and -

"mount share windows linux NFS"

Which actually means NFS 4 which supports SMB protocol.

So actually it's IMPOSSIBLE to search for this and so this will be a good sticky.

View 9 Replies View Related

Ubuntu :: Really Mount Windows Share (SMB URLs)

May 6, 2011

I am currently in a more mixed environment as I desire and I need to mount samba shares because I need to work with the data. I noticed that nautilus does not really mount the shares and some applications cannot deal with smb urls. I searched and found this old thread: [URL]. Is it possible that after all these years, this is still unchanged? To permanently mount on boot time is not an option for me as the drive will not always be available - already changes when I move within the office from fixed to WLAN (e.g. when going to a meeting and vice versa).

View 1 Replies View Related

Ubuntu Servers :: Suddenly Cannot Mount Nfs Share From Windows 7?

May 23, 2010

I recently reinstalled my file server (moved from fedora to ubuntu server). Now I cannot mount my nfs share from windows 7, mounting from mac osx works fine. In windows I either keep getting "the semaphore timeout period has expired" or "an unexpected error has occured". Does ubuntu need some special magic to allow windows 7 to mount an nfs share? This is my exports file

Code:
/home/ducky101/ 192.168.1.*(rw,sync,insecure,no_root_squash)
/home/ducky101/mnt/EXTRN2 192.168.1.*(rw,sync,insecure,no_root_squash)
/home/ducky101/mnt/EXTRN3 192.168.1.*(rw,sync,insecure,no_root_squash)

View 3 Replies View Related

Ubuntu Networking :: 9.10 - Failed To Mount Windows Share

Aug 6, 2010

After latest updates on Ubuntu 9.10 desktop today - network connection to Samba share on a network drive have stopped working.
I'm getting following error in Nautilus
Error: Failed to mount Windows share
Please select another viewer and try again.

View 1 Replies View Related

Ubuntu :: Can't Permanently Mount A Windows Share Folder?

Jan 7, 2011

I'm successfully accessed a local Windows Share folder with the "Places --> Connect to Server" tool, but I can't figure out how to get it permanently mounted so that I don't have to keep logging in every time I boot up. I understand that the solution is supposed to involve adding a line to fstab, but I've tried a dozen variations on it based on various tutorials I've found online to no avail. Is there any way to check and see how the "Connect to Server" tool is doing its magic? Or to make that permanent?

-Brett Bowman
Erdr1ck
System:
Ubuntu 10.10 (AMD64)

View 2 Replies View Related

OpenSUSE :: Mount A Windows Share Into A Folder?

Sep 21, 2010

Is there a way to mount a Windows Share into a Linux folder? I'm using OpenSuSE 11.1.

View 4 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

Software :: AcetoneISO Will Not Mount From Windows Share?

Jan 21, 2011

In an effort to get back to learning Linux have recently installed Kubuntu 10.04 LTS on a spare computer I have. I would like a way to mount my DVD .iso files that I spent hours ripping. On my Windows computers I just use DaemonTools. In my quest to find something similar for Linux I ran across AcetoneISO. The issue is that when I try to mount an .iso from the Windows share folder I get a message stating that only local images can be mounted. To need to have the images on this computer would defeat the purpose of having the file server with 4.5 terabytes of storage. Is there a way I can mount the .iso files without transferring them to the Kubuntu machine first? If I have to use different software I am fine with that. I am not looking for the command line option as I will never remember the name of every .iso I have.

View 7 Replies View Related

Ubuntu Networking :: Failed To Mount Windows Share (Server)

Mar 21, 2010

I'm trying to connect to the other computers on the network in my house, but, when I try to view the main file folders it tells me "unable to mount location: failed to mount windows share" I've looked everywhere I can think of and have done everything they've told me to do, and I still can't get it to work.

View 9 Replies View Related

Ubuntu Servers :: Windows Users Can't Mount Share Folders?

Mar 25, 2010

When I connect with my ubuntu 9.10 x86_64 freenx server from Linux/Mac share folders from client side will properly mounted and I can use with no problems.

When I connect to the same server from windows box, I get this error message:

Quote:

Info: Share: '//COMPUTER/FOLDER' failed to mount: mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Last two days I was googleing a lot about this but all I tryed didn't work.

Is there somebody share folder works from windows connection?

View 2 Replies View Related

Ubuntu Networking :: Can't Create Permanent Windows Share Mount

May 1, 2010

I have been successfully creating permanent windows share mounts on Ubuntu since v8.04 by following the instructions in [URL] My fstab file has this line

Code:

//192.168.0.2/office_d /media/office_d cifs credentials=/home/peter/.smbcredentials,dir_mode=0777,file_mode=0777 0 0

which in the past has mounted the windows share without any problems.For some reason this doesn't work anymore. The .smbcredentials file is in the same place it has been since it was created. I have verified that .smbcredentils is in the correct place.In order to find out what the problem might be, I tried

Code:

dmesg | tail

and got the following response

Quote:

[ 18.428245] type=1503 audit(1272697118.037:15): operation="capable" pid=1249 parent=1245 profile="/usr/sbin/cupsd" name="sys_admin"
[ 18.432914] usb 1-1: usbfs: interface 0 claimed by usblp while 'usb' sets config #1
[ 19.516273] CIFS VFS: No username specified

[code]...

I can't pretend that I understand the full message, but it seems to say that it can't find/read the .smbcredentials file and as a result can't mount the share. When I change the code to

Code:

192.168.0.2/office_d /media/office_d cifs username=xxxx,password=xxxx 0 0

where xxxx is my username and password, the share mounts without any problems.I can't work out what I am doing wrong. Has the code changed? For obvious security reasons I don't want to place the username and password in the fstab file where everyone can see it.

View 2 Replies View Related

General :: Unable To Mount Windows Share To SUSE 11.3

Aug 13, 2010

I'm pretty new to using Linux and I installed SUSE 11.3 on Sun Virtual Box to play around with it. I am trying to mount one of my Windows shares to my SUSE system and I'm getting an error "Mount error(13): Permission denied". I have made sure my Windows permissions are open, in fact I used a test share and added everyone and gave full control. Below is the command I tried to use to mount it.

mount -t cifs -o username=Nick //computername/share /mnt/temp

I pre-created the temp folder under mnt and I tried both my PC name and my ip address in the above command with the same error each time. I also tried using my pc name in my username string as well "username=pcname/Nick" and that did not work either. Can someone advise me why this error is occuring?

Kernel version: 2.6.34-12

Thanks,

Nick

View 1 Replies View Related

Server :: Mount Samba Share On Windows Permanently?

Jul 7, 2010

Client OS :- Windows XP
Server OS :- Centos 5.4
Service :- samba or smb

Actually i want to take a back of windows xp's users data which on d: or etc and that backup i want to store in samba share which i made on my centos 5.4 . To do this we need to mount samba share as local drive then any script or any software can detect that share easily in that drive.

View 4 Replies View Related

Ubuntu Networking :: Mount Windows User Share Folder At Login?

Sep 29, 2010

i need to always mount the user share of my Windows server at Ubuntu login.

This is my server struture:

Server
|-Group1
| |-user1
|
|-Group2
|-user2

ive found that i need to configure pam mount and i have this example:

<volume user="user" fstype="smbfs" server="krueger" path="public"
mountpoint="/home/user/krueger" >

but i dont know what to change relative to my server folder struture.

View 9 Replies View Related

General :: Mount A Windows File Share Securely (encrypted)?

Jan 15, 2009

I'd like to find a way to mount a windows file share securely (encrypted) as I'll be communicating over the Internet.

View 4 Replies View Related

General :: Unable To Mount Windows Server 2008 Share?

Aug 22, 2010

I am trying to mount a shared drive on a Windows Server 2008 machine using a Linux machine (Fedora 13). I try mounting by

# mount //HOSTNAME/SHARENAME /mnt/FOLDER

and I get mount error(13): Permission denied.

I have tried other options like # mount -t nfs //HOSTNAME/SHARENAME /mnt/FOLDER -o username=USERNAME and the same thing with different filesystem types (ntfs, smbfs, cifs).

I have:

checked all firewall configurations.
verified security/sharing settings
for the drive
verified registry keys under HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesNfsSvrParameters
verified NFS server is running

I am familiar with Windows Server 2008 but I have never configured a system from scratch on my own. The computer I'm using used to have Windows 7 for sharing folders to a Linux server. I have just switched to Server 2008 and have not been able to mount anymore.

One thing that I think is that I tried setting up an identity mapping solution; however, I do not have a domain controller setup. I am still functioning on a workgroup.

View 1 Replies View Related

Ubuntu :: Mount Dir Using Smbfs To Windows Share Can't Write To File Permission Denied?

Jun 19, 2010

Mount a Windows share where my user account has admin privileges. All permissions granted to the share on the windows pc side.Mount statement is as follows:sudo mount -t smbfs -o username=johndoe //winname/directoryname /mnt/tmp/Share mounts ok but does not let me create or write to an existing file. When I select Properties on the directory it says that permissions are unknown on the share looking at it from Ubuntu.

View 4 Replies View Related

Ubuntu Networking :: Some Command Line Way / Where Can Invoke Nautilus To Mount Windows Share

Oct 9, 2010

My computer is connected to the college lan where almost all machines are some variant of Windows OS. If i use Places > Network, while windows network is displayed, mostly it returns unable to mount shares, my workaround for this problem is I use some tool like nbtscan to see which hosts are up and then use network > Connect to Server > windows share and type in the ip address, this mounts the windows share even though Places> network doesn't display such hosts. My question is there some command line way where I can invoke nautilus to mount the windows share, ie the same job connect to server > windows share does? And is there some application like say lan surfer for windows which lists all the folders shared by a windows client.

View 3 Replies View Related

Networking :: Configure Nfs Mount Disk To Samba Share For Windows Client ?

Nov 8, 2010

I am not able to configure nfs mounted disk for shareing samba. i have a server X. which configure samba for windows XP client this is done. now i have export X server samba share disk to mount Y server using nfs. this is mount and ok. but i don't share this disk using Y server samba configure.

View 2 Replies View Related







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