View previous topic :: View next topic |
Author |
Message |
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Tue Nov 12, 2002 4:00 am Post subject: partitions |
|
|
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 |
|
|
dementedblitz Tux's lil' helper
Joined: 05 Nov 2002 Posts: 88
|
Posted: Tue Nov 12, 2002 4:02 am Post subject: |
|
|
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 |
|
|
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Tue Nov 12, 2002 4:03 am Post subject: |
|
|
quick reply Did you read what I editted? _________________ ^M = Death by notepad
http://www.raindesigns.com |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Tue Nov 12, 2002 4:06 am Post subject: |
|
|
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 |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Tue Nov 12, 2002 4:09 am Post subject: |
|
|
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 |
|
|
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Tue Nov 12, 2002 4:14 am Post subject: |
|
|
I ran "fsck /dev/hda1" (I only have 1 hd) and it said that there weren't any errors. I'm still clueless .
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 |
|
|
Ethernal Tux's lil' helper
Joined: 06 Nov 2002 Posts: 106 Location: Stockholm, Sweden
|
Posted: Tue Nov 12, 2002 8:59 am Post subject: |
|
|
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 |
|
|
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Wed Nov 13, 2002 2:06 am Post subject: |
|
|
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 |
|
|
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Nov 13, 2002 5:40 am Post subject: |
|
|
fsck only works on filesystems, not entire drives. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Wed Nov 13, 2002 11:55 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Nov 14, 2002 12:01 am Post subject: |
|
|
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 |
|
|
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Thu Nov 14, 2002 2:03 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Thu Nov 14, 2002 4:44 am Post subject: |
|
|
Which kernel sources are you using? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Rain Designs Tux's lil' helper
Joined: 01 Jul 2002 Posts: 130 Location: Los Angeles, CA
|
Posted: Fri Nov 15, 2002 1:41 am Post subject: |
|
|
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 |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Fri Nov 15, 2002 4:40 am Post subject: |
|
|
What is the output of uname -r? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|