Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Filesystem issues 2: This is gettin kinda spooky ....
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
west
n00b
n00b


Joined: 09 May 2002
Posts: 28
Location: Dinamarca

PostPosted: Thu May 23, 2002 6:26 pm    Post subject: Filesystem issues 2: This is gettin kinda spooky .... Reply with quote

Hi ... it's me again, started a new thread cos the old one got a little long ... :roll:
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* :wink:

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 ... :?

Oh yeah, the error message it comes up with is:
Code:
end_request: I/O error, dev 03:07 (hda), sector 9437184
Kernel Panic: VFS: Unable to mount root fs on 03:07


Thanks in advance,
West


Last edited by west on Fri May 24, 2002 1:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
west
n00b
n00b


Joined: 09 May 2002
Posts: 28
Location: Dinamarca

PostPosted: Fri May 24, 2002 11:13 am    Post subject: Reply with quote

No one? aaaw cmon .... :D
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Fri May 24, 2002 2:49 pm    Post subject: Reply with quote

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.

_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Fri May 24, 2002 2:55 pm    Post subject: Reply with quote

Oh yeah if I'm not mistaken when your running xfs you have a couple of good tools, one called xfs_check and one xfs_repair.

You may want to try running those.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
west
n00b
n00b


Joined: 09 May 2002
Posts: 28
Location: Dinamarca

PostPosted: Sat May 25, 2002 8:52 am    Post subject: Reply with quote

AutoBot wrote:
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:

No.

AutoBot again, this time he wrote:
You may want to try running those.

Yes. But no.

Damn im just so close to an emerge FreeBSD now ... :(

Anyways, thanks for trying AutoBot :)
Back to top
View user's profile Send private message
west
n00b
n00b


Joined: 09 May 2002
Posts: 28
Location: Dinamarca

PostPosted: Sat May 25, 2002 11:01 pm    Post subject: keepalive ... Reply with quote

[FreeBSD yada yada] ... and of course, nobody here wants that to happen, rite? :wink:
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sun May 26, 2002 3:36 am    Post subject: Re: Filesystem issues 2: This is gettin kinda spooky .... Reply with quote

west wrote:

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* :wink:

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.

Just a thought.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
TheWart
Guru
Guru


Joined: 10 May 2002
Posts: 432
Location: Nashville,TN - USA

PostPosted: Sun May 26, 2002 4:01 am    Post subject: Reply with quote

just out of curiosity, what type/manufacturer HD do you have?
_________________
Face it, we are all noobs.

On the box it said it was designed for Win XP or better, so why won't it work with Linux?
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sun May 26, 2002 4:15 am    Post subject: Reply with quote

TheWart wrote:
just out of curiosity, what type/manufacturer HD do you have?


I talked to a guy on #kernelnewbies, he thinks that it could be more like a IDE chipset/HD initialization problem.

So, what chipset and HD you got in your box? Or just give me a dump of:
Code:
cat /proc/pci

_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
Back to top
View user's profile Send private message
west
n00b
n00b


Joined: 09 May 2002
Posts: 28
Location: Dinamarca

PostPosted: Sun May 26, 2002 12:42 pm    Post subject: Reply with quote

Hi,

Thanks for the suggestions!

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

Great, thank you :D

Nitro wrote:
I read your other topic, and saw that you used Maxtor's diag disk, but lets try something better. Try running
Code:
badblocks <device>

Still no bad blocks . . .

Nitro wrote:
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.

I did a dd if=dev/zero of=/dev/hda7 bs=1k before i created the filesystem, but only for about 10 seconds ...

TheWart wrote:
just out of curiosity, what type/manufacturer HD do you have?

Its a Maxtor 5T020H2 ...

Nitro wrote:
So, what chipset and HD you got in your box? Or just give me a dump of:
Code:
cat /proc/pci

Well, I guess the relevant part of /proc/pci will be
Code:
 Bus  0, device  31, function  1:
    IDE interface: Intel Corp. 82820 820 (Camino 2) Chipset IDE U100 (rev 2).
      I/O at 0xffa0 [0xffaf].


or the entire output can be found here.

Thanks,
West
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Mon May 27, 2002 4:06 pm    Post subject: Reply with quote

west wrote:
I did a dd if=dev/zero of=/dev/hda7 bs=1k before i created the filesystem, but only for about 10 seconds ...

How large is hda7?
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
west
n00b
n00b


Joined: 09 May 2002
Posts: 28
Location: Dinamarca

PostPosted: Mon May 27, 2002 7:08 pm    Post subject: Reply with quote

AutoBot wrote:
How large is hda7?

Umm, around 5G i think, why?

Anyways, perhaps i shoud close this thread. Installed FreeBSD and it seems to work fine. I dunno ... :?

Someday we'll know
If love can move a mountain
Someday we'll know
Why the sky is blue
Someday we'll know
Why I wasn't meant for you
..... :wink:
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed May 29, 2002 3:27 am    Post subject: Reply with quote

Quote:
Nitro wrote:

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.

I did a dd if=dev/zero of=/dev/hda7 bs=1k before i created the filesystem, but only for about 10 seconds ...

It should take much longer than ten seconds to zero out a partition that large.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
west
n00b
n00b


Joined: 09 May 2002
Posts: 28
Location: Dinamarca

PostPosted: Sat Jun 15, 2002 11:03 pm    Post subject: YAY! Reply with quote

Hi :P

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 :lol:

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

Anyways, thanx to everyone for suggestions and help
West
happy Gentoo user :idea:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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