Hello!
I think I have found another strange disk layout which setup-storage
cannot preserve. Here, the extended partition /dev/sda3 is physically
located between sda1 and sda2.
A log is attached. The FAI is 4.0~beta2+experimental45 .
Thank you!
Toomas
setup-storage is running in test-only mode
Starting setup-storage 1.3+exp
disklist: sda
Using config file: /var/lib/fai/config/disk_config/DISK_eggers
Input was:
# setup-storage configuration file for the laptop, eggers.
#
# It comes with a C: partition as sda1, a recovery
# partition as sda2, and the Linux, complete with
# a transfer partition, is the extended partition sda3
# physically located in the middle of the disk.
#
# We preserve the size and location of everything,
# but create new filesystems.
disk_config disk1 bootable:1 preserve_always:all always_format:5,6,7,8,9,10,11
primary - 0 - -
logical / 0 ext3 rw,relatime,errors=remount-ro createopts="-c -j"
logical swap 0 swap sw
logical /var 0 ext3 rw,relatime createopts="-m 5 -j"
logical /tmp 0 ext3 rw createopts="-m 0 -j"
logical /usr 0 ext3 rw,relatime createopts="-j"
logical /home 0 ext3 rw,relatime,nosuid,nodev createopts="-m 1 -j"
logical /wrk 0 ext3 rw,relatime,nosuid,nodev createopts="-m 1 -j"
logical /transfer 0 vfat rw
primary - 0 - -
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/CU5wzSUOrn 2> /tmp/5MNqmOWsTY
Executing: parted -s /dev/sda unit TiB print
(STDOUT) Model: ATA ST9120822AS (scsi)
(STDOUT) Disk /dev/sda: 0.11TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Size Type File system Flags
(STDOUT) 1 0.00TiB 0.07TiB 0.07TiB primary ntfs boot
(STDOUT) 3 0.07TiB 0.10TiB 0.03TiB extended
(STDOUT) 5 0.07TiB 0.07TiB 0.00TiB logical ext3
(STDOUT) 6 0.07TiB 0.07TiB 0.00TiB logical linux-swap
(STDOUT) 7 0.07TiB 0.07TiB 0.00TiB logical ext3
(STDOUT) 8 0.07TiB 0.07TiB 0.00TiB logical ext3
(STDOUT) 9 0.07TiB 0.08TiB 0.01TiB logical ext3
(STDOUT) 10 0.08TiB 0.09TiB 0.01TiB logical ext3
(STDOUT) 11 0.09TiB 0.10TiB 0.01TiB logical ext3
(STDOUT) 12 0.10TiB 0.10TiB 0.00TiB logical fat32
(STDOUT) 2 0.10TiB 0.11TiB 0.01TiB primary ntfs
(STDOUT)
(CMD) parted -s /dev/sda unit B print free 1> /tmp/TcFrIzQqBK 2> /tmp/fW2EIJdyDQ
Executing: parted -s /dev/sda unit B print free
(STDOUT) Model: ATA ST9120822AS (scsi)
(STDOUT) Disk /dev/sda: 120034123776B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Size Type File system Flags
(STDOUT) 1 32256B 73501102079B 73501069824B primary ntfs boot
(STDOUT) 3 73501102080B 107693591039B 34192488960B extended
(STDOUT) 5 73501134336B 74603289599B 1102155264B logical ext3
(STDOUT) 6 74603321856B 76750087679B 2146765824B logical linux-swap
(STDOUT) 7 76750119936B 77852275199B 1102155264B logical ext3
(STDOUT) 8 77852307456B 78954462719B 1102155264B logical ext3
(STDOUT) 9 78954494976B 87344248319B 8389753344B logical ext3
(STDOUT) 10 87344280576B 96778644479B 9434363904B logical ext3
(STDOUT) 11 96778676736B 106616079359B 9837402624B logical ext3
(STDOUT) 12 106616111616B 107693591039B 1077479424B logical fat32
(STDOUT) 2 107693591040B 120031511039B 12337920000B primary ntfs
(STDOUT)
(CMD) parted -s /dev/sda unit chs print free 1> /tmp/rhM6G9xvvP 2> /tmp/HPEOnQoq59
Executing: parted -s /dev/sda unit chs print free
(STDOUT) Model: ATA ST9120822AS (scsi)
(STDOUT) Disk /dev/sda: 14593,80,62
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 14593,255,63. Each cylinder is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Type File system Flags
(STDOUT) 1 0,1,0 8935,254,62 primary ntfs boot
(STDOUT) 3 8936,0,0 13092,254,62 extended
(STDOUT) 5 8936,1,0 9069,254,62 logical ext3
(STDOUT) 6 9070,1,0 9330,254,62 logical linux-swap
(STDOUT) 7 9331,1,0 9464,254,62 logical ext3
(STDOUT) 8 9465,1,0 9598,254,62 logical ext3
(STDOUT) 9 9599,1,0 10618,254,62 logical ext3
(STDOUT) 10 10619,1,0 11765,254,62 logical ext3
(STDOUT) 11 11766,1,0 12961,254,62 logical ext3
(STDOUT) 12 12962,1,0 13092,254,62 logical fat32
(STDOUT) 2 13093,0,0 14592,254,62 primary ntfs
(STDOUT)
Finding all volume groups
(CMD) mdadm --examine --scan --verbose -c partitions 1> /tmp/FOexUKFZw7 2> /tmp/Du3eIARPCn
Executing: mdadm --examine --scan --verbose -c partitions
Current disk layout
$VAR1 = {
'/dev/sda' => {
'bios_heads' => '255',
'disklabel' => 'msdos',
'partitions' => {
'6' => {
'count_byte' => '2146765824',
'filesystem' => 'linux-swap',
'begin_byte' => '74603321856',
'is_extended' => 0,
'end_byte' => '76750087679'
},
'11' => {
'count_byte' => '9837402624',
'filesystem' => 'ext3',
'begin_byte' => '96778676736',
'is_extended' => 0,
'end_byte' => '106616079359'
},
'3' => {
'count_byte' => '34192488960',
'filesystem' => '',
'begin_byte' => '73501102080',
'is_extended' => 1,
'end_byte' => '107693591039'
},
'7' => {
'count_byte' => '1102155264',
'filesystem' => 'ext3',
'begin_byte' => '76750119936',
'is_extended' => 0,
'end_byte' => '77852275199'
},
'9' => {
'count_byte' => '8389753344',
'filesystem' => 'ext3',
'begin_byte' => '78954494976',
'is_extended' => 0,
'end_byte' => '87344248319'
},
'2' => {
'count_byte' => '12337920000',
'filesystem' => 'ntfs',
'begin_byte' => '107693591040',
'is_extended' => 0,
'end_byte' => '120031511039'
},
'12' => {
'count_byte' => '1077479424',
'filesystem' => 'fat32',
'begin_byte' => '106616111616',
'is_extended' => 0,
'end_byte' => '107693591039'
},
'8' => {
'count_byte' => '1102155264',
'filesystem' => 'ext3',
'begin_byte' => '77852307456',
Preserved partition /dev/sda1 retains size 73501069824B
Preserved partition /dev/sda5 retains size 1102155264B
Preserved partition /dev/sda6 retains size 2146765824B
Preserved partition /dev/sda7 retains size 1102155264B
Preserved partition /dev/sda8 retains size 1102155264B
Preserved partition /dev/sda9 retains size 8389753344B
Preserved partition /dev/sda10 retains size 9434363904B
Preserved partition /dev/sda11 retains size 9837402624B
Preserved partition /dev/sda12 retains size 1077479424B
Previous partitions overflow begin of preserved partition /dev/sda3
'is_extended' => 0,
'end_byte' => '78954462719'
},
'1' => {
'count_byte' => '73501069824',
'filesystem' => 'ntfs',
'begin_byte' => '32256',
'is_extended' => 0,
'end_byte' => '73501102079'
},
'10' => {
'count_byte' => '9434363904',
'filesystem' => 'ext3',
'begin_byte' => '87344280576',
'is_extended' => 0,
'end_byte' => '96778644479'
},
'5' => {
'count_byte' => '1102155264',
'filesystem' => 'ext3',
'begin_byte' => '73501134336',
'is_extended' => 0,
'end_byte' => '74603289599'
}
},
'bios_cylinders' => '14593',
'size' => '120034123776',
'sector_size' => '512',
'begin_byte' => 0,
'end_byte' => '120034123775',
'bios_sectors_per_track' => '63'
}
};
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {};