View previous topic :: View next topic |
Author |
Message |
AnarchE n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jun 2002 Posts: 24 Location: NJ
|
Posted: Fri Jun 27, 2003 7:50 am Post subject: Stuck in single user mode; XFS recognized as EXT3 |
|
|
A terrible thing happened to my gentoo router, after 59 days of solid uptime, never missing a beat, it decided to freeze (probably excessive heat, AC in the house was being worked on that day).
When it went to come back up, I was in single user mode, with a read only hard drive. fstab seemed as though it reverted to default; /dev/boot, /dev/swap, /dev/root. However the settings for each partition were still there, XFS for instance was still set. So I booted to a cd, mounted the directory and edited fstab.
Now still, when it boots it says my XFS drive is ext3, mounts it as read only, and throws me into single user mode.
I'm lost on what to do next, I idle in a few #linux channels on a few gaming networks, and have tried asking questions in most channels, but haven't been successfull in any of my attempts to get this box back up and running.
Thank you in advance for any help,
Chase |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AnarchE n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jun 2002 Posts: 24 Location: NJ
|
Posted: Fri Jun 27, 2003 8:19 am Post subject: |
|
|
Forgot to add a few things earlier that I have tried.
xfs_repair off the 1.4_rc4 live cd said bad superblock and bad magic number.
It then went on to error endlessly, getting I/O errors.
The drive doesn't seem bad, I can mount the root partition and access all the files, just RO.
Also, running; fsck.xfs /dev/hda3 just kicks me to a new line, and doesn't appear to do anything.
Chase |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AnarchE n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jun 2002 Posts: 24 Location: NJ
|
Posted: Fri Jun 27, 2003 6:11 pm Post subject: |
|
|
Been googling all day trying to find someone with a similar problem, with no success. Any suggestions at all are greatly appreciated.
Chase |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
soroh6 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/16481107814048dd2a837e6.gif)
Joined: 07 Nov 2002 Posts: 232
|
Posted: Fri Jun 27, 2003 7:00 pm Post subject: |
|
|
I wish I could use the power of heat to resize my reiser partition. ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) _________________ :: soroh -*~ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AnarchE n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jun 2002 Posts: 24 Location: NJ
|
Posted: Wed Jul 02, 2003 9:07 am Post subject: |
|
|
Still haven't had any luck trying to figure this out..
Once again, any replies at all are appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kamilian n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 23 Jun 2003 Posts: 59 Location: Sydney, Australia
|
Posted: Sun Jul 06, 2003 2:15 am Post subject: |
|
|
I haven't used XFS myself, but just to discount the simpler things, did you try xfs_repair on the drive while mounted or unmounted? Was it on the whole drive or a single partition?
Does the linux xfs_repair have an 'assume_xfs' option?
One other thing, is there any chance there could be something wrong with the partition table? _________________ May contain traces of nuts. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
AnarchE n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 26 Jun 2002 Posts: 24 Location: NJ
|
Posted: Fri Jul 11, 2003 8:32 am Post subject: |
|
|
I tried xfs_repair on it while it was mounted and unmounted, same error either way. I do not know whether or not it has an assume_xfs option, but I will look into it. Not quite sure what you mean about partition table...Do you mean fstab or something else? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
G-LiTe` Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/5792957417272b2a6a0e.png)
Joined: 06 May 2003 Posts: 147
|
Posted: Fri Jul 11, 2003 8:43 am Post subject: |
|
|
The partition table is a small piece of data somewhere at the start of your hd containing information about your partitions such as size, type, etc.
It'd be coincidence if you could still access partitions normally after that went corrupt.
Have you actually looked through the kernel's output why it's mounted read-only? Type "dmesg" on the commandline. might even be easier to that from the cdrom. (right after you mounted it, then it'll be all the way at the bottom of dmesg.) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|