Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stuck in single user mode; XFS recognized as EXT3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
AnarchE
n00b
n00b


Joined: 26 Jun 2002
Posts: 24
Location: NJ

PostPosted: Fri Jun 27, 2003 7:50 am    Post subject: Stuck in single user mode; XFS recognized as EXT3 Reply with quote

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
View user's profile Send private message
AnarchE
n00b
n00b


Joined: 26 Jun 2002
Posts: 24
Location: NJ

PostPosted: Fri Jun 27, 2003 8:19 am    Post subject: Reply with quote

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
View user's profile Send private message
AnarchE
n00b
n00b


Joined: 26 Jun 2002
Posts: 24
Location: NJ

PostPosted: Fri Jun 27, 2003 6:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
soroh6
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 232

PostPosted: Fri Jun 27, 2003 7:00 pm    Post subject: Reply with quote

I wish I could use the power of heat to resize my reiser partition. :roll:
_________________
:: soroh -*~
Back to top
View user's profile Send private message
AnarchE
n00b
n00b


Joined: 26 Jun 2002
Posts: 24
Location: NJ

PostPosted: Wed Jul 02, 2003 9:07 am    Post subject: Reply with quote

Still haven't had any luck trying to figure this out..

Once again, any replies at all are appreciated.
Back to top
View user's profile Send private message
kamilian
n00b
n00b


Joined: 23 Jun 2003
Posts: 59
Location: Sydney, Australia

PostPosted: Sun Jul 06, 2003 2:15 am    Post subject: Reply with quote

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
View user's profile Send private message
AnarchE
n00b
n00b


Joined: 26 Jun 2002
Posts: 24
Location: NJ

PostPosted: Fri Jul 11, 2003 8:32 am    Post subject: Reply with quote

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
View user's profile Send private message
G-LiTe`
Tux's lil' helper
Tux's lil' helper


Joined: 06 May 2003
Posts: 147

PostPosted: Fri Jul 11, 2003 8:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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