Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, here's the setup I'm working on: I have an external HD plugged into my desktop computer (Win7) and have it shared across the local network. I am able to access the files on my laptop (Debian/MATE) by opening "My Computer" and typing in the IP address (smb://x.x.x.x/usb_drive).
However, I want to set up a one-way backup from my home folder to the external drive, and DirSyncPro doesn't recognize SMB as a folder that can be backed up to/from, and bash can't mount it to a local folder. How do I do this?
That's what I tried first, but it gave me this error:
Code:
flexico@linuxlaptop:~$ sudo mount -t cifs smb://x.x.x.x/usb_drive /mnt/usb_drive
mount: wrong fs type, bad option, bad superblock on smb://x.x.x.x/usb_drive,
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.
That's what I tried first, but it gave me this error:
Code:
flexico@linuxlaptop:~$ sudo mount -t cifs smb://x.x.x.x/usb_drive /mnt/usb_drive
mount: wrong fs type, bad option, bad superblock on smb://x.x.x.x/usb_drive,
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.
No, you didn't. Read my command again and compare it with yours. If you still get an error without the "smb:", you need to install cifs-utils.
flexico@linuxlaptop:~$ sudo mount -t cifs //x.x.x.x/usb_drive /mnt/usb_drive
mount: wrong fs type, bad option, bad superblock on //x.x.x.x/usb_drive,
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.
flexico@linuxlaptop:~$ sudo mount -t cifs //x.x.x.x/usb_drive /mnt/usb_drive
mount: wrong fs type, bad option, bad superblock on //x.x.x.x/usb_drive,
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.
I'm going to have to put this project on hold for the time being, as my housing situation has changed and my desktop computer is currently in storage. I'll be back when I have my own place again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.