Partizionare correttamente hard disk in Linux
{{}}
Importante in particolare per hard disk con sector size di 4k, tipo il WD10EARS o WD15 EARS o WD20EARS.
- Testare se le partizioni sono allineate correttamente
sudo parted /dev/mydevice align-check optimal partition-number
- in definitiva, usare
parted
per creare le partizioni, invece di fdisk o cfdisk
- In parted, è possibile sapere se una partizione è allineata con
align-check opt #numero-partizione
- Verifcare il block size (in caso di formato ADF da 4096)
cat /sys/block/sda/queue/physical_block_size
I dischi WD10EARS e WD10EADS hanno in relatà i settori da 4096 !!!!
- Lanciare fdisk con forzatura geometria, in modo da garantire l'allineamento a 4096, dosabilitare la compatibilità dos, ed usare unità di misura in settori::
sudo fdisk -H 224 -S 56 -u -c /dev/sdb
- Far partire con modo dos disativato e unità di misura in settori:
sudo fdisk -u -c /dev/sda
- Scegliere il settore iniziale come 64
sudo fdisk /dev/sda
Command (m for help): x
Expert command (m for help): b Partition number (1-4): 1 New beginning of data (63-62926604, default 63): 64
Riferimenti
- Linux on 4KB-sector disks: Practical advice
- Problem with WD Advanced Format drive in LINUX (WD... - Page 2 - Western Digital Community
- My Humax Blog » Advanced Format Hard Drives
- New Tool: Advanced Format Drives « Xtreme Deployment
- Online list of hard drive that use 4k sectors (Advanced format drives)? - Yahoo! Answers
- How to install a WD Advanced Format Drive on a non-Windows Operating System
- Western Digital WD20EARS and read head parking every 8 seconds!? - AnandTech Forums
- Western Digital WD20EARS "Advanced Format" - 4k sectors needed (Page 1) / Applications & Desktop Environments / Arch Linux Forums
- Linux Not Fully Prepared for 4096-Byte Sector Hard Drives
- Fix for slow performance of WD15EARS WD10EARS WD20EARS | Konstantine's blog room
- WD10EARS performance (larger block size issues/4K) – Jörns Blog
- Re: Problem with WD Advanced Format drive in LINUX... - Western Digital Community
- [ubuntu Advanced Sector Warning using WD10EADS? - Ubuntu Forums]
- Linux WD EARS Advanced Hard Drive Format
- Avian’s Blog: Partition alignment tester
- Aligning Filesystems to an SSD’s Erase Block Size | Linux Developer Network
- Disk Partition alignment (Linux) - ben.goodacre.name/tech
- ATA 4 KiB sector issues - ata Wiki
- How to set disk alignment in Linux « Dirty Cache
- force disk geometry with sfdisk « dan's linux blog