[Bug 548792] Re: parted fails to report partition alignment
[Expired for parted (Ubuntu) because there has been no activity for 60 days.] ** Changed in: parted (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/548792 Title: parted fails to report partition alignment -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 548792] Re: parted fails to report partition alignment
Same problem here with a Intel X-25M G2 160 GB SSD. Fresh install of Kubuntu 10.04 r...@pc2010:/# cat /sys/block/sda/alignment_offset 0 r...@pc2010:/# cat /sys/block/sda/queue/minimum_io_size 512 r...@pc2010:/# cat /sys/block/sda/queue/optimal_io_size 0 r...@pc2010:/# cat /sys/block/sda/queue/physical_block_size 512 r...@pc2010:/# parted -m -s /dev/sda print BYT; /dev/sda:160GB:scsi:512:512:msdos:ATA INTEL SSDSA2M160; 1:1049kB:15,7GB:15,7GB:ext4::boot; 2:15,7GB:156GB:140GB:ext4::; 3:156GB:160GB:4299MB:linux-swap(v1)::; r...@pc2010:/# fdisk -clu /dev/sda Platte /dev/sda: 160.0 GByte, 160041885696 Byte 255 Köpfe, 63 Sektoren/Spur, 19457 Zylinder, zusammen 312581808 Sektoren Einheiten = Sektoren von 1 × 512 = 512 Bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000c8d8d Gerät boot. AnfangEnde Blöcke Id System /dev/sda1 *20483066470315331328 83 Linux /dev/sda230664704 304183295 136759296 83 Linux /dev/sda3 304183296 312580095 4198400 82 Linux Swap / Solaris -- parted fails to report partition alignment https://bugs.launchpad.net/bugs/548792 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 548792] Re: parted fails to report partition alignment
No problem. My concern is that parted v 2.2 (included in Lucid) states this capability, and that some user will have a botched installation on a 4K sector HD or SSD. Once parted really supports the align-check, then it should be easy to code up a script for the install. -- parted fails to report partition alignment https://bugs.launchpad.net/bugs/548792 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 548792] Re: parted fails to report partition alignment
Don, please attach the following files: /sys/block/sde/alignment_offset /sys/block/sde/queue/minimum_io_size /sys/block/sde/queue/optimal_io_size /sys/block/sde/queue/physical_block_size ** Changed in: parted (Ubuntu) Status: New = Incomplete -- parted fails to report partition alignment https://bugs.launchpad.net/bugs/548792 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 548792] Re: parted fails to report partition alignment
Oh, and also: sudo parted -m -s /dev/sda print sudo fdisk -clu /dev/sda -- parted fails to report partition alignment https://bugs.launchpad.net/bugs/548792 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 548792] Re: parted fails to report partition alignment
I'll upload those tonight. Thanks for your efforts. -- parted fails to report partition alignment https://bugs.launchpad.net/bugs/548792 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 548792] Re: parted fails to report partition alignment
I assume you advised to run all the commands on the SATA drive (WD15EARS) with the 4K sectors? That's what I did. My drives have been rearranged, the WD15EARS is now sdc This is using Lucid daily build 04-APR-2010 r...@ubuntu:~# cat /sys/block/sdc/alignment_offset 0 r...@ubuntu:~# r...@ubuntu:~# cat /sys/block/sdc/queue/minimum_io_size 512 r...@ubuntu:~# r...@ubuntu:~# r...@ubuntu:~# cat /sys/block/sdc/queue/optimal_io_size 0 r...@ubuntu:~# r...@ubuntu:~# r...@ubuntu:~# cat /sys/block/sdc/queue/physical_block_size 512 r...@ubuntu:~# parted -m -s /dev/sdc print BYT; /dev/sdc:1500GB:scsi:512:512:msdos:ATA WDC WD15EARS-00Z; 1:28.7kB:65.5GB:65.5GB:ext3::boot, raid; 2:65.5GB:87.0GB:21.5GB:linux-swap(v1)::; 3:87.0GB:1500GB:1413GB:::; 5:87.0GB:109GB:21.5GB:ext3::raid; 6:109GB:130GB:21.5GB:ext3::raid; 7:130GB:506GB:376GB:ext3::raid; 8:506GB:1500GB:994GB:ext3::; r...@ubuntu:~# fdisk -clu /dev/sdc Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes 255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 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: 0x502adea1 Device Boot Start End Blocks Id System /dev/sdc1 * 56 12793625563968100 fd Linux raid autodetect /dev/sdc2 127936256 16989593520979840 82 Linux swap / Solaris /dev/sdc3 169895936 2930265855 13801849605 Extended /dev/sdc5 169983744 21194342320979840 fd Linux raid autodetect /dev/sdc6 212031232 25399091120979840 fd Linux raid autodetect /dev/sdc7 254078720 988090879 367006080 fd Linux raid autodetect /dev/sdc8 988153600 2930265855 971056128 83 Linux r...@ubuntu:~# parted /dev/sdc GNU Parted 2.2 Using /dev/sdc Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) align-check min 1 (parted) (parted) align-check opt 1 (parted) -- parted fails to report partition alignment https://bugs.launchpad.net/bugs/548792 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 548792] Re: parted fails to report partition alignment
Reassigning to parted since this does not have anything to do with e2fsprogs. I have the same drive and it appears that the problem is due to the drive lieing about its sector size. It reports that it uses 512 byte sectors instead of 4kb to the kernel, and parted uses the information that the kernel provides. It might be possible to have an init script detect the quirky drive and override the detected sector size, but I'm not sure. ** Package changed: e2fsprogs (Ubuntu) = parted (Ubuntu) -- parted fails to report partition alignment https://bugs.launchpad.net/bugs/548792 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs