LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-19-2003, 08:42 AM   #1
WiWa
Member
 
Registered: Aug 2003
Distribution: Redhat 9.0, Fedora Core, Suse 9.1, Mandrake
Posts: 82

Rep: Reputation: 15
Remaining space on harddisk


Hi,

I havce two questions:

1) How can I know how much space is left on my harddisk?

2) I have currently a RedHat system with a rather small harddisk. My plan is to install a larger harddrive in the same server and install Debian on that harddrive. The old 'RedHat' disk is supposed to go to another PC. My current RedHat system is already configured (Apache webserver, MySql database, PHP installed, webalizer, different crontabs, ...) How can I put this configuration data on my new Debian 'harddrive'.

Thanks in advance,

WiWa
 
Old 10-19-2003, 08:48 AM   #2
doughammond
LQ Newbie
 
Registered: Oct 2003
Posts: 13

Rep: Reputation: 0
use the command 'df' (without quotes) on the cmd prompt.
type 'df --help' for options.. 'df -h' is good for a general view of space avail/remaining

D.
 
Old 10-19-2003, 08:50 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
1) You need to have the partitions mounted for this - to show usage for mounted partitions:
df -h
2) I wouldn't overwrite the configuration on your new server in case you use different versions that need different configs - merely use them as examples. Getting the data over shouldn't be a problem - just install debian on the new drive then mount the partitions from the old drive with the data on them and copy the files over.
 
Old 10-19-2003, 09:16 AM   #4
WiWa
Member
 
Registered: Aug 2003
Distribution: Redhat 9.0, Fedora Core, Suse 9.1, Mandrake
Posts: 82

Original Poster
Rep: Reputation: 15
How can I 'see' two harddrives in Linux, 1 has RedHat and the other has 'Debian'. How can I simply transfer files between them?
 
Old 10-19-2003, 09:20 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Once you have booted into debian create a temporary mount point - eg:
mkdir /mnt/rh9

Then mount the partition that has your data on it - eg:
mount /dev/hdb3 /mnt/rh9
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
my harddisk is run out space ,what should i do . ztdep Linux - Software 7 08-05-2005 03:16 AM
vfat; drive space remaining itzfritz Linux - General 1 11-13-2004 08:14 AM
Checking the space remaining on a scsi tape drive rooch84 Linux - Software 0 09-22-2004 03:44 AM
Low Harddisk space. Can I just transfer the entire Linux to a bigger harddisk? davidas Linux - Newbie 12 04-13-2004 02:03 AM
samba / xp / remaining space bobio Linux - Networking 0 02-03-2002 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:24 AM.

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