Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help: Unable to recover a failed QNX partition

1,002 views
Skip to first unread message

yuji...@cmi-sts.com

unread,
Jun 26, 1998, 3:00:00 AM6/26/98
to

Hello!

After my hard drive’s QNX partition had a mysterious fail, I tried to recover
it according to the instructions on the Installation and Configuration
manual. But I would not be able to mount the drive. Here is what I did:

Boot from a floppy.

Run Fsys.eide.

Run fdisk, it shows no error.

Run mount –p /dev/hd0 /dev/hd0t77 /hd, I got
mount: mount of /dev/hd0t77 failed: Corrupted file system detected

Run dinit –hr /dev/hd0t77, I got
Disk ‘/dev/hd0t77’ contains 905184 blocks (452592K).

Run chkfsys /dev/hd0t77, I got
Can’t find device for ‘/dev/hd0t77’
Nothing to check.

What device QNX is looking for? I appreciate any comments.

Thanks!

Yujin


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum

Mike Taillon

unread,
Jun 29, 1998, 3:00:00 AM6/29/98
to

On Fri, 26 Jun 1998 21:00:08 GMT yuji...@cmi-sts.com wrote:
+ Hello!

+ After my hard drive’s QNX partition had a mysterious fail, I tried to recover
+ it according to the instructions on the Installation and Configuration
+ manual. But I would not be able to mount the drive. Here is what I did:

+ Boot from a floppy.

+ Run Fsys.eide.

+ Run fdisk, it shows no error.

+ Run mount –p /dev/hd0 /dev/hd0t77 /hd, I got
+ mount: mount of /dev/hd0t77 failed: Corrupted file system detected

+ Run dinit –hr /dev/hd0t77, I got
+ Disk ‘/dev/hd0t77’ contains 905184 blocks (452592K).

+ Run chkfsys /dev/hd0t77, I got
+ Can’t find device for ‘/dev/hd0t77’
+ Nothing to check.

+ What device QNX is looking for? I appreciate any comments.

you need to mount the filesystem before you can check it:
mount /dev/hd0t77 /hd
chkfsys /hd

+ Thanks!

+ Yujin


+ -----== Posted via Deja News, The Leader in Internet Discussion ==-----
+ http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
--
Mike Taillon, (mi...@qnx.com)
QNX Software Systems, Ltd.

John Hillestad

unread,
Jun 30, 1998, 3:00:00 AM6/30/98
to

Generally,

Boot the floppy.

run the appropriate driver (Fsys.eide &) etc...

mount -p /dev/hd0

THEN

mount /dev/hd0t77 /hard

THEN

ls /hard
or chfsys /hard or whatever else you would like to check...

QNX will say corruption if you miss a step......

At least thats how I used to do it when I was using QNX in the good
old days.....

yuji...@cmi-sts.com

unread,
Jun 30, 1998, 3:00:00 AM6/30/98
to

In article <6n8a2n$t...@qnx.com>,

mi...@qnx.com (Mike Taillon) wrote:
>
> On Fri, 26 Jun 1998 21:00:08 GMT yuji...@cmi-sts.com wrote:
> + Hello!
>
> + After my hard drive’s QNX partition had a mysterious fail, I tried to
recover
> + it according to the instructions on the Installation and Configuration
> + manual. But I would not be able to mount the drive. Here is what I did:
>
> + Boot from a floppy.
>
> + Run Fsys.eide.
>
> + Run fdisk, it shows no error.
>
> + Run mount –p /dev/hd0 /dev/hd0t77 /hd, I got
> + mount: mount of /dev/hd0t77 failed: Corrupted file system detected
>
> + Run dinit –hr /dev/hd0t77, I got
> + Disk ‘/dev/hd0t77’ contains 905184 blocks (452592K).
>
> + Run chkfsys /dev/hd0t77, I got
> + Can’t find device for ‘/dev/hd0t77’
> + Nothing to check.
>
> + What device QNX is looking for? I appreciate any comments.
>
> you need to mount the filesystem before you can check it:
> mount /dev/hd0t77 /hd
It is at this stage, I got the message:
mount: mount() of /dev/hd0t77 failed: Corrupted file system detected
I followed installation manual (ver. 4.23, pg195), which says after dinit I
should do chkfsys before I can mount. It seems I got a chicken-and-egg
situation. Any suggestions? Thanks!

yuji...@cmi-sts.com

unread,
Jun 30, 1998, 3:00:00 AM6/30/98
to

In article <F1266DC8471D21A3.1861AFC2F76C2760.6398BF08FDA70B00@library-
proxy.airnews.net>,

hill...@icanect.net wrote:
>
> Generally,
>
> Boot the floppy.
>
> run the appropriate driver (Fsys.eide &) etc...
>
> mount -p /dev/hd0
>
> THEN
>
> mount /dev/hd0t77 /hard
It is at this stage, I got the message:
mount: mount() of /dev/hd0t77 failed: Corrupted file system detected
I followed installation manual (ver. 4.23, pg195), which says after dinit I
should do chkfsys before I can mount. It seems I got a chicken-and-egg
situation. Any suggestions? Thanks!
>
> THEN
>
> ls /hard
> or chfsys /hard or whatever else you would like to check...
>
> QNX will say corruption if you miss a step......
>
> At least thats how I used to do it when I was using QNX in the good
> old days.....
>
>

Mike Taillon

unread,
Jun 30, 1998, 3:00:00 AM6/30/98
to

On Tue, 30 Jun 1998 12:59:16 GMT yuji...@cmi-sts.com wrote:

+ > you need to mount the filesystem before you can check it:
+ > mount /dev/hd0t77 /hd
+ It is at this stage, I got the message:
+ mount: mount() of /dev/hd0t77 failed: Corrupted file system detected
+ I followed installation manual (ver. 4.23, pg195), which says after dinit I
+ should do chkfsys before I can mount. It seems I got a chicken-and-egg
+ situation. Any suggestions? Thanks!

if mount is saying corrupt file system right after dinit'ing the partition,
you have a hardware fault -- need a new disk...

yuji...@cmi-sts.com

unread,
Jul 1, 1998, 3:00:00 AM7/1/98
to

In article <6nbddd$l...@qnx.com>,
Here is the end:

I used "dinit -h /dev/hd0t77" instead of the suggested "-hr" switch. Now I
can mount the drive. Of course, I lost everything on it.

Thanks everyone for the help.

Yujin

0 new messages