LinuxQuestions.org
Help answer threads with 0 replies.
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-12-2004, 04:29 PM   #1
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
How do I Mount a Windows NTFS file system


My there is a Windows xp computer named front1 on the network with a shared directory named tbird on it. I need to mount the tbird directory on my unix box in /mnt/tbird1. I've tried this:
mount nfs //front1/tbird /mnt/tbird1 but get the message
file system nfs not valid. I've also tried:
mount ntfs //front1/tbird /mnt/tbird1
and get the message
file system ntfs not valid.....

What would be correct syntax for mounting a ntfs directory....

------------btw, this is sco 5.04 but hopefully will work the same....

thanks !
 
Old 04-12-2004, 05:01 PM   #2
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 58
smbmount //front1/tbird /mnt/tbird

SAMBA doesn't care what file system it is.

If it's on the same computer and you're not using SAMBA then you do:

mount -t ntfs /dev/hda1 /mnt/tbird
 
Old 04-12-2004, 07:48 PM   #3
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
This box does not have samba running on it so I can't use smbmount. Is there any way to mount this share with mount ?????
 
Old 04-13-2004, 08:33 AM   #4
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
You are confused.

Windows machines never run samba. Windows machines have their own networking software. Samba is a program that can talk to windows networking.

NTFS is a paticular way of storing files on a harddrive. NFS is a network protcol.
NTFS and NFS are different things. Windows machines don't use NFS.
 
Old 04-13-2004, 09:12 AM   #5
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
I guess I am confused. What I think you're telling me is that I MUST use samba to mount a remote windows share on my unix box - is this correct ?
and "mount" is only for mounting local file systems ?

Does anybody know if I copy the smbmount command or the smbclient command from another working samba enabled system onto my box will those commands work by themselves, or would I actually have to install the entire samba package? Reason I'm asking is this is a very old very fragile sco unix box (V 5.04) and I want to tread lightly with it....It has very important data on it and no backup. That's what I am trying to do is connect to a remote windows computer on the network and backup some files before this thing dies.....
 
Old 04-13-2004, 10:29 AM   #6
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
>I MUST use samba to mount a remote windows share on my unix box - is this correct ?
Yes, but there are other options to achieve what you want to do.

>"mount" is only for mounting local file systems ?
No, you can use it for remote filesystems if you give it the correct command
and have the appropriate software installed.

>f I copy the smbmount command or the smbclient command from
>another working samba enabled system onto my box will those
>commands work?
No

Other options to get your data off the machine include;

Put the harddrive in another machine. Don't know what filesystem SCO
unix uses but a linux might be able to mount it.

Run an ftp server on another machine and use an ftp client on the SCO box.
There are many free ftp server software packages for windows.
 
Old 04-13-2004, 10:48 AM   #7
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
You could also try rsync if it is available for SCO.

Whatever method you choose, keep Windoze file system's limitations in mind when backing up. Do you need to preserve upper/lower case file names? What if you have files named "file" and "File" in the same dir? Which one will you keep? Windoze won't let you keep both. Do you need to preserve soft/hard links? Permissions? Backing up to a Linux box might be a MUCH better option.
 
Old 04-13-2004, 11:45 AM   #8
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
As far as putting the sco hard drive in a linux box, it's got an antique raid configuration with multiple drives and I am not sure how it's all setup - don't want to chance messing with the hardware unless there's no other way.

Just curious - if I setup a Linux box and put it on this network, would it be possible to "mount" this old sco box into a /mnt/subdir over the network ?
would i need to add username= or password= to the mount statement in order to connect
Assuming the sco box has the same file system as linux, how would that work ?:
mount nfs //scobox/directory /mnt/subdir username=user,password=passwd.... ?
this might be easier to do this than to mess with samba and windows....

suggestions ?....
 
Old 04-13-2004, 12:04 PM   #9
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
You're still confusing filesystems used on hard drives with network data exchange protocols. Whether Linux box uses ext3, reiser, xfs or whatever else is pretty much irrelevant if you want to mount it through nfs. Same for SCO box. The only consideration is whether your target filesystem/platform supports the features I mentioned previously, but you don't say if that's relevant at all. What is relevant, if you're stuck on mounting something in /mnt directory before backing up data, is what network protocols are available on both ends. If you only have nfs server on SCO, your best bet might be to get a Linux box with nfs on it. You'd need to add appropriate entries to SCO's equivalent of /etc/exports file to tell nfs which locations you wish to make available to which clients and with what permissions. Use man to learn details. Don't forget to (re)start portmap and nfs services on SCO after modifying the exports file.

Still, my favorite hammer is rsync. At least read about it.

Gutting the SCO to plug it's drives into Linux box is definitely a bad idea, for many reasons.
 
