LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-29-2015, 01:05 PM   #1
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Rep: Reputation: Disabled
Question SMB Local Drive Mounting


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?
 
Old 10-29-2015, 01:50 PM   #2
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
I tried to do it with
Code:
sudo mount -t nfs smb://x.x.x.x/usb_drive /mnt/usb_drive
and the terminal just sat there with a blinking cursor. After a few minutes I just Ctrl-C'd it.
 
Old 10-29-2015, 06:01 PM   #3
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
It should be mount -t cifs //x.x.x.x/share /mnt/folder

Last edited by hortageno; 10-29-2015 at 06:03 PM.
 
Old 10-30-2015, 04:06 PM   #4
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-30-2015, 05:26 PM   #5
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by Flexico View Post
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.
 
Old 10-31-2015, 01:22 PM   #6
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
OOOOOOOOOHHHHHHHH I derp'd. XD

But ... the same thing happened:
Code:
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.
 
Old 10-31-2015, 04:28 PM   #7
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
Quote:
Originally Posted by Flexico View Post
OOOOOOOOOHHHHHHHH I derp'd. XD

But ... the same thing happened:
Code:
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.
Is cifs-utils installed?

What does "smbclient -L x.x.x.x" say?

Last edited by hortageno; 10-31-2015 at 04:36 PM.
 
Old 11-03-2015, 05:12 PM   #8
Flexico
Member
 
Registered: Aug 2015
Distribution: Mint MATE
Posts: 153

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting a smb share as a local folder on Fedora 9 accessing a Windows Server AustinMarton Linux - Networking 2 11-15-2009 07:21 PM
mounting network samba drive using cifs in /etc/rc.local file rioguia Linux - Server 2 09-09-2009 08:22 PM
rcl.local - mounting a drive stuaz Linux - Software 11 03-20-2009 06:45 AM
specify encoding method when mounting a local drive benben_shen Linux - Software 3 04-02-2006 04:12 AM
mounting local hard drive, permissions plasticus Linux - Hardware 5 02-15-2004 03:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration