LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-20-2001, 11:53 AM   #1
artman62
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.2
Posts: 97

Rep: Reputation: 15
Unhappy Windows files on Linux box


I have a Linux box running Red Hat 7.1 on my Windows network with Samba. Everything seems to run fine except for one thing. The Linux box is replacing a Windows 98 SE box that I used to store files on. Both systems have the same hard drive - a 30GB Western Digital. When I tried to transfer all the files from the Windows box to the Linux box, I ran out of disk space on the Linux box not even three quarters of the way through the transfer. The files on the windows box don't take up the whole drive. What Gives?

Last edited by artman62; 12-20-2001 at 11:54 AM.
 
Old 12-20-2001, 12:27 PM   #2
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
I'm certain that your linux box did do some parititioning to your harddrive on installation. It might just have happened that it created two rather large parititions so the one you try to put your win-files onto is not big enough...

df -h will give you some info on how your partitions are set and used up.

Can't give you any hint on resizing paritions with Linux though.

HTH Steave.
 
Old 12-20-2001, 04:43 PM   #3
artman62
Member
 
Registered: Nov 2001
Distribution: Mandrake 8.2
Posts: 97

Original Poster
Rep: Reputation: 15
I'm certain that your linux box did do some parititioning to your harddrive on installation. It might just have happened that it created two rather large parititions so the one you try to put your win-files onto is not big enough...

The df -h told me that sometimes you need to look at what your doing when you install hard drives in two different systems at the same time.

It seems I put the 30GB hard drive in the wrong computer, and stuck a 13.6 GB hard drive in my Linux box.

Here's my new question. Since both of these systems are Linux boxes, what is the easiest way to transfer all my network and Samba info from one to the other?

I used groupadd, useradd, and chown to make the folder that was accessible from my PC's because the info I put into my smb.conf file didn't work.
 
Old 12-21-2001, 04:48 AM   #4
Steave
Member
 
Registered: Jul 2001
Location: Braunschweig, Germany
Distribution: Suse 7.2
Posts: 184

Rep: Reputation: 30
To transfer files, NFS is the choice

add lines to your /etc/exports file that specify the directories you want to share (This will make them world wide visible) For more info see man exports.
Then restart/start your nfs-server. (Don't know how this is done on RH.

You will then be able to mount the directories with the command
#mount -t nfs server:share /mount/point
where share needs to be the fully qualified path on the host machine. That is if you shared /share/music
you will have to mount like this:
#mount -t nfs server:share/music /mount/point

You will probably have to create one identical user on both machines, so you won't get into file permission issues. For the time of transferring its probably a good idea to make the files world-readable.

Steave.
 
  


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
I canít transfer files from my Windows machine to my Linux box. kingkongadp64 Suse/Novell 10 11-04-2005 12:16 PM
Playing Windows files on Linux box? watha Linux - Networking 12 10-06-2005 08:10 PM
FTP files from DOS box to LINUX box lobo1 Linux - Software 4 06-02-2005 10:57 AM
Transfairing files from windows xp box to mandrake linux 10.0 box. tyledogg Linux - Newbie 4 07-25-2004 11:24 PM
Pushing files from a Linux box to a Windows Box scottpioso Programming 2 11-27-2003 02:29 PM


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