[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Partitioning strangeness with sun disk labels in lenny



Hello,

partitioning disk with sun labels seems to be broken in lenny,
after a reboot the new partions are not visible. util-linux fdisk is
also unhappy with the disk label, see attached output below.

Only the last output of "cat /proc/partions" is after reboot,
the other three are after the addition of /dev/sda2 with cfdisk.


Which of the partioning tools should work ?

Thanks,
  Hermann

-- 
Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres 
Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
Email: Hermann.Lauer@iwr.uni-heidelberg.de
Error: Can't have a partition outside the disk!

Disk /dev/sda: 9 GB, 9097159680 bytes
255 heads, 63 sectors/track, 1106 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1               1         973           0   83  Linux

Disk /dev/sdb: 50 GB, 50017927680 bytes
255 heads, 63 sectors/track, 6081 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System 
/dev/sdb1               1         973           0   83  Linux
Detected sun disklabel with wrong version [0x00000000].
Detected sun disklabel with wrong sanity [0x00000000].
Detected sun disklabel with wrong num_partitions [0].
Warning: Wrong values need to be fixed up and will be corrected by w(rite)
Detected sun disklabel with wrong version [0x00000000].
Detected sun disklabel with wrong sanity [0x00000000].
Detected sun disklabel with wrong num_partitions [0].
Warning: Wrong values need to be fixed up and will be corrected by w(rite)
Detected sun disklabel with wrong version [0x00000000].
Detected sun disklabel with wrong sanity [0x00000000].
Detected sun disklabel with wrong num_partitions [0].
Warning: Wrong values need to be fixed up and will be corrected by w(rite)
Detected sun disklabel with wrong version [0x00000000].
Detected sun disklabel with wrong sanity [0x00000000].
Detected sun disklabel with wrong num_partitions [0].
Warning: Wrong values need to be fixed up and will be corrected by w(rite)
Detected sun disklabel with wrong version [0x00000000].
Detected sun disklabel with wrong sanity [0x00000000].
Detected sun disklabel with wrong num_partitions [0].
Warning: Wrong values need to be fixed up and will be corrected by w(rite)

Disk /dev/sda (Sun disk label): 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sda1             0       973   7815622+  83  Linux native
/dev/sda3             0      1106   8883945    5  Whole disk

Disk /dev/sda1 (Sun disk label): 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

    Device Flag    Start       End    Blocks   Id  System
/dev/sda1p1             0       973   7815622+  83  Linux native
/dev/sda1p3             0      1106   8883945    5  Whole disk

Disk /dev/md0 (Sun disk label): 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/md0p1             0       973   7815622+  83  Linux native
/dev/md0p3             0      1106   8883945    5  Whole disk

Disk /dev/sdb (Sun disk label): 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sdb1             0       973   7815622+  83  Linux native
/dev/sdb3             0      1106   8883945    5  Whole disk

Disk /dev/sdb1 (Sun disk label): 255 heads, 63 sectors, 1106 cylinders
Units = cylinders of 16065 * 512 bytes

    Device Flag    Start       End    Blocks   Id  System
/dev/sdb1p1             0       973   7815622+  83  Linux native
/dev/sdb1p3             0      1106   8883945    5  Whole disk
major minor  #blocks  name

   8     0    8891620 sda
   8     1    7815622 sda1
   8     2    1068322 sda2
   9     0    7815552 md0
   8    16   48846877 sdb
   8    17    7815622 sdb1
major minor  #blocks  name

   8     0    8891620 sda
   8     1    7815622 sda1
   8     3    8883945 sda3
   8    16   48846877 sdb
   8    17    7815622 sdb1
   8    19    8883945 sdb3
   9     0    7815552 md0

Reply to: