Package: util-linux Version: 2.20.1-4
Hi!
On my system (a simple PC, i686, not amd64), I observe a strange
behaviour with a newly bought 3TB USB drive:
Kernel's size impression:
[1923904.014512] sd 4:0:0:0: [sdd] 732566646 4096-byte logical blocks: (3.00
TB/2.72 TiB)
[1923904.019507] sd 4:0:0:0: [sdd] Assuming drive cache: write through
cfdisk:
Disk Drive: /dev/sdd
Size: 3000592982016 bytes, 3000.5 GB
Heads: 255 Sectors per Track: 63 Cylinders: 364801
Starting with an empty partition table, I intended to create four
primary partitions of roughly 750GB each. For the first three, I
choosed "New", "Primary", "750000", "Beginning". The last partition
was set up using the suggested size (using the complete rest of the
hard drive.) After "Write"ing the partition table, the kernel isn't
happy with the partition table:
[1924558.195516] sd 4:0:0:0: [sdd] 732566646 4096-byte logical blocks: (3.00
TB/2.72 TiB)
[1924558.200515] sd 4:0:0:0: [sdd] Assuming drive cache: write through
[1924558.200521] sdd: sdd1 sdd2 sdd3 sdd4
[1924558.206733] sdd: p2 size 3128776048 exceeds device capacity, limited to
end of disk
jbarbeitsplatz:~# cat /proc/partitions |grep sdd
8 48 2930266584 sdd
8 49 1564387772 sdd1
8 50 1365878560 sdd2
8 51 1564388024 sdd3
8 52 1569099416 sdd4
jbarbeitsplatz:~# sfdisk -l /dev/sdd
Disk /dev/sdd: 364801 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sdd1 0+ 91181 91182- 732419383+ 83 Linux
/dev/sdd2 91182 182363 91182 732419415 83 Linux
/dev/sdd3 182364 273545 91182 732419415 83 Linux
/dev/sdd4 6196+ 97451- 91256- 733008339 83 Linux
jbarbeitsplatz:~# sfdisk -d /dev/sdd
# partition table of /dev/sdd
unit: sectors
/dev/sdd1 : start= 63, size=1464838767, Id=83
/dev/sdd2 : start=1464838830, size=1464838830, Id=83
/dev/sdd3 : start=2929677660, size=1464838830, Id=83
/dev/sdd4 : start= 99549194, size=1466016678, Id=83
jbarbeitsplatz:~# sfdisk -g /dev/sdd
/dev/sdd: 364801 cylinders, 255 heads, 63 sectors/track
Creating a PT with plain `fdisk' works well, using four primary
partitions with (first three) 730000000K and all defaults for the
fourth partition:
jbarbeitsplatz:~# cat /proc/partitions |grep sdd
8 48 2930266584 sdd
8 49 730000000 sdd1
8 50 730000000 sdd2
8 51 730000000 sdd3
8 52 740265560 sdd4
jbarbeitsplatz:~# sfdisk -d /dev/sdd
# partition table of /dev/sdd
unit: sectors
/dev/sdd1 : start= 256, size=182500000, Id=83
/dev/sdd2 : start=182500256, size=182500000, Id=83
/dev/sdd3 : start=365000256, size=182500000, Id=83
/dev/sdd4 : start=547500256, size=185066390, Id=83
[1925239.192113] sd 4:0:0:0: [sdd] 732566646 4096-byte logical blocks: (3.00
TB/2.72 TiB)
[1925239.197106] sd 4:0:0:0: [sdd] Assuming drive cache: write through
[1925239.197113] sdd: sdd1 sdd2 sdd3 sdd4
Thanks,
Jan-Benedict
--
Jan-Benedict Glaw [email protected] +49-172-7608481
Signature of: Lauf nicht vor Deinem Glück davon:
the second : Es könnte hinter Dir stehen!
signature.asc
Description: Digital signature

