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

satisfying the align-checking in parted?



Greetings;

Looks like I need a disk guru!

I have a new 1 TB disk I just bought, one of Seagates little skinny backup things.

Parted seems to be having a cow, as I deleted the default full disk ntfs 
partition easy enough, and now cannot create any new ones that are aligned. 
Consulting dmesg, I find it has 2048 byte logical blocks.  From dmesg:
(time since boot stripped)

usb 5-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 5-1: New USB device found, idVendor=0bc2, idProduct=ab24
usb 5-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
usb 5-1: Product: BUP Slim BK
usb 5-1: Manufacturer: Seagate
usb 5-1: SerialNumber: NA9DMT6T
usbcore: registered new interface driver usb-storage
scsi host0: uas
scsi 0:0:0:0: Direct-Access     Seagate  BUP Slim BK      0304 PQ: 0 ANSI: 6
usbcore: registered new interface driver uas
sd 0:0:0:0: [sda] Spinning up disk...
...ready
sd 0:0:0:0: [sda] 1953525167 512-byte logical blocks: (1.00 TB/932 GiB)
sd 0:0:0:0: [sda] 2048-byte physical blocks
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

That raised my eyebrows a ways, familiar with the old standby 512, and 
512/4096, but 512/2048?  First such critter I've seen.

Anyway I have speced the start and end inputs to mkpart in B, KB, kiB and GB and GiB, 
without making an aligned partition on this 2048 byte physical sector disk.

If parted is broken for this size of physical sector, what do we have 
than can deal with it?

Thanks disk guru's.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: