Mounting a Network Drive

Asked by Da7sunz

Hey Guys and Gals,

I'm trying to mount a network share drive locally , let me be more clear , We have network drive which is shared with the other 50 users in our company. I wanted to mount the drive to perform some test and back up the drive. However the Gnome icon pops up on the desktop and if if I click it I can go to the share , but it does not show up in the mount directory. Unless I go to a file browser I don't see it . Some apps will only show the local Drive directory and not the share is this a bug or my "stupidness"

Thx in advance

Da7Sunz

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Da7sunz
Solved:
Last query:
Last reply:
Revision history for this message
Ralph Janke (txwikinger) said :
#1

Thanks for the question.

What kind of network drive is this? Windows? If so, is it a Windows server, or just a shared drive on a windows desktop?

How did you mount the drive?

Thanks

Revision history for this message
Markus Thielmann (thielmann) said :
#2

Thanks for you question.

If you access a share by nautilus, it uses GnomeVFS (VFS=VIrtual Filesystem). So it isn't mounted in your /mnt/ directory and you're only able to use Gnome-Applications with that share.

If your share is using SMB (Windows Share) you might find this explanation on how to mount permanent quite helpfull: http://doc.gwos.org/index.php/HowToMountsmbfsSharesPermanently

Revision history for this message
Da7sunz (shierod) said :
#3

Hey guys thanks for the assistance the share I'm using is coming from smb:// the drive name however it is not a windows box. I connect to the share by going to places connect to server-> then find the share drive and connect then it puts the icon on the the desktop. However I want to really mount the drive in the mnt directory

Thanks guys

Revision history for this message
Markus Thielmann (thielmann) said :
#4

It's still a SMB share. So have a look at http://doc.gwos.org/index.php/HowToMountsmbfsSharesPermanently as said before. There you find valuable hints on how to solve your problem.

Don't hesitate to ask again if something is unclear.

Revision history for this message
Jody Simpson (jodysimpson) said :
#5

Hi there.

Using the terminal, enter:

sudo smbmount //servername/sharename /mountdirectory -o username=username,password=password

this command (obviously filling out you info in place" will get you your mount. working.

If you wish to make this permanent, added it to your /etc/fstab

You can do this, again in the terminal, by entering:

sudo gedit /etc/fstab

once you have the file open, add:

//servername/sharename /mountdirectory smbfs username=userename,password=password 0 0

NOTE: This method is fine if its a single user system, however is a security risk if other users are on the machine.
This is due to the fstab file being viewable by all.

Hopefully that helps.

Revision history for this message
Best Da7sunz (shierod) said :
#6

well. well , I have it all worked out. I used nfs to mount the network share and edit /data/ ***.***.**.* ip root user =password it is now working as it should the above comment posted by Jody put me on track to what I need to do.
you guys are amazing

thank you

Da7Sunz

Revision history for this message
Kamel Beyk (kamel-beyk) said :
#7

I am a first time Linux user, and the last time I used (lightly) a command line was with DOS 3 and 6 back in 1997.
It made me feel so proud to connect my shared drive at home with Ubuntu Linux where it was clearly stated by the hard disk manufacturer that it supports Windows and Mac only.
Thanks