LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-09-2008, 08:29 AM   #1
chengjin
LQ Newbie
 
Registered: Apr 2008
Posts: 8

Rep: Reputation: 0
Remote mount


I would like to mount windows from Debian server ,

I use the command mount -t ext3 -o username="...", password="..." windows_path/path local_path,

it pops the below messages :
mount: special device //windows_path/pathdoes not exist ,

I use the same command in another RH server ( with -t cifs ) , it is OK to mount , can advise what is wrong in my server ? thx
 
Old 04-09-2008, 08:33 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well for a start you're trying to say it's an ext3 filesystem, when obviously it's not, it'll be cifs. so have you tried using the right fs type?
 
Old 04-09-2008, 08:35 AM   #3
puntjuh
Member
 
Registered: Apr 2006
Location: holland
Distribution: Gentoo / debian / suse / mint
Posts: 558

Rep: Reputation: 42
The windows drive you are trying to mount is probably not configged with an EXT3 Filesystem. I'd recommend:

mount -t smbfs -o username="..." password=".." /you/home/dir/or/sth //your/windows

smbfs might be outdated, it's beeing replaced by cifs.

so this might also work:

mount -t cifs -o username="..." password=".." /you/home/dir/or/sth //your/windows
 
Old 04-09-2008, 08:36 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are you trying to mount a share offered by a different windows computer or are you trying to mount a windows partition on the same computer. I.E., multibooting. If the former, then use the cifs filesystem. If the latter, what is the filesystem on the partition. You can't just make up a different filesystem type in the mount command.

For "cifs", use //netbios_name/sharename instead of the device. For a local ntfs partition, consider using ntfs-3g.

You will need to install fuse if it isn't already. Then install "ntfs-3g"
 
Old 04-09-2008, 08:46 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
hmm, i was assuming that the title meant it was over a lan, but who knows...?
 
Old 04-09-2008, 09:03 AM   #6
chengjin
LQ Newbie
 
Registered: Apr 2008
Posts: 8

Original Poster
Rep: Reputation: 0
the replies,

I also tried -t vfat , but the error is still "mount: special device //windows_path/path does not exist " , I know cifs is common with mount package , if I want the system supports the file system type "cifs" , what can i do ? thx
 
Old 04-09-2008, 09:15 AM   #7
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
Question

Quote:
Originally Posted by chengjin View Post
the replies,

I also tried -t vfat , but the error is still "mount: special device //windows_path/path does not exist " , I know cifs is common with mount package , if I want the system supports the file system type "cifs" , what can i do ? thx
Hmmm it doesn't seem to me as this is a cifs issue...Can you ping and/or resolve the windows machine you are trying to mount off of ? i.e. Do you have access to it ?
 
Old 04-09-2008, 09:32 AM   #8
chengjin
LQ Newbie
 
Registered: Apr 2008
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mtimbro View Post
Hmmm it doesn't seem to me as this is a cifs issue...Can you ping and/or resolve the windows machine you are trying to mount off of ? i.e. Do you have access to it ?
i am 100% sure this is not connection problem , no any restriction between the servers, all are in the same LAN .
 
Old 04-09-2008, 12:00 PM   #9
chengjin
LQ Newbie
 
Registered: Apr 2008
Posts: 8

Original Poster
Rep: Reputation: 0
thx ,

it seems my system is not support cifs and smbfs file system type , can advise how can I make my system supports these file system type without re-compile the kernel ? thx
 
Old 04-09-2008, 01:25 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'm sure you do support cifs on any modern distro, and smbfs on anything older.
 
Old 04-10-2008, 02:29 AM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Quote:
Originally Posted by mtimbro View Post
Hmmm it doesn't seem to me as this is a cifs issue...Can you ping and/or resolve the windows machine you are trying to mount off of ? i.e. Do you have access to it ?
Your mount command said otherwise. Ext3 would be a filesystem you use on a partition. Cifs would be what you use for mounting a samba share.
 
  


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
mount remote windows XP noir911 Linux - General 1 10-12-2006 09:04 PM
remote mount linux9559 Linux - Networking 3 01-06-2006 10:43 AM
best way to mount remote hd ? xushi Slackware 14 04-25-2005 09:45 AM
Mount the remote CD rom ust Linux - General 2 08-18-2004 06:11 PM
Remote Mounting? (Mount remote folder on local filesystem) mac_phil Linux - Networking 1 11-15-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:28 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