[Bug 879387] Re: Partitions misaligned on advanced format drive WD20EARX

Eddie Kane 879387 at bugs.launchpad.net
Mon Mar 12 12:59:50 UTC 2012


I have had the same issue with WD's advanced format HDDs since Oneric
(precise as well). Have spoke to WD and according to them misaligned
extended partition was an error with dusk utility because 'parted -
print ' showed the main partition beginning at sector 2048 which is
divisible by their 512 sector size for those drives. I was basically
told that if I was not experiencing issues to ignore it. Note: the
person I spoke with was not regular tech support but a member of their
staff who just happens to use Ubuntu. I have posted a bug on this and he
commented on it.

Sent from Eddie's iPhone 
odosielané z iPhone Eddieho

On Mar 11, 2012, at 11:02 PM, Danny Howard <dannyman at toldme.com> wrote:

> 10.04.4 LTS:
> 
> Formatting sdc3 (WDC WD20EARX-00P) to a full-disk ext4 partition via
> gparted:
> 
> mkfs.ext4 -j -O extent -L '' /dev/sdc1
> 
> dev/sdc1 alignment is offset by 512 bytes.
> This may result in very poor performance, (re)-partitioning suggested.
> Filesystem label=
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> Stride=1 blocks, Stripe width=0 blocks
> 122101760 inodes, 488378000 blocks
> 24418900 blocks (5.00%) reserved for the super user
> First data block=0
> Maximum filesystem blocks=4294967296
> 14905 block groups
> 32768 blocks per group, 32768 fragments per group
> 8192 inodes per group
> Superblock backups stored on blocks: 
>    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
>  4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 
>  102400000, 214990848
> 
> Writing inode tables: done                            
> Creating journal (32768 blocks): done
> Writing superblocks and filesystem accounting information: done
> 
> This filesystem will be automatically checked every 33 mounts or
> 180 days, whichever comes first.  Use tune2fs -c or -i to override.
> 
> Oookay, soo ... it is not obvious to me how to fix this.  I'll try
> resizing the partition with the first 1M empty, as suggested in that IBM
> article.  I trying unselecting alignment to sector but I got errors all
> over the place.
> 
> ** Attachment added: "GParted reports misalignment."
>   https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/879387/+attachment/2854193/+files/gparted_details.htm
> 
> -- 
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/879387
> 
> Title:
>  Partitions misaligned on advanced format drive WD20EARX
> 
> Status in “ubiquity” package in Ubuntu:
>  Confirmed
> 
> Bug description:
>  After installing Ubuntu Oneiric 11.10 using manual partitioning on a
>  2TB Western Digital WD20EARX with "advanced format" (4k sectors?) Disk
>  Utility says all partitions are misaligned. Parted tells the same
>  story (below). I'd expect the partitioner to align partitions.
> 
>  $ sudo parted -l
>  Model: ATA WDC WD20EARX-00P (scsi)
>  Disk /dev/sda: 2000GB
>  Sector size (logical/physical): 512B/4096B
>  Partition Table: gpt
> 
>  Number  Start   End     Size    File system     Name  Flags
>   1      17.4kB  25.0GB  25.0GB  ext4
>   2      25.0GB  125GB   100GB
>   3      125GB   150GB   25.0GB  linux-swap(v1)
>   4      150GB   2000GB  1850GB  ext4
> 
>  $ sudo parted /dev/sda align-check opt 1
>  1 not aligned
>  $ sudo parted /dev/sda align-check min 1
>  1 not aligned
> 
>  ProblemType: Bug
>  DistroRelease: Ubuntu 11.10
>  Package: ubiquity (not installed)
>  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
>  Uname: Linux 3.0.0-12-generic x86_64
>  ApportVersion: 1.23-0ubuntu3
>  Architecture: amd64
>  Date: Fri Oct 21 14:39:37 2011
>  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
>  ProcEnviron:
>   PATH=(custom, no user)
>   LANG=en_US.UTF-8
>   SHELL=/bin/bash
>  SourcePackage: ubiquity
>  UpgradeStatus: No upgrade log present (probably fresh install)
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/879387/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/879387

Title:
  Partitions misaligned on advanced format drive WD20EARX

Status in “ubiquity” package in Ubuntu:
  Confirmed

Bug description:
  After installing Ubuntu Oneiric 11.10 using manual partitioning on a
  2TB Western Digital WD20EARX with "advanced format" (4k sectors?) Disk
  Utility says all partitions are misaligned. Parted tells the same
  story (below). I'd expect the partitioner to align partitions.

  $ sudo parted -l
  Model: ATA WDC WD20EARX-00P (scsi)
  Disk /dev/sda: 2000GB
  Sector size (logical/physical): 512B/4096B
  Partition Table: gpt

  Number  Start   End     Size    File system     Name  Flags
   1      17.4kB  25.0GB  25.0GB  ext4
   2      25.0GB  125GB   100GB
   3      125GB   150GB   25.0GB  linux-swap(v1)
   4      150GB   2000GB  1850GB  ext4

  $ sudo parted /dev/sda align-check opt 1
  1 not aligned
  $ sudo parted /dev/sda align-check min 1
  1 not aligned

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Fri Oct 21 14:39:37 2011
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/879387/+subscriptions




More information about the foundations-bugs mailing list