Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
partitions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Nov 12, 2002 4:00 am    Post subject: partitions Reply with quote

Does it matter where I put the partition? Like for instance in fdisk you make a new partition then you select what block it goes in (I think, I can't really remember) and then you select the size.

I am asking this because I run a gaming server and there are some unexplained crashes both in the system logs and in the game logs. I placed the partition in the highest block possible. I run Gentoo 1.2

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com


Last edited by Rain Designs on Tue Nov 12, 2002 4:02 am; edited 1 time in total
Back to top
View user's profile Send private message
dementedblitz
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2002
Posts: 88

PostPosted: Tue Nov 12, 2002 4:02 am    Post subject: Reply with quote

Use cfdisk makes life much easier .. WAY easier
_________________
"Don't let life discourage you; everyone who got where he is had to begin where he was."
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Nov 12, 2002 4:03 am    Post subject: Reply with quote

quick reply :) Did you read what I editted?
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Tue Nov 12, 2002 4:06 am    Post subject: Reply with quote

The short answer is no, not really. The long answer is that you can optimize for performance if you know the particulars about your hard drive. This would mean that you can put high traffic disk areas on the outer portions of your platters so that the disk head doesn't have to travel as far to reach them. It's a little different for every drive and I'm sure you can find more info on this from google if you are really interested. However, most of the time this doesn't matter unless you are a total performance freak.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Tue Nov 12, 2002 4:09 am    Post subject: Reply with quote

Ok, now that I've read what you edited you might be interested in testing your disk to make sure that there are no bad sectors. The fsck man page should help with this some. :)
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Tue Nov 12, 2002 4:14 am    Post subject: Reply with quote

I ran "fsck /dev/hda1" (I only have 1 hd) and it said that there weren't any errors. I'm still clueless :cry:.

Thanks a lot for the advice. Thats pretty interesting about the performance issue.

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
Ethernal
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2002
Posts: 106
Location: Stockholm, Sweden

PostPosted: Tue Nov 12, 2002 8:59 am    Post subject: Reply with quote

fschk /dev/hda1 only checks the first partition, did you try fschk /dev/hda ?
_________________
Hmm.. Of course, these are MY opinions - likely to be just as flawed as anyone else's. Um, really, I guess you should assume everyone's speaking out of some external influence. Believe in whatever makes sense to you.
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Wed Nov 13, 2002 2:06 am    Post subject: Reply with quote

I tried fsck /dev/hda and I got this:

Code:
server root # fsck /dev/hda
fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Mar-2002)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/hda

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>


then I tried e2fsck -b 8193 /dev/hda and got this:

Code:
server root # e2fsck -b 8193 /dev/hda
e2fsck 1.27 (8-Mar-2002)
e2fsck: Bad magic number in super-block while trying to open /dev/hda

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>


I am running ext3 partitions.

So I guess my hd is bogus?

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Wed Nov 13, 2002 5:31 am    Post subject: Reply with quote

anyone?
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Nov 13, 2002 5:40 am    Post subject: Reply with quote

fsck only works on filesystems, not entire drives.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Wed Nov 13, 2002 11:55 pm    Post subject: Reply with quote

Code:
server root # fsck /dev/hda1
fsck 1.27 (8-Mar-2002)
e2fsck 1.27 (8-Mar-2002)
/dev/hda1: clean, 26/26104 files, 8615/104391 blocks
server root # fsck /dev/hda2
fsck 1.27 (8-Mar-2002)
fsck: fsck.swap: not found
fsck: Error 2 while executing fsck.swap for /dev/hda2
server root # fsck /dev/hda3
fsck 1.27 (8-Mar-2002)
fsck: fsck.xfs: not found
fsck: Error 2 while executing fsck.xfs for /dev/hda3


what does this mean?

Is my hd bogus?

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Nov 14, 2002 12:01 am    Post subject: Reply with quote

Rain Designs wrote:
what does this mean?

That you have not installed xfsprogs. I've never heard of fsck for a swap partition (not to say that it doesn't exist). I have seen no evidence so far that your hard disk is defective.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Thu Nov 14, 2002 2:03 am    Post subject: Reply with quote

k thanks

I have been experiencing these weird "crashes" lately.

First off I run gentoo 1.2 on a 1700+ Athlon XP with 1gb pc2100 ram.

I run half life and all of a sudden client's pings will jump and then the server will "crash" but when it comes back online ( I setup a shell script to restart the game) it acts as though it never crashed. I tested my ram, I tested my hd, any suggestions on whats wrong?

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Nov 14, 2002 4:44 am    Post subject: Reply with quote

Which kernel sources are you using?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Rain Designs
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2002
Posts: 130
Location: Los Angeles, CA

PostPosted: Fri Nov 15, 2002 1:41 am    Post subject: Reply with quote

I couldn't tell you cause I don't know. I just ran the stage 3 tarbal, I skipped stage 1 and 2 when installing

any ideas?

Thanks

Rain
_________________
^M = Death by notepad

http://www.raindesigns.com
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Nov 15, 2002 4:40 am    Post subject: Reply with quote

What is the output of uname -r?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum