Re: 4k sector size and WD20EARS

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

 



>>>>> "Alexander" == Alexander Clausen <alex@xxxxxxxxx> writes:

Alexander> Hi, i just bought some WD20EARS harddisk. They are supposed
Alexander> to have 4k physical sector size, right?  My system seems to
Alexander> think they are not:

Alexander> alex@hal:/sys/block/sdb/queue$ cat logical_block_size
Alexander> physical_block_size 512 512 

Alexander> so, who is right?

For unknown reasons these drive report themselves as 512-byte drives
despite using 4096-byte sectors internally.

There really isn't much we can do about devices that don't tell us the
truth.  However, recent fdisk/parted will align on a 1MB boundary by
default which happens do the trick in this particular case (because the
WDC drive is naturally aligned).


Alexander>  1 Primary 0 3907024064 63 3907024065 Linux (83) None
Alexander> alex@hal:~$

Alexander> is that okay for 4k sector size?

No, you should shift the start sector using the fdisk's advanced menu.

-- 
Martin K. Petersen	Oracle Linux Engineering
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux