General :: FEDORA 12 - Mount -t Cifs On A Server Doesn't Work
Sep 28, 2010
Using Fedore 12 I am trying to mount on a server with the following command: # mount -t cifs //samba-pool-suse/pool-suse /mnt -o user=xxxx I was waiting that the system askme the user password and thats all, but the answer is: mount: wrong fs type, bad option, bad superblock on //samba-pool-suse/pool-suse, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program) In some cases useful info is found in syslog - try dmesg | tail or so using:# dmesg | tail returs: CIFS VFS: cifs_mount failed w/return code = -22
View 3 Replies
ADVERTISEMENT
Feb 18, 2009
I am trying to mount a samba share using an fstab entry
//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0
The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this
username=********
password=********
View 5 Replies
View Related
Jan 28, 2010
I have one NAS device and using samba share one folder without password, how can I use command mount -t cifs to mount this share folder? I tried the below command, but always popup password checking?How should I do mount this folder without password checking?
View 3 Replies
View Related
Mar 15, 2011
I am trying to image about 30 laptops with WinXP, and I am using Clonezilla and DRBL for the task. We will start migration to Win7 starting Q4, so for now we are still using XP. I used a Clonezilla live USB to capture a standardized image to a CIFS/SAMBA share on the enterprise file server. The file server does not support NFS. To deploy the image, I used Virtualbox to build a VM with Centos 5.5 and then later Ubuntu 10.10. I mounted the CIFS share to /home/partimag but I found that I cannot share this CIFS mount out as NFS so I was unable to deploy the image with the image still residing on the CIFS; I had to copy the image to the VM's local drive.
Now using the DRBL live distribution, which is Debian based, I was able to obtain the image from a CIFS share and then share it out to the clients to be imaged as NFS (I think). I was able to use the DRBL live for some older computers, but since that hasn't been updated in nearly 2 years, I think it's missing some device drivers for my newer machines so it doesn't work on them -- this is why I looked at using CentOS and Ubuntu. To mount the CIFS shares, I'm using the following command:
mount -t cifs -o user@domain //share_ip_addr/share_name/folder /home/mount_point
Do I need to do something different to enable the mounted CIFS share to be shared out as a NFS share so that the clients to be imaged can see the contents from the CIFS share as a NFS share? The below image depicts my setup. The workstation has two NICs. The 10 network is the enterprise network and the 192 network is for DRBL imaging only. DRBL/Clonezilla does PXE boot and leases DHCP for the laptops. The laptops are shielded from the enterprise LAN; I am not doing any kind of NAT on on the server. The Linux VM is built with dual NICs and are set to bridged mode so they appear to be a separate NIC from the VM host on the network even though they going into the same port on the wall. [URL]
View 4 Replies
View Related
Jun 25, 2010
I've got a Seagate Blackarmor NAS which I can mount with CIFS to my Centos 5 server fine but only root can read and write to it. All other users can only read. I've tried several different mount options but results are always the same.
Specific issue: I'm trying to connect the the NAS so Bacula, a backup app, can write backups to it. "bacula" is set up as a user on the NAS. BTW, I'm pretty sure the OS on the NAS is Linux, and I can connect through windows and write fine.
View 2 Replies
View Related
Jun 27, 2011
I have a linux server running slackware 13.37. I am trying to mount a samba share with my other slackware machine, but I get a "mount error(13): Permission denied" when I run
sudo mount -t cifs //server/share /mnt
But, if I run
sudo mount -t cifs //192.168.1.100/share /mnt
[code]...
View 2 Replies
View Related
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
Apr 29, 2010
We have a homegrown process that runs on a windows box and produces a csv file. We mount the directory these are output to using autofs/cifs and then process them using a program on our linux database servers.
Is there a way from linux, looking at the cifs share, to tell if the target file is currently in use by a process on the windows box? We are having issues where an incomplete file is being processed occasionally.
View 5 Replies
View Related
Jul 9, 2010
I've mounted a kind of proxy to map some cifs folders, 150 aprox. It umounts and mounts everything each hour, to check on changes on a configfile managed by a secretary, she just edits a file with names and I prepared a cron to notice the new mountpoints. It's a debian, no desktop , no nothing else. Just mount.cifs and apache2 to let the master webpage access to some files on each user samba home. The server has 4 cores and 2Gb of RAM. It's brand new, but it goes very slow.
[Code]....
Does anyone have an idea why is that working so slow? The apache is working well, it's the shell which is working extremelly slow.
View 3 Replies
View Related
Jul 20, 2011
I'm having some trouble in trying to make a clean solution and tougher time searching to not get the basic mounting pages/posts. So I thought I'd throw this out hereFor Oracle, we have an app server that runs /sharedapps and is an NFS mount for all other app/db nodes. What I'm working on now is that on this app server that hosts/exports /sharedapps file system has a sub folder with a CIFS mount (/sharedapps/data/appmount). e thing is that the remote nodes with the NFS mount to /sharedapps don't see the remote data in /sharedapps/data/appmount, only the main app server that has the CIFS connection. Realistically it makes sense why, but I'm trying to research if there is a way to have it do so. This is where I'm struggling. We are working on this in a dev instance right now but soon to be in production. In production, there are many DB nodes that could process a request which is why it would be best to have the NFS connection follow the remote CIFS connection
View 8 Replies
View Related
Feb 11, 2010
- my windows shares were working fine, since there was aktualization they don't any more
- i have Fedora 12
- my /sbin/mount.cifs und /sbin/umount.cifs have 777 permissions
when I execute my mount with normal user:
/sbin/mount.cifs //sdvbdta01/KADA/ /home/kada/dvb-shares/persoenlich -o user=kada,dom=dvbern,pass=$PASSWD
I get this error:
/sbin/mount.cifs: permission denied: no match for /home/kada/dvb-shares/persoenlich found in /etc/fstab
When I execute that mount with root then it works, but I can't edit documents on that share with normal user
View 2 Replies
View Related
Aug 19, 2011
I have a bootable utility toolset that I put together with Fedora 14, one of its primary functions is to map a user designated share via script and access information from it. The command that I used, that functioned perfectly, in Fedora 14 was:
Code:
sudo mount -t cifs -o user=provided.account.name //file-server.mydomain.com/share/images /mnt/source
[code]...
View 3 Replies
View Related
Mar 16, 2011
I have 2 USB drives connected to an XP machine that I rotate twice a month for backups. On my CentOS box, I have that drive mounted at /home/backup using cifs.
Because the drive is mounted on the Linux box, Windows XP complains when I try to "Safely Remove Hardware". As a result, I have to "umount /home/backup", then "Safely Remove Hardware". After connecting the new drive, I then have to "mount /home/backup" in order to use it again on the Linux box.
Now, this question may be a Windows XP question, but I was wondering if there is anything I can do on the Linux box first. Is there anything that can be done on either end, so that I won't have to "umount /home/backup" first?
View 2 Replies
View Related
Jan 8, 2011
My Open Office freezes when I try to save over a network to Win 7 Home Premium. I'm running fedora 14 with win 7 mount via mount.cifs. I have full rw access to windows via dolphin. Does anyone have a solution?UPDATE:this is an official bug.[URL]if anyone has a work around,but every work around I've seen in forums don't work.
View 3 Replies
View Related
Apr 27, 2010
I have mounted window shared partition to my RHEL 5.4 server through following command
Quote:
But I'm unable to mount the same via fstab.172.20.x.x is my windows server download is my shared folder name.
Suggest me correct fstab entries
My current fstab entry is as follows
Quote:
View 5 Replies
View Related
Apr 4, 2011
Linux box info: root@mytestbox:~# uname -a Linux mytestbox 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux
Windows box info: Windows Server 2008 SP2 Enterprise I've verified via --verbose output that mount.cifs is indeed processing the passed on options.
root@mytestbox:~# mount -t cifs //10.1.1.10/Test /root/testwin --verbose -o credentials=/root/testcreds,rw,nocase,noperm,noacl,nounix,noserverin o,iocharset=utf8,file_mode=0777,dir_mode=0777
[Code]...
Yet, when I type mount all it reports is (rw,mand). The share works just fine, and I can see the masking (all files are showing as rwxrwxrwx as expected etc) but mount is not listing the options?!
Is this normal expected behavior? Is there a bug report on this? I've google'd to the best of my capabilities and could not locate any such information which is why I decided to hit the forums prior to filing a bug.
View 1 Replies
View Related
Jan 8, 2010
using Ubuntu file browser, I browsed my Windows network and logged on to a Windows PC. Now Ubuntu file browser shows me "C$ on WinPC" as a folder. I can open it, read/write files, etc.But from bash prompt, I don't see anything of type CIFS/SMBFS listed in the output of "mount". Only the usual suspects (like local CDROM). How can refer to Windows files from Linux commandline?
View 6 Replies
View Related
Apr 12, 2011
when i am enabling mysql in server (port 3306) it does'nt work. but when i execute iptables -F it works what may be the reson?
View 6 Replies
View Related
Feb 2, 2016
On my debian jessie "testing" I have set in fstab some line to mount folder located on my pc server...
When pc boot up the error is
Code:
Select allFailed to mount /mnt/Web
See 'systemctl status mnt-web.mount' for details...
CIFS VFS: cifs_mount failed w/return code = -101
Then, after logging in, if I run mount -a all works correctly...
Maybe error was LAN that is not started? In this case how to resolve?
View 11 Replies
View Related
Jan 26, 2010
setup consist of three machines: 2 servers (A and B)(ubuntu) and my local laptop Server A is a company controlled server which holds project data Server B is our office local server, which we use for development purposes. The problem occurs when i ssh from my local laptop to server B. After loggin in, i execute a script to transfer data from A to B. This script mounts server A using gvfs-mount. It fails to mount completely and gives me the following error
Code:
Error mounting location: volume doesn't implement mount
However if i log onto server B, using the servers keyboard and monitor (using a gnome session) i can execute the line. To verify that it's something related to the ssh login, i tried the following: (My local laptop is also running ubuntu) from laptop open a terminal. See the gvfs mount work as expected. open another terminal and ssh localhost tried to execute gvfs-mount from the local ssh session and i get the above mentioned error. After googling a bit, i found that it might related to dbus (which i know _nothing_ about) and i tried
Code:
dbus-launch gvfs-mount and then tried to gvfs-mount server A, but it fails again.
View 9 Replies
View Related
Nov 27, 2010
I installed 10.10 yesterday and all seemed fine. Now I made an NFS mount in /etc/fstab like I use to in 10.04
Kaapstad:/admin /mnt/Kaapstadadmin nfs defaults 0 0
but get this:
# mount -a
mount: wrong fs type, bad option, bad superblock on Kaapstad:/admin,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
[Code]....
In /mnt, /etc/hosts everything is set as should be. In other posts I'm reading other problems with nfs as well. Is there a bug?
View 2 Replies
View Related
Aug 31, 2010
I have a hard time mounting two external drives on my Suse 11.3. When I use the device notifier gadget both drives get mounted in /media/<drive name>, the vfat drive is read-only though. However, I would like to mount both drives under /<drive name> in separate directories and rw. I looked at the devices in /dev/ and entered the device name to fstab, set the mount point, file system (vfat, and ntfs-3g) and set 'rw,noauto,exec,user,sync 0 0'.
This way I could mount my vfat drive read-only under /<drive name>, but not the ntfs one. After a reboot i noticed that the external drives get different IDs in /dev. E.g. what I had in my fstab under /dev/sdc1 got /dev/sdf1, and /dev/sdc was unknown. I am doing something wrong here, what worked in 11.0 does not seem to work here.
[code]...
View 2 Replies
View Related
Oct 3, 2010
i was workin on my rmi programs today in my f12,and then i executed all the files related to the program,it did get executed! but when i type the command start rmi registry that is to start the registry system,it fails to does so:
heres the o/p:
start: Unknown job: rmiregistry
the programs luks perfect and even got executed,sorry if the question is silly to be asked over her! i am completely new to fedora!
View 2 Replies
View Related
May 2, 2010
I have a Western Digital "My Book" on my network which I have mounted with cifs.
If I go into it and vi a file, all is fine. I can write and save and close. When I open the file and add to it and then try to write it again, I get the message:
"thefilename" E212: Can't open file for writing
The file is owned by me still and the permissions are -rw-rw-r--
I don't understand why it works the first time and not the second. Also this same effect is observable when I save from another program to there. The first save is fine, the second can not be saved.
View 5 Replies
View Related
Jul 14, 2010
I am getting an error when I try to mount a CIFS file-system via terminal:
cifs_mount failed w/return code = -22
If I Places > Connect to server, it will open just fine. The share is also accessible from all the other computers on the network.
Google search brought me here to an archived thread which gave a different error number (!)
Desktop is Ubuntu 10,4LTS/Gnome; fresh install with no additional packages installed (so it's possible I am missing something but not sure what!)
View 1 Replies
View Related
Jul 12, 2010
I want to share linux folder with Windows server 2003 using cifs;I have install samba on linux system;
View 1 Replies
View Related
May 17, 2011
I live out in the middle of nowhere and can only access internet via tether. PDAnet doesn't work according to June Fabrics with Fedora yet, but they state that Bluetooth DUN is supported.
View 1 Replies
View Related
May 6, 2015
So after having spent the past half year preparing to abandon Windows and come over to Debian I finally made the switch last night only to realize I forgot one important thing... I didn't figure out how to map the network drive on my Windows server (currently learning to replace this with Debian as well) to my Debian system.
I have read about 15 links but keep getting the following error: Mount Error (6): No such device or address
Here is what I'm trying to enter into my terminal (with important bits removed for security of course)
mount -t cifs //xxx.xxx.xxx.xxx/Network_Storage/ -o username=xxx,password=xxx /mnt/cifs
View 14 Replies
View Related
Aug 20, 2009
I used command as followings. nothing special. mount -t cifs //192.168.55.53/windows$/Home /mnt/ -o user=username%password It works well after mounted. But mounting itself takes 1-2 minutes terribly. After mounted successfully, file transfer speed looks to be normal.
View 9 Replies
View Related
Feb 18, 2010
I'm trying to talk the studio I work at into switching one of the departments to linux. (likely kubuntu). So I'm trialling it, but having issues mounting windows shares.It's working great; all except that only Root can write to the mount. I've tried a few different things with fstab, no go.Below is my fstab so far, and you can see the mountpoints.
Code:
# /etc/fstab: static file system information.
#
[code]....
View 2 Replies
View Related