Joined: 08 Aug 2003
|Posted: Thu Oct 02, 2014 8:12 pm Post subject: How do I format this hard drive?
|I am repurposing this post based on additional testing. :)
Have a ST3000DM001 (note to self - never buy anything from Seagate again - I should have learned that from past experience).
I am getting inconsistencies regarding this disk from very basic tools.
Let's take a look at some partitioning tools first:
# gdisk -l /dev/sdx
Disk /dev/sdx: 732566645 sectors, 2.7 TiB
Logical sector size: 4096 bytes
# parted -l
Model: Seagate Expansion Desk (scsi)
Disk /dev/sdx: 3001GB
Sector size (logical/physical): 4096B/4096B
So I attempted (several times) to create a 256 GB partition (which all of the partitioning tools say that I successfully did).
The problem is that every other tool (like the ones that actually access and use the filesystem), claim that the partition is only 32 GB.
A quick look at two of the critical ones reveals that they believe that the logical sector size is 512 bytes (one-eighth of what the partitioning tools report).
# hdparm -I /dev/sdx
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 5860533168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 2861588 MBytes
device size with M = 1000*1000: 3000592 MBytes (3000 GB)
# smartctl -a -d sat /dev/sdx
User Capacity: 3,000,592,982,016 bytes [3.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
I found someone else whose partitioning tools report 512/4096, which points to the partitioning tools as the source of the problem, but that doesn't help me much.
How do I get the partitioning tools to see the correct number of sectors so I can access the last 7/8ths of the drive?
Last edited by curmudgeon on Mon Oct 06, 2014 12:43 am; edited 2 times in total