LinuxQuestions.org
Visit Jeremy's Blog.
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 01-28-2005, 10:09 PM   #1
mac_casey
Member
 
Registered: Jun 2002
Location: Edmonton
Distribution: SUSE 10
Posts: 62

Rep: Reputation: 15
Major Problem - Sos


HELP...SOS..SOS.

I have created a server with an 80 gig drive and used the defaults for an install. Now things are slow....i mean really slow...I was able to do a DF and it indicated that hdc1 was at 100% Below are what i got from fstab:

dev/hdc1 / ext3 defaults 1 1
/dev/hdc6 /home ext3 defaults 1 2
/dev/hda /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850$
none /proc proc defaults 0 0
/dev/hdc5 swap swap defaults 0 0

Now i get the message below about df.

df: cannot read table of mounted filesystems: No such file or directory


My Question is how to adjust the partion sizes. I used partition magic and it showed that my partitions were not even close to being full. Now im obviously hooped!

Please Help
 
Old 01-29-2005, 12:38 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
1. post the output of
df -hT
as that will give a better idea on what is full.
2. Read the "How to ask/post a question. Your thread title is piss poor my friend. We all have urgent problems that need to be resolved. If they are truely as urgent "SOS" call a tech support line.
 
Old 01-29-2005, 05:26 AM   #3
mac_casey
Member
 
Registered: Jun 2002
Location: Edmonton
Distribution: SUSE 10
Posts: 62

Original Poster
Rep: Reputation: 15
My apologies on the titile. my bad.

[root@localhost root]# df -hT
df: cannot read table of mounted filesystems: No such file or directory

On the 25 this is what i have

Jan 25 11:00:56 localhost fsck: /dev/hdc1: clean, 123251/768544 files, 502409/1534199 blocks (check after next mount)
Jan 25 11:00:56 localhost rc.sysinit: Remounting root filesystem in read-write mode: succeeded
Jan 25 11:00:56 localhost rc.sysinit: Activating swap partitions: succeeded
Jan 25 11:00:56 localhost fsck: /dev/hdc6: clean, 394/8863744 files, 286961/17715670 blocks (check after next mount)

Today now

Jan 29 10:48:48 localhost mount: mount: /dev/hdc6 already mounted or /home busy
Jan 29 10:48:48 localhost mount: mount: permission denied
Jan 29 10:48:48 localhost netfs: Mounting other filesystems: failed
Jan 29 10:48:43 localhost partmon: Warning, free space for </> is only <0> (which is inferior to <20000>
Jan 29 10:48:32 localhost fsck: /dev/hdc1: clean, 122753/768544 files, 1534199/1534199 blocks (check after next mount

Is there an easy way to fix this?
 
Old 01-29-2005, 06:26 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Its odd that its telling root "permission denied". If you had a run-away log, that could fill up the drive. If you an get your hands on a live-linux CD, you could mount the harddrive under the live CD and then ge the output of df
 
Old 01-29-2005, 07:29 AM   #5
mac_casey
Member
 
Registered: Jun 2002
Location: Edmonton
Distribution: SUSE 10
Posts: 62

Original Poster
Rep: Reputation: 15
Ouch! Something so small is going to kill me. I think i pooched my system by trying now to use Partian Magic. When i used PM it said there was a problem with the table and that it would fix it for me. I think that is when i could no longer use the DF command.

The only other think that i did this week was in installed more memory. Went from 256 to 1 Gig.

Also do you think this could have been an attack of some kind? I was using this server for both web and email.

thoughts?
 
Old 01-29-2005, 09:15 AM   #6
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
as far as an attack, check the log files in /var/log/
I don't know what partition magic actually does to a filesystem to comment on it. If the worst has to happen, backup your configs and re-install.
 
Old 01-29-2005, 09:27 AM   #7
mac_casey
Member
 
Registered: Jun 2002
Location: Edmonton
Distribution: SUSE 10
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks for your help. I am reinstalling and now have the following partitions. Do you think my "/" is too small? I used the server install to automatically do it for me. I have a gig of ram and i was told that i shoud double the swap for how much memory i have but i couldnt increase the size using diskdrake. I could only make is smaller. Then i had free space but still couldnt add to "/"

I look forward to your reply as your advise well tell me if i should reinstall again with different settings. Please advise music_man


Filesystem Size Used Avail Use% Mounted on
/dev/hdc1 780M 99M 642M 14% /
/dev/hdc8 20G 33M 20G 1% /home
/dev/hdc9 981M 17M 915M 2% /tmp
/dev/hdc6 3.9G 782M 2.9G 21% /usr
/dev/hdc7 34G 99M 32G 1% /var
/dev/hdc10 14G 337M 13G 3% /var/www
 
Old 01-29-2005, 09:38 AM   #8
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I doubt you need more than 400MB of swap. The rules you spoke of is a windows rule. I generally put less swap space than the installed ram.

If you looking for my suggestion on how to partition, just reply back with how many GB the hard drive is and what the server is going to be used for. I'll make a suggestion then.
 
Old 01-29-2005, 09:52 AM   #9
mac_casey
Member
 
Registered: Jun 2002
Location: Edmonton
Distribution: SUSE 10
Posts: 62

Original Poster
Rep: Reputation: 15
Thanks for your help.

Its an 80 gig harddrive. It will primarly be used for web services with a MySQL data base as well. There will also be a small amount of email (just one account).

Also would you suggest that i put the web folders (virutual host) each in there own home directory or place them all in the \var\www\html folder.

Thanks again..
 
Old 01-29-2005, 06:11 PM   #10
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
200MB /boot
400-512 swap
10GB /
9GB /usr
2GB /var
the rest to /home

On distro's that are for web serving, I typically move the www directory to /home. Make backups a little easier since I only have to back /home
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Amanda [out of tape problem]! SOS! hueofwind Linux - General 0 11-28-2005 10:15 PM
SOS:::Emerge Problem!!! lilyerr Linux - Distributions 4 11-25-2004 10:18 AM
DNS need help ? pls help me ! SOS SOS AngelOfTheDamn Linux - Networking 2 02-23-2004 12:13 PM
Rlogin Problem SOS Please tungaw2001 Linux - Networking 0 10-23-2003 05:11 AM
Major Problem! Ghettozn Linux - Newbie 7 07-22-2003 04:38 PM

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

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