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

Bug#228289: autopartkit: makes partitions that does not end on cylinder boundary.



Package:  autopartkit
Version:  0.56
Severity: minor

Skolelinux got a bug report that the partition table created by
autopartkit have problems.  More info on
<URL: http://bugs.skolelinux.no/show_bug.cgi?id=522 >.

  tjener:~# fdisk -l /dev/hda
  Disk /dev/hda: 16 heads, 63 sectors, 77545 cylinders
  Units = cylinders of 1008 * 512 bytes
     Device Boot    Start       End    Blocks   Id  System
  /dev/hda1   *         1       957    481918+  83  Linux
  Partition 1 does not end on cylinder boundary:
       phys=(59, 254, 63) should be (59, 15, 63)
  /dev/hda2           957     77536  38596162+   f  Win95 Ext'd (LBA)
  Partition 2 does not end on cylinder boundary:
       phys=(1023, 254, 63) should be (1023, 15, 63)
  /dev/hda5           957     15157   7156926   8e  Linux LVM
  /dev/hda6         15157     77536  31439173+  8e  Linux LVM

  The problem with partition not ending on cylinder boundary stops me
  from using these disk in software raid.

This is the autopartkit log from syslog:

  Oct 29 22:28:02 (none) user.debug installer[148]: Menu item 'autopartkit' selected
  Oct 29 22:28:02 (none) syslog.info klogd: LVM version 1.0.5+(22/07/2002) module loaded
  Oct 29 22:28:03 (none) user.notice 20skolelinux: info: Got profile 'Main-Server, Thin-Client-Server'
  Oct 29 22:28:03 (none) user.notice 20skolelinux: info: Testing profile 'Main-Server'
  Oct 29 22:28:03 (none) user.notice 20skolelinux: info: Testing profile 'Thin-Client-Server'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Using 'msdos' default disk label type
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Loading table file '/etc/autopartkit/Main-Server+Thin-Client-Server.table'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Adding '/          default      320     512'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Fetched partition info / default 320 512
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Adding '/tmp       tmpfs          0       0'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Fetched partition info /tmp tmpfs 0 0
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Adding 'vg_system             lvm                          2112    8192'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Fetched partition info vg_system lvm 2112 8192
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Adding 'swap                  lvm:vg_system:lv_swap:swap    2*$RAMSIZE 2*$RAMSIZE'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Fetched partition info swap lvm:vg_system:lv_swap:swap 2*$RAMSIZE 2*$RAMSIZE
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Adding '/usr                  lvm:vg_system:lv_usr:default 1472    4096'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Fetched partition info /usr lvm:vg_system:lv_usr:default 1472 4096
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Enough room in list 8 > 4 + 1
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Adding '/var                  lvm:vg_system:lv_var:default  384    2048'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Fetched partition info /var lvm:vg_system:lv_var:default 384 2048
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Enough room in list 8 > 5 + 1
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Adding 'vg_data               lvm                           512      -1'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Fetched partition info vg_data lvm 512 -1
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Enough room in list 8 > 6 + 1
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Adding '/skole/tjener/home0   lvm:vg_data:lv_home0:default  400    1024'
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Fetched partition info /skole/tjener/home0 lvm:vg_data:lv_home0:default 400 1024
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: Enough room in list 16 > 8 + 1
  Oct 29 22:28:03 (none) user.debug autopartkit[2063]: pre_confirm 0 0
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: post_confirm 0 0
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: Created LVM stacks
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: Locating free space on all disks
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   checking dev: /dev/ide/host0/bus0/target0/lun0/disc, sector_size=512
  Oct 29 22:28:05 (none) syslog.info klogd:
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:     part: -1, type: 8 size: (0-62) 63
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:     part: -1, type: 4 size: (63-78156224) 78156162
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:     free space 78156162
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:     part: -1, type: 8 size: (78156225-78165359) 9135
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: Done locating free space, found 1 free areas
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: Found free space, distributing partitions.
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: distribute_partition ok.
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: Suggested partition distribution:
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   free block '/dev/ide/host0/bus0/target0/lun0/disc' [38162,0]:
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:     / [320 <= 473 <= 512] [320 <= 512] /dev/ide/host0/bus0/target0/lun0/disc 63-78156224 on disk
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:     vg_system [2112 <= 6987 <= 8192] [2112 <= 8192] /dev/ide/host0/bus0/target0/lun0/disc 63-78156224 on disk
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:     vg_data [512 <= 30701 <= 38162] [512 <= -1] /dev/ide/host0/bus0/target0/lun0/disc 63-78156224 on disk
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:     /tmp [0 <= 0 <= 0] [0 <= 0] /dev/ide/host0/bus0/target0/lun0/disc 63-78156224 on disk
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: Done listing suggested partition distribution.
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]: Making '/', using 473 MiB, minsize=320
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   mountpoint: / fstype ext2
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   device path '/dev/ide/host0/bus0/target0/lun0/disc' [63-78156224]
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   creating in free area 63-78156224
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   Creating partition on disk having sectors 78165360
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   Trying to create part on 63-78156224
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   New partition from 63 to 970714
  Oct 29 22:28:05 (none) user.debug autopartkit[2063]:   ped_disk_add_partition: 1
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Created partition on 63-963899 length 963837
  Oct 29 22:28:21 (none) syslog.info klogd:  p1
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mp: /^Idev: /dev/ide/host0/bus0/target0/lun0/part1
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Making 'vg_system', using 6987 MiB, minsize=2112
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mountpoint: vg_system fstype lvm
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   device path '/dev/ide/host0/bus0/target0/lun0/disc' [963900-78156224]
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   creating in free area 963900-78156224
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Creating partition on disk having sectors 78165360
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Trying to create part on 963900-78156224
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   **Creating extended partition: 963900 78156224
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   New partition from 963900 to 15273551
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   ped_disk_add_partition: 1
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Created partition on 963963-15277814 length 14313852
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   converting partition type to LVM
  Oct 29 22:28:21 (none) syslog.info klogd:  p5 >
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mp: vg_system^Idev: /dev/ide/host0/bus0/target0/lun0/part5
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Making '/usr', using 0 MiB, minsize=1472
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mountpoint: /usr fstype lvm:vg_system:lv_usr:default
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   fstype 'lvm:vg_system:lv_usr:default' not handle by libparted.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'lvm'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'vg_system'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'lv_usr'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found last 'default'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Stacking LVM lv vg_system on vg lv_usr fstype default
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mp: /usr^Idev: vg_system:lv_usr
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Making 'swap', using 0 MiB, minsize=1024
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mountpoint: swap fstype lvm:vg_system:lv_swap:swap
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   fstype 'lvm:vg_system:lv_swap:swap' not handle by libparted.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'lvm'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'vg_system'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'lv_swap'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found last 'swap'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Stacking LVM lv vg_system on vg lv_swap fstype swap
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mp: swap^Idev: vg_system:lv_swap
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Making 'vg_data', using 30701 MiB, minsize=512
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mountpoint: vg_data fstype lvm
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   device path '/dev/ide/host0/bus0/target0/lun0/disc' [15277815-78156224]
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   creating in free area 15277815-78156224
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Creating partition on disk having sectors 78165360
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Trying to create part on 15277815-78156224
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   New partition from 15277815 to 78153672
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   ped_disk_add_partition: 1
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Created partition on 15277878-78156224 length 62878347
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   converting partition type to LVM
  Oct 29 22:28:21 (none) syslog.info klogd:  p6 >
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mp: vg_data^Idev: /dev/ide/host0/bus0/target0/lun0/part6
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Making '/skole/tjener/home0', using 0 MiB, minsize=400
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mountpoint: /skole/tjener/home0 fstype lvm:vg_data:lv_home0:default
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   fstype 'lvm:vg_data:lv_home0:default' not handle by libparted.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'lvm'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'vg_data'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'lv_home0'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found last 'default'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Stacking LVM lv vg_data on vg lv_home0 fstype default
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mp: /skole/tjener/home0^Idev: vg_data:lv_home0
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Making '/var', using 0 MiB, minsize=384
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mountpoint: /var fstype lvm:vg_system:lv_var:default
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   fstype 'lvm:vg_system:lv_var:default' not handle by libparted.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'lvm'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'vg_system'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found 'lv_var'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Found last 'default'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Stacking LVM lv vg_system on vg lv_var fstype default
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mp: /var^Idev: vg_system:lv_var
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Making '/tmp', using 0 MiB, minsize=0
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mountpoint: /tmp fstype tmpfs
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   fstype 'tmpfs' not handle by libparted.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Passing it directly to fstab.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   mp: /tmp^Idev: none
  Oct 29 22:28:21 (none) syslog.info klogd:  p6 >
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: ped_disk_commit(disk_tmp) = 1
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Initializing LVM.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Init LVM pv name vg_data, devpath=/dev/ide/host0/bus0/target0/lun0/part6
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Initializing LVM pv '/dev/ide/host0/bus0/target0/lun0/part6'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   lvm_init_dev(/dev/ide/host0/bus0/target0/lun0/part6) successful.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Adding LVM pv '/dev/ide/host0/bus0/target0/lun0/part6' to vg 'vg_data'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   Init LVM pv name vg_system, devpath=/dev/ide/host0/bus0/target0/lun0/part5
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Initializing LVM pv '/dev/ide/host0/bus0/target0/lun0/part5'
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]:   lvm_init_dev(/dev/ide/host0/bus0/target0/lun0/part5) successful.
  Oct 29 22:28:21 (none) user.debug autopartkit[2063]: Adding LVM pv '/dev/ide/host0/bus0/target0/lun0/part5' to vg 'vg_system'
  Oct 29 22:28:22 (none) user.debug autopartkit[2063]:   Init LVM lv on vg=vg_system, lvname=lv_var mbsize=384
  Oct 29 22:28:22 (none) user.debug autopartkit[2063]: Creating LVM lv 'lv_var' on vg 'vg_system' (size=384 MiB)
  Oct 29 22:28:22 (none) user.debug autopartkit[2063]:   LVM lv created ok, devpath=/dev/vg_system/lv_var
  Oct 29 22:28:32 (none) user.debug autopartkit[2063]:   Init LVM lv on vg=vg_data, lvname=lv_home0 mbsize=400
  Oct 29 22:28:32 (none) user.debug autopartkit[2063]: Creating LVM lv 'lv_home0' on vg 'vg_data' (size=400 MiB)
  Oct 29 22:28:32 (none) user.debug autopartkit[2063]:   LVM lv created ok, devpath=/dev/vg_data/lv_home0
  Oct 29 22:28:42 (none) user.debug autopartkit[2063]:   Init LVM lv on vg=vg_system, lvname=lv_swap mbsize=1024
  Oct 29 22:28:42 (none) user.debug autopartkit[2063]: Creating LVM lv 'lv_swap' on vg 'vg_system' (size=1024 MiB)
  Oct 29 22:28:42 (none) user.debug autopartkit[2063]:   LVM lv created ok, devpath=/dev/vg_system/lv_swap
  Oct 29 22:28:42 (none) user.debug autopartkit[2063]:   Init LVM lv on vg=vg_system, lvname=lv_usr mbsize=1472
  Oct 29 22:28:42 (none) user.debug autopartkit[2063]: Creating LVM lv 'lv_usr' on vg 'vg_system' (size=1472 MiB)
  Oct 29 22:28:42 (none) user.debug autopartkit[2063]:   LVM lv created ok, devpath=/dev/vg_system/lv_usr
  Oct 29 22:29:09 (none) user.debug autopartkit[2063]: device for /: /dev/hda1
  Oct 29 22:29:09 (none) syslog.info klogd: Adding Swap: 1048568k swap-space (priority -1)
  Oct 29 22:29:09 (none) user.debug autopartkit[2063]: Mounting /dev/vg_system/lv_usr on /usr
  Oct 29 22:29:09 (none) syslog.info klogd: Journalled Block Device driver loaded
  Oct 29 22:29:09 (none) syslog.info klogd: kjournald starting.  Commit interval 5 seconds
  Oct 29 22:29:09 (none) syslog.info klogd: EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,3), internal journal
  Oct 29 22:29:09 (none) syslog.info klogd: EXT3-fs: mounted filesystem with ordered data mode.
  Oct 29 22:29:09 (none) user.debug autopartkit[2063]: Mounting /dev/vg_system/lv_swap on swap
  Oct 29 22:29:09 (none) syslog.err klogd: VFS: Can't find ext3 filesystem on dev lvm(58,2).
  Oct 29 22:29:09 (none) user.debug autopartkit[2063]: Mounting /dev/vg_data/lv_home0 on /skole/tjener/home0
  Oct 29 22:29:09 (none) syslog.info klogd: kjournald starting.  Commit interval 5 seconds
  Oct 29 22:29:09 (none) syslog.info klogd: EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,1), internal journal
  Oct 29 22:29:09 (none) syslog.info klogd: EXT3-fs: mounted filesystem with ordered data mode.
  Oct 29 22:29:09 (none) user.debug autopartkit[2063]: Mounting /dev/vg_system/lv_var on /var
  Oct 29 22:29:10 (none) syslog.info klogd: kjournald starting.  Commit interval 5 seconds
  Oct 29 22:29:10 (none) syslog.info klogd: EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,0), internal journal
  Oct 29 22:29:10 (none) syslog.info klogd: EXT3-fs: mounted filesystem with ordered data mode.
  Oct 29 22:29:10 (none) user.debug autopartkit[2063]: Mounting none on /tmp



Reply to: