• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

mount.cifs hangs while mounting win7 share

Red Squirrel

No Lifer
I am trying to mount a share on a windows 7 machine and it just hangs.

Code:
[root@borg cron]# mount.cifs //falcon.loc/backup_c$ /mnt/falcon_c -o username=backup_admin,password=********
^C
[root@borg cron]# mount.cifs //falcon.loc/backup_c$ /mnt/falcon_c -o username=backup_admin,password=******** -v
parsing options: username=backup_admin,password=********

mount.cifs kernel mount options unc=//falcon.loc\backup_c$,ver=1,username=backup_admin,password=********


Unfortunately I'm using an old distro (FC9) so the yum repositories are no longer available to update it, so I can't try that as a troubleshooting step. I'm afraid it's probably why it's not working, but think there may be a way to get it to work without upgrading the OS?

I do plan to eventually upgrade but only when I have money to build a new server so I can run them both side by side to perform the upgrade.

Is there perhaps another way I can get files from the win7 machine? Could I possibly run some kind of rsync server in windows and rsync straight from the machine? I just need a way to automatically get files (that changed) from that machine to the server, for backup purposes. I will most likely be backing up the entire C drive.
 
you could share a folder from the linux box and tell windows to backup there, perhaps? is the windows box part of a domain? because that information has to be included as well.

dmesg show anything of interest related to CIFS?

as an aside: why not run vmware or something? it would be a pain, but not a big one, to run vmware workstation to convert your running box to a vm in workstation, then convert your server to an esxi box and run vmware converter to run the workstation vm into an esxi vm...or to just build a new vm that you can migrate to.

/loves vmware but that doesnt really do much for your cifs issue
 
I eventually want to convert to a full hypervisor, but even then I rather do that on separate hardware so I don't get any downtime. I can't run ESX as it's very picky about hardware. Trying to find very specific parts in Canada is hard. Not everything is as easily available. I pretty much have to build a white box and use something that will work on any hardware. I may look into proxmox or just straight KVM at some point. I really miss VMware Server, it was a great product, but they botched 2.0 and then they just abandoned the whole project.

Also I just realized the host name was not resolving properly. Doh. I thought I had tested that but apparently not. I fixed the DNS record and it's working fine now. In dmesg I was getting:

Code:
CIFS VFS: Error connecting to socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -512


Which kinda pointed me towards double checking that the host is valid. Turns out it was not!
 
esxi isnt really super picky...i built a white box from newegg. the main thing is chipset support on the motherboard and you can find a whitebox list with some quick googling.

ive had zero issues, run esxi from a flash drive and have a couple of hard drives in the box for storage.
 
Back
Top