[comp.os.minix] file system problem

KHATUKA%ROSEVC.Rose-Hulman.Edu@uicvm.uic.edu (Aditya Khatuka) (12/23/90)

Hi,
        I was trying to install minix 1.5 that I got from PH on Zenith
8088 ,8Mz (ZF-158-42) PC with Seagate ST-251 (42 MB).
Using  fdisk -h6 -s17 /dev/hd0, I partioned the drive as below:

                             ----first-  ---last-----   ----sectors-------
Num  Sorted Active Type    Cyl Head Sec  Cyl Head Sec   Base   Last   Size
 1     1      A    min      0   0    2   224  5    16     1+  22948  22948
 2     2           min    225   0    1   450  5    17  22950  46001  23052
 3     3           min    451   0    1   702  5    17  46002  71705  25704
 4     4           dos-12 703   0    1   818  5    17  71706  83573  11832

        After writing this and rebooting the system, when I am trying to make
filesystem (from root), using mkfs /dev/hd1 11470, my problem starts.
        The error message that i am gettng are as below:
Unrecoverable write error on device 3/1, block 11469
Unrecoverable disk error on device 3/1, block 11469
Error: File system is too big for minor device
Line 1 being processes when error detected.



        I have tried this with various partition size and on all partition, but
the error message remains same except for the numerical values.

        Once when I used (wth above fdisk table) mkfs /dev/hd1 3000, the file
system succeded, but am I not loosing a lot of disk space with this.


        Can anyone suggest where I went wrong and how to rectify it.

thanks

aditya

Khatuka@rosevc.rose-hulman.edu

KHATUKA%ROSEVC.Rose-Hulman.Edu@uicvm.uic.edu (Aditya Khatuka) (01/08/91)

Hi,
        I am reposting my last problem with few more problems. Due to some
problem with our Bitnet site, I could not get any of the Minix-l postings for
over 2 weeks, which means all the suggestions are lost/on meg tape somewhere. I
however got a mail from Alan Bleasby (thanks) suggesting that I use -t option
when using mkfs.
        I used the -t option and it did solve few of the problems. The latest
problems are at the end of this mail.

*** from earlier mail****

        I was trying to install minix 1.5 that I got from PH on Zenith
8088 ,8Mz (ZF-158-42) PC with Seagate ST-251 (42 MB).
Using  fdisk -h6 -s17 /dev/hd0, I partioned the drive as below:

                             ----first-  ---last-----   ----sectors-------
Num  Sorted Active Type    Cyl Head Sec  Cyl Head Sec   Base   Last   Size
 1     1      A    min      0   0    2   224  5    16     1+  22948  22948
 2     2           min    225   0    1   450  5    17  22950  46001  23052
 3     3           min    451   0    1   702  5    17  46002  71705  25704
 4     4           dos-12 703   0    1   818  5    17  71706  83573  11832

        After writing this and rebooting the system, when I am trying to make
filesystem (from root), using mkfs /dev/hd1 11470, my problem starts.
        The error message that i am gettng are as below:
Unrecoverable write error on device 3/1, block 11469
Unrecoverable disk error on device 3/1, block 11469
Error: File system is too big for minor device
Line 1 being processes when error detected.



        I have tried this with various partition size and on all partition, but
the error message remains same except for the numerical values.

        Once when I used (wth above fdisk table) mkfs /dev/hd1 3000, the file
system succeded, but am I not loosing a lot of disk space with this.

****end of last mail*****

Modification made since last mail:

        1) Used mkfs -t /dev/hd2
        2) Tried various sizes of partition
        3) Minix partitions are no longer active
        4) Change Dos-12 to Dos-big

Problems:

mkfs -t /dev/hd2 xxxxx always give the following error message (it always hd2
no matter what its size)
        Unrecoverable write error on device 3/2, block xxx (xxx starts from 1
and goes on to anything between 100 and 300)
        Unrecoverable disk error on device 3/2, block 2 (usually)
        Error: get_block couldn't read
        Line 1 being processed when error detected.

Further, when I am using readall -b /dev/hd1 >bad.1 after few thousand blocks,
it gives the  following error :
        Unrecoverable disk error on device 3/1, block xxxxx

Using cat bad.1, the contents of the file are as below:

4096 bad blocks is too many. Exiting

        Making the complete disk an MS-Dos drive and formating it/using chkdsk,
I don't get even a single bad block. I got this drive recently and it is still
in 30 day warrenty.


        Can anyone suggest where I went wrong and how to rectify it.

thanks

aditya

Khatuka@rosevc.rose-hulman.edu