LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   mounting windows drive (https://www.linuxquestions.org/questions/linux-networking-3/mounting-windows-drive-36294/)

chrismiceli 11-23-2002 08:44 PM

mounting windows drive
 
i am trying to mount the windows drive on my linuxbox, here is how i am trying

[root@localhost lib]# smbmount //W4AO06/Mitzeli /mnt/winshare
Password:
1091: tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree
connect.)
SMB connection failed

Mitzeli is the drive name and the W4AO06 is the computer name.

Syncrm 11-24-2002 11:30 AM

try this:

smbmount -o username=user,password=passwd \\\\windowsbox\\sharepath /mnt/winshare

windows shares start with a \\, but you need to escape those from the linux command line, so that's why they're doubled.

mnsg1 06-28-2003 01:11 AM

You must have the samba service running

The command in RedHat is

mount -t smbfs -o username=[username},password=[password] //Server/Share_name /mount-point

[username]= Windows username
[password]= Windows password
//Server= Windows server name
/Share-name= Windows share name (i.e. C$, etc)
/mount-point= directory on linux box where you want to mount (i.e. /user/bin, /mnt, home/user):Pengy:


All times are GMT -5. The time now is 06:29 PM.