On Wednesday 16 July 2014 22:33:25 Jon Elson did opine
And Gene did reply:
> On 07/16/2014 02:41 PM, Gene Heskett wrote:
> > This new Toshiba 2T drive doesn't expose its "block" size to the
> > user, but I suspect its 4192 if not bigger.
> 
> Use fdisk with caution, but it will tell you the low-level
> format info
> on a hard drive.  For instance,
> sudo fdisk /dev/sda
> then type "p"
> immediately shows this for my drive:
> 
> Disk /dev/sda: 128.0 GB, 128035676160 bytes
> 255 heads, 63 sectors/track, 15566 cylinders, total
> 250069680 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000de89c
> 
>     Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *        2048   241963007   120980480   83  Linux
> /dev/sda2       241965054   250068991     4051969    5  Extended
> /dev/sda5       241965056   250068991     4051968   82
> Linux swap / Solaris
> 
> Jon

Gets me this Jon:

Command (m for help): p

Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00026faa

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          64      514048+  83  Linux
Partition 1 does not start on physical sector boundary.
/dev/sda2              65      242564  1947881250   83  Linux
/dev/sda3          242565      243201     5116702+  82  Linux swap / 
Solaris
Partition 3 does not start on physical sector boundary.

Confuzin ain't it?

But it would appear to be compatible to a 512 byte scheme except for the 
4096 bytes minimal write.

But since its installed now, would I be safe in using gparted to move 
/boot and swap so they do begin on a physical sector boundary, and how can 
I calculate that?  GParted should have warned me.

Thanks.

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>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to