Old 04-13-2004, 01:24 PM   #10
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
"Do you need to preserve upper/lower case file names? "

Yes, very relevant - absolutely, and sorry I didn't say that in my last post. I wasn't very clear about my reasons for wanting a file system mounted in my earlier posts, but I was thinking I could create a tar file backup that puts the tar file on the target file system. The tar file would preserve file names and cases, and directory structure whether it was on a windows box or a linux box. I could then automate the tar backup job with crontab so it could run at regular intervals. But, With samba not on the sco box, I think using the windows box is too much trouble, and using ftp from the windows box to copy the files would not preserve file name cases - not good.

I don't know a thing about rsync but I will take you advice and read up on it. It's possible that rsync may not even exist on the sco box.

I appreciate all the help...

Last edited by explorer; 04-13-2004 at 01:26 PM.
 
Old 04-13-2004, 05:25 PM   #11
artur
Member
 
Registered: Apr 2002
Location: Illinois, US
Distribution: Red Hat, Fedora, Yellow Dog, Debian, FreeBSD, Embedix
Posts: 106

Rep: Reputation: 15
Doing backups from cron you say? That's exactly what I do nightly to back up my servers using rsync. AFAIC it is perfect for the job.

Have you considered the size of your tar archives? Can the filesystem on which you want to store tars handle files of that size? I know this wouldn't work for me. Also, if I'm not mistaken, nfs only allows files up to 2GB. Besides, pulling files out of tars can get troublesome.
 
Old 04-14-2004, 12:36 PM   #12
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
Thanks Art, I'm going to see if rsync is on this subject sco system this weekend. To be real honest, there is a **LOT** of stuff missing and not working on that system, and I don't use sco anyway which hasn't helped. It's a very user-UNfriendly system to begin with, and it's at a customer location and I was just trying to use something I already knew how to use quick and easy - tar, to keep my time and effort to a minimum. They're going to be replacing it with a new linux system later this year but were getting paranoid about not having backups of anykind. Does rsync create a compressed file or how does it work ? How would I tell if rsync is installed or not ? Thanks again.

Last edited by explorer; 04-14-2004 at 12:37 PM.
 
Old 04-27-2004, 02:48 PM   #13
Offred
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Thumbs down Linux Sux

This is a perfect example of why Linux will fail as a consumer OS, or as an OS for small biz owners who have a basic grasp of networking.

Take a simple command from Windows "net use z: \\server\c$". See how easy it is? Now contrast this with Linux. After several hours, I'm still clueless on how to do this. There are tons of "suggestions" on the web, but NO ONE has actually tried to do this!! Not a single step-by-step process to mount a simple NTFS file system under Linux so that Linux users can access files R/W on a NT server. Seems like everyone just copies and passes the same wrong answers to post after post. If you don't REALLY know the answer, why not just stay out altogether? Why confuse people with all this jargon when you really don't know the answer? I suggest you shut off your computer, go down to the local pub, and impress all the women there with your brains and stay out of posting.

As long as you all give incomplete, untested, arcane answers boasting all your technical knowledge and prowess, the average user is just left scratching his head saying, "huh?"

Do you all really think we're going to run to Linux in droves when a simple command like "net use" has no apparant easy, uncomplicated equivilant in Linux? As small business owners, we MUST leverage our existing infrastructure which means we must keep our existing NT/W2K servers until the bitter end. We can't afford to move completely to Linux, 'cuz I'd have to hire ANOTHER techie just to figure out how to map a network drive.

Yeah, I already know what your answer is: "go Linux all the way!!"

Yeah, right...
 
Old 04-27-2004, 04:47 PM   #14
explorer
Member
 
Registered: Feb 2003
Posts: 229

Original Poster
Rep: Reputation: 34
Well Offred - you really picked the wrong thread for this comment - SCO is a commercial UNIX product and not even Linux at all.
 
Old 05-06-2004, 09:57 AM   #15
cdn2k1
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Offred...

People like you deserve to stick with Windows. The reason Linux might seem complicated and overwhelming at first, is that the operating system is so much more powerful and has many more capabilities than anything else you may be used to. Furthermore, if you aren't sure exactly what it is that you are trying to accomplish, you will sure become frustrated, as you clearly are. And you're not even the one with the problem...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 03:27 AM
NTFS file system mount problems Fedora 2.4 jjisnow Linux - Newbie 2 03-23-2004 05:42 PM
Can We Mount NTFS Windows file System from linux gautam_iiith Linux - General 6 10-23-2003 06:47 PM
mount the ntfs file system jdevanand Linux - General 3 01-22-2002 01:25 PM
Mount Problem for NTFS (WIN2k) FIle System atul_jadhav Linux - General 5 12-31-2001 08:50 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration