Hi ... it's me again, started a new thread cos the old one got a little long ...
Am i the only one who finds it just a little annoying that the forum has to break long discussions up into several pages? *hint hint admins*

Okay, to get back on topic: My problem was that a shutdown -h now would break my xfs partition, while a regular reboot would not ... using xfs but have also tried reiser, btw. I used to solve the problem by booting up on the Gentoo cd and do a fsck.xfs /dev/hda5 (the / partition), but i just found out that i dont need to do anything, simply just booting up on the Gentoo cd and Ctrl+Alt+Del reboot back to my Gentoo would fix my filesystem?

Spooky uh?

My question now shouldnt be too hard to guess ... what am i doing wrong?
Is it a kernel misconfiguration?

Any help will be greatly appreciated, this is starting to annoy me a little bit ...

Sounds like you may have misconfigured your XFS filesystem, did you do any of the following things or perhaps did them in an improper mannor:

Quote:

Note: You may want to add a couple of additional flags to the mkfs.xfs command: -d agcount=3 -l size=32m. The -d agcount=3 command will lower the number of allocation groups. XFS will insist on using at least 1 allocation group per 4 GB of your partition, so, for example, if you hava a 20 GB partition you will need a minimum agcount of 5. The -l size=32m command increases the journal size to 32 Mb, increasing performance.

Warning: If you are installing an XFS partition over a previous ReiserFS partition, later attempts to mount may fail without an explicit mount -t xfs. The solution is to zero out the partition before creating the XFS filesystem: dd if=/dev/zero of=/dev/hdx bs=1k.

Am i the only one who finds it just a little annoying that the forum has to break long discussions up into several pages? *hint hint admins*

Just bumped up the posts per page from 15 to 25, how's that?

I read your other topic, and saw that you used Maxtor's diag disk, but lets try something better. Try running

Code:

badblocks <device>

Just seems a little weird that two kernels and two filesystems both choke at the same sector.

Also, did you ever actually do "dd if=/dev/zero of=/dev/<hd>"? If you did, it would probably complain to you when it hit that sector if it is bad.

Sounds like a physical problem, and FreeBSD doesn't fix that. Well, actually, I thought HDs nowadays remapped themselves when bad sectors were found... Which might explain why a reboot works (the remapping is still stored on the HD somewhere) versues losing the new map when the HD loses power, but I thought they were stored permanently.

Well, havent had much time to play recently, been busy with school and stuff ...
But downloading the new Gentoo 1.2 and playing around with my partitions (erasing and creating again, with different shapes and sizes (used W2K on my box too, thats why i didnt do it long ago)) seems to have solved the problem

So umm ... well if anyone else should encounter problems like this, i dunno ... it worked for me

Anyways, thanx to everyone for suggestions and help
West
happy Gentoo user