Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-24-2002, 08:21 AM   #1
LQ Newbie
Registered: May 2001
Distribution: Slackware Linux 9.1
Posts: 23

Rep: Reputation: 15
swap partition problem


Yesterday, our linux fileserver crashed. It provides additional
space (30Gb) to our sun workstation via nfs which only has 8gb of drive space.

My problem is this: i was able to fix one of the partition which had inconsistency problem. But the swap space seems to have a problem. I does not mount. During bootup it says:

swapon: /dev/hdc1:invalid arguement

How do i fix this?

The system seems to work fine without the swap space. but i want to fix it, i'm afraid it might cause problems in the future.

btw: our linux server consists of
AMD K6 233Mhz
128Mb RAM
1Gb IDE Hard disk (this is where linux resides)
30Gb IDE Hard disk (our workspace and also where swap is located)
8Gb Scsi Drive (common space shared via samba)

your help is greatly appreciated.

Thanks in advance.
Old 03-24-2002, 12:30 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,681

Rep: Reputation: 218Reputation: 218Reputation: 218
Swap is not real filesystem, in fact. In your situation, I'd delete the swap partition and create a new one (use fdisk, parted or similar utility).
Old 03-24-2002, 03:09 PM   #3
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
I'd think in the first place the problem was the swap. It slows things down. And if the puter can't keep up, it crashes.

Remove swap asap. 128MB is more than enough for a server unless you play Unreal, open KDE, run Mozilla, download 4 ISO's in 4 diff. proggies, etc.
Old 03-24-2002, 07:16 PM   #4
LQ Newbie
Registered: May 2001
Distribution: Slackware Linux 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
another problem

Hello again, and thanks for replying.

I think i'll remove the swap space.
I'm still quite new to this, is the procedure below correct?

1. from boot: type linux -s
2. unmount partitions
3. run fdisk /dev/hdc
4. remove swap space from fdisk, remove from /etc/fstab
5. reboot

Also just today, the server says that

ext2-fs error (device ide1(22,5)):ext2_read dir : bad entry in directory # 97537: rec_len is smaller than minimal - offset=144 inode= 97544 rec-len=0, name_len=0

ext2-fs error (device ide1(22,5)): directory # 97537 contains a hole at offset 1024

what does this mean? what do i do? do i have a major problem here? please help.

thanks in advance.


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
Problem installing YaST, SWAP partition jlukasavige SUSE / openSUSE 10 12-02-2004 04:01 PM
problem with lacking of swap partition ntduongntd Linux - General 1 11-28-2004 11:45 AM
problem creating swap partition during installation kristof Red Hat 11 07-03-2004 02:25 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM
installation - partition / swap problem catch Linux - Software 3 03-10-2002 05:51 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration