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

Bug#384653: debian-installer: wrong size on 73GB SCSI on Sparc



Package: debian-installer
Severity: normal

Installed today a Niagara t2000
everything went fine. After selecting to write a complete new clean disklabel the disksize was 
lowerd to about 46GB.
see below. both drives are physically the same size. the sda output is after using partitiontool in d-i

      t2000:~# fdisk -l /dev/sda
      Disk /dev/sda (Sun disk label): 24 heads, 424 sectors, 8922 cylinders
      Units = cylinders of 10176 * 512 bytes
         Device Flag    Start       End    Blocks   Id  System
      /dev/sda1             0        49    249312   83  Linux native
      /dev/sda2            49       817   3907584   83  Linux native
      /dev/sda3             0      8924  45405312    5  Whole disk
      /dev/sda4           817      1009    976896   82  Linux swap

      t2000:~# fdisk -l /dev/sdb
      Disk /dev/sdb (Sun disk label): 24 heads, 424 sectors, 14087 cylinders
      Units = cylinders of 10176 * 512 bytes
         Device Flag    Start       End    Blocks   Id  System
      /dev/sdb1             0        26    132288    2  SunOS root
      /dev/sdb2  u         26        52    132288    3  SunOS swap
      /dev/sdb3  u          0     14087  71674656    5  Whole disk
      /dev/sdb7            52     14087  71410080    4  SunOS usr
      t2000:~#

This below helps.
If i select new label the partition tool tells me it will write the parttable *now*. Why dont do dd at this point at hotfix? :)

12:06:37  < fabbione> codebreaker: the only workaround to the 73GB problem is to switch to console and dd if=/dev/zero of=/dev/sdX count=1 bs=512
12:06:46  < fabbione> that will reset the partition table 100%
12:06:49  < fabbione> so be careful
12:06:52  -!- basjo [debian-tor@tor-irc.dnsbl.oftc.net] has quit [Ping timeout: 480 seconds]
12:06:53  < fabbione> and restart partitioner
12:06:57  < fabbione> the bug lies in libparted
12:07:17  < codebreaker> fabbione: and then this gives me 73gb in the partitioner?
12:07:24  < fabbione> codebreaker: yes it should
12:07:32  < codebreaker> fabbione: okay. i will try
12:07:37  < fabbione> (assuming that other bug didn't show up since last i checked)
12:07:49  < fabbione> codebreaker: remember it will kill the disk partition layout
       

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.17.7AMD
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)



Reply to: