Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#289 Cannot create new partitions

0.92
open
Jamie Cameron
5
2002-01-30
2002-01-30
Anonymous
No

I cannot create new partitions with 0.92 on RedHat 7.1

The script is getting cylinders and heads mixed up.

The main screen of "Partitions on Local Disks" says I
have a hard drive of only 63 cylinders but fdisk says
I have 63 heads and 1106 cylinders.

Because the incorrect geometry of the drive is
detected, I cannot create any additional partitions
using webmin. Have to use fdisk.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2002-02-04

    Logged In: YES
    user_id=129364

    Webmin may be parsing the output of fdisk wrongly
    on your system. Could you update this bug reporting with
    the output of fdisk -l on your system?

     
  • Logged In: NO

    James,

    The output is

    Disk /dev/scsi/host0/bus0/target0/lun0/disc: 255 heads, 63
    sectors, 1106 cylinders
    Units = cylinders of 16065 * 512 bytes

    Device Boot Start
    End Blocks Id
    System
    /dev/scsi/host0/bus0/target0/lun0/part1 1
    510 4096543+ 83
    Linux
    /dev/scsi/host0/bus0/target0/lun0/part2 511
    1106 4787370 5
    Extended
    /dev/scsi/host0/bus0/target0/lun0/part5 511
    600 722893+ 82
    Linux swap
    /dev/scsi/host0/bus0/target0/lun0/part6 601
    1106 4064413+ 83
    Linux

    Disk /dev/scsi/host0/bus0/target1/lun0/disc: 255 heads, 63
    sectors, 8924 cylinders
    Units = cylinders of 16065 * 512 bytes

    Device Boot Start
    End Blocks Id
    System
    /dev/scsi/host0/bus0/target1/lun0/part1 1
    8924 71681998+ 5
    Extended
    /dev/scsi/host0/bus0/target1/lun0/part5 1
    8924 71681967 83
    Linux

    Disk /dev/scsi/host0/bus0/target2/lun0/disc: 255 heads, 63
    sectors, 1106 cylinders
    Units = cylinders of 16065 * 512 bytes

    Device Boot Start
    End Blocks Id
    System
    /dev/scsi/host0/bus0/target2/lun0/part1 1
    1106 8883913+ 5
    Extended
    /dev/scsi/host0/bus0/target2/lun0/part5 1
    1106 8883882 83
    Linux