Bug#722181: installation-reports: partition misaligned using guided partition lvm+crypt
Package: installation-reports
Severity: important
Tags: d-i
Dear Maintainer,
Here's what I see:
* fdisk tells me that I have partitions misaligned.
* Disk preparation during install (format/erase) took 36 hours for one 750GB
disk in an inexpensive laptop. The disk is mechanical and not super fast.
I am trying a new installation of Debian (wheezy). I used the guided disk
configuration using LVM and encryption which created a distinct /home
partition without creating many others (one of the more basic alternatives).
My expectation would be quicker disk setup but I have never used the
encryption, so maybe this is normal. Perhaps this problem is made worse
by filesystem alignment - I wouldn't know. I would prefer to see that
the installer filesystem guidance would create filesystems aligned
according to common best practice.
I hope this data is sufficient for you. I'm including the following
information below:
# fdisk -l -u=cylinders
# fdisk -l
/etc/fstab
/etc/lvm/archive/caracol_00000-739511948.vg
# fdisk -l -u=cylinders
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 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: 0x0004767a
Device Boot Start End Blocks Id System
/dev/sda1 * 1 32 248832 83 Linux
/dev/sda2 32 91202 732322817 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 32 91202 732322816 83 Linux
Disk /dev/mapper/sda5_crypt: 749.9 GB, 749896466432 bytes
255 heads, 63 sectors/track, 91169 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: 0x00000000
Disk /dev/mapper/caracol-root: 9999 MB, 9999220736 bytes
255 heads, 63 sectors/track, 1215 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: 0x00000000
Disk /dev/mapper/caracol-swap_1: 11.7 GB, 11714691072 bytes
255 heads, 63 sectors/track, 1424 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: 0x00000000
Disk /dev/mapper/caracol-home: 728.2 GB, 728181506048 bytes
255 heads, 63 sectors/track, 88529 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: 0x00000000
Disk /dev/sdb: 7756 MB, 7756087296 bytes
32 heads, 63 sectors/track, 7514 cylinders
Units = cylinders of 2016 * 512 = 1032192 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x63a75138
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 7514 7574080+ b W95 FAT32
# fdisk -l
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0004767a
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 499711 248832 83 Linux
/dev/sda2 501758 1465147391 732322817 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5 501760 1465147391 732322816 83 Linux
Disk /dev/mapper/sda5_crypt: 749.9 GB, 749896466432 bytes
255 heads, 63 sectors/track, 91169 cylinders, total 1464641536 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/caracol-root: 9999 MB, 9999220736 bytes
255 heads, 63 sectors/track, 1215 cylinders, total 19529728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/caracol-swap_1: 11.7 GB, 11714691072 bytes
255 heads, 63 sectors/track, 1424 cylinders, total 22880256 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/caracol-home: 728.2 GB, 728181506048 bytes
255 heads, 63 sectors/track, 88529 cylinders, total 1422229504 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/sdb: 7756 MB, 7756087296 bytes
32 heads, 63 sectors/track, 7514 cylinders, total 15148608 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: 0x63a75138
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 15148223 7574080+ b W95 FAT32
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/caracol-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=00c8b814-eee2-48a2-a80b-1b34d85415e5 /boot ext2 defaults 0 2
/dev/mapper/caracol-home /home ext4 defaults 0 2
/dev/mapper/caracol-swap_1 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
/etc/lvm/archive/caracol_00000-739511948.vg
# Generated by LVM2 version 2.02.95(2) (2012-03-06): Sun Sep 8 09:38:50 2013
contents = "Text Format Volume Group"
version = 1
description = "Created *before* executing '/sbin/vgscan --ignorelockingfailure'"
creation_host = "caracol" # Linux caracol 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64
creation_time = 1378658330 # Sun Sep 8 09:38:50 2013
caracol {
id = "eMuEwd-r2J0-KWNU-a20x-MsSp-CTWi-NsJRl6"
seqno = 4
format = "lvm2" # informational
status = ["RESIZEABLE", "READ", "WRITE"]
flags = []
extent_size = 8192 # 4 Megabytes
max_lv = 0
max_pv = 0
metadata_copies = 0
physical_volumes {
pv0 {
id = "KwymY1-HJGr-Pwtr-dFHy-qu4f-iSTT-d6xxqw"
device = "/dev/dm-0" # Hint only
status = ["ALLOCATABLE"]
flags = []
dev_size = 1464641536 # 698.396 Gigabytes
pe_start = 2048
pe_count = 178789 # 698.395 Gigabytes
}
}
logical_volumes {
root {
id = "bsGPA2-dgWr-vcAw-znSD-wSX0-YV0e-wI3BcA"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
creation_host = "caracol"
creation_time = 1378657190 # 2013-09-08 09:19:50 -0700
segment_count = 1
segment1 {
start_extent = 0
extent_count = 2384 # 9.3125 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 0
]
}
}
swap_1 {
id = "S2UnQf-0eFh-Ktk9-ttgP-ga2S-3JhT-wr0i37"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
creation_host = "caracol"
creation_time = 1378657191 # 2013-09-08 09:19:51 -0700
segment_count = 1
segment1 {
start_extent = 0
extent_count = 2793 # 10.9102 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 2384
]
}
}
home {
id = "xe5JDD-1mQS-pkrp-8Jxx-Dnky-EkfX-l7qYka"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
creation_host = "caracol"
creation_time = 1378657191 # 2013-09-08 09:19:51 -0700
segment_count = 1
segment1 {
start_extent = 0
extent_count = 173612 # 678.172 Gigabytes
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 5177
]
}
}
}
}
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Reply to: