Hi, I just do my first steps with fai and had some problems. After a few debugging steps - not many since I am new to fai - it seems to me that there is a bug in the partitioning by the "setup-storage" program. Maybe you can help me to figure out if it is really a bug or just a mistake of mine.
At the end of my post I am pasting the debug code of setup-storage. As you can see, my system has three Harddrives. One of them is almost 3 TB and therefore partitioned using gpt. The problem is with that (sdc). I set this up with one partition using 100% of the space. This does not work for sdc. As you can see almost at the bottom of the debug code, there is an error thrown in the middle of the output. It sais that sdc is too small. I looked around a little and could not find any clue about where the program get that exact number. So I hope you can make more out of it. I solved the problem by setting the size in the config file to 99%. Since I am still working on my configuration I can provide you more information, if needed --- at least for a little while. Greets, c. r...@testlxen1:/# /usr/sbin/setup-storage -d setup-harddisks is running in test-only mode Starting setup-storage 1.2.1 disklist was: sda sdb sdc Using config file: /var/lib/fai/config/disk_config/XEN_SERVER_MD1000 Input was: # Local Hardware RAID Disk disk_config disk1 fstabkey:uuid # <type> <mountpoint> <size> <filesystem> <mount_options> <fs_options> primary / 10000 ext3 defaults,noatime,errors=remount-ro primary swap 1000 swap sw logical - 0- - - disk_config lvm vg localstorage disk1.3 # <vg-lv> <mountpoint> <size> <filesystem> <mount_options> <fs_options> # MD1000 Hardware RAID 1 disk_config disk2 fstabkey:uuid # <type> <mountpoint> <size> <filesystem> <mount_options> <fs_options> primary - 100% - - disk_config lvm vg md1000highper disk2.1 # <vg-lv> <mountpoint> <size> <filesystem> <mount_options> <fs_options> # MD1000 Hardware RAID 5 disk_config disk3 disklabel:gpt fstabkey:uuid # <type> <mountpoint> <size> <filesystem> <mount_options> <fs_options> primary - 100% - - vg md1000storage disk3.1 # <vg-lv> <mountpoint> <size> <filesystem> <mount_options> <fs_options> (CMD) parted -s /dev/sda unit TiB print 1> /tmp/XRvtR3KfJ3 2> /tmp/wXWF2MHsQT Executing: parted -s /dev/sda unit TiB print (STDOUT) Model: DELL PERC 5/i (scsi) (STDOUT) Disk /dev/sda: 0.15TiB (STDOUT) Sector size (logical/physical): 512B/512B (STDOUT) Partition Table: msdos (STDOUT) (STDOUT) Number Start End Size Type File system Flags (STDOUT) (CMD) parted -s /dev/sda unit B print free 1> /tmp/SG191Z6UO6 2> /tmp/B7VgUGDOLK Executing: parted -s /dev/sda unit B print free (STDOUT) Model: DELL PERC 5/i (scsi) (STDOUT) Disk /dev/sda: 159450660864B (STDOUT) Sector size (logical/physical): 512B/512B (STDOUT) Partition Table: msdos (STDOUT) (STDOUT) Number Start End Size Type File system Flags (STDOUT) 0B 159450660863B 159450660864B Free Space (STDOUT) (CMD) parted -s /dev/sda unit chs print free 1> /tmp/obU3ncY7TL 2> /tmp/Hq5kFBoXWF Executing: parted -s /dev/sda unit chs print free (STDOUT) Model: DELL PERC 5/i (scsi) (STDOUT) Disk /dev/sda: 19385,111,53 (STDOUT) Sector size (logical/physical): 512B/512B (STDOUT) BIOS cylinder,head,sector geometry: 19385,255,63. Each cylinder is 8225kB. (STDOUT) Partition Table: msdos (STDOUT) (STDOUT) Number Start End Type File system Flags (STDOUT) 0,0,0 19385,111,53 Free Space (STDOUT) (CMD) parted -s /dev/sdb unit TiB print 1> /tmp/9KzZG7nNUf 2> /tmp/UfTLUDgXLX Executing: parted -s /dev/sdb unit TiB print (STDOUT) Model: DELL PERC 5/E Adapter (scsi) (STDOUT) Disk /dev/sdb: 0.13TiB (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.13TiB 0.13TiB primary (STDOUT) (CMD) parted -s /dev/sdb unit B print free 1> /tmp/HbES0TgWFN 2> /tmp/V6Ffee0j10 Executing: parted -s /dev/sdb unit B print free (STDOUT) Model: DELL PERC 5/E Adapter (scsi) (STDOUT) Disk /dev/sdb: 145492017152B (STDOUT) Sector size (logical/physical): 512B/512B (STDOUT) Partition Table: msdos (STDOUT) (STDOUT) Number Start End Size Type File system Flags (STDOUT) 1 32256B 145488752639B 145488720384B primary (STDOUT) (CMD) parted -s /dev/sdb unit chs print free 1> /tmp/1fTQb41aNF 2> /tmp/iw3yPbGkrs Executing: parted -s /dev/sdb unit chs print free (STDOUT) Model: DELL PERC 5/E Adapter (scsi) (STDOUT) Disk /dev/sdb: 17688,101,12 (STDOUT) Sector size (logical/physical): 512B/512B (STDOUT) BIOS cylinder,head,sector geometry: 17688,255,63. Each cylinder is 8225kB. (STDOUT) Partition Table: msdos (STDOUT) (STDOUT) Number Start End Type File system Flags (STDOUT) 1 0,1,0 17687,254,62 primary (STDOUT) (CMD) parted -s /dev/sdc unit TiB print 1> /tmp/Lk73tiW8eH 2> /tmp/XkfPnXXY2L Executing: parted -s /dev/sdc unit TiB print (STDOUT) Model: DELL PERC 5/E Adapter (scsi) (STDOUT) Disk /dev/sdc: 2.73TiB (STDOUT) Sector size (logical/physical): 512B/512B (STDOUT) Partition Table: gpt (STDOUT) (STDOUT) Number Start End Size File system Name Flags (STDOUT) (CMD) parted -s /dev/sdc unit B print free 1> /tmp/JzEte4Kujk 2> /tmp/mDh9jmercl Executing: parted -s /dev/sdc unit B print free (STDOUT) Model: DELL PERC 5/E Adapter (scsi) (STDOUT) Disk /dev/sdc: 2999497785344B (STDOUT) Sector size (logical/physical): 512B/512B (STDOUT) Partition Table: gpt (STDOUT) (STDOUT) Number Start End Size File system Name Flags (STDOUT) 17408B 2999497768447B 2999497751040B Free Space (STDOUT) (CMD) parted -s /dev/sdc unit chs print free 1> /tmp/fLixyX8bWy 2> /tmp/xa5dVPFHxp Executing: parted -s /dev/sdc unit chs print free (STDOUT) Model: DELL PERC 5/E Adapter (scsi) (STDOUT) Disk /dev/sdc: 364668,42,45 (STDOUT) Sector size (logical/physical): 512B/512B (STDOUT) BIOS cylinder,head,sector geometry: 364668,255,63. Each cylinder is 8225kB. (STDOUT) Partition Table: gpt (STDOUT) (STDOUT) Number Start End File system Name Flags (STDOUT) 0,0,34 364668,42,12 Free Space (STDOUT) Finding all volume groups Finding volume group "md1000highper" Finding all volume groups Finding volume group "md1000highper" Finding all volume groups Finding volume group "md1000highper" Finding all volume groups Finding volume group "md1000highper" (CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/DJZpPn83i2 2> /tmp/PUsUYwyAd1 Executing: mdadm --detail --scan --verbose -c partitions Current disk layout $VAR1 = { '/dev/sda' => { 'bios_heads' => '255', 'disklabel' => 'msdos', 'partitions' => {}, 'bios_cylinders' => '19385', 'size' => '159450660864', 'sector_size' => '512', 'begin_byte' => 0, 'end_byte' => '159450660863', 'bios_sectors_per_track' => '63' }, '/dev/sdc' => { 'bios_heads' => '255', 'disklabel' => 'gpt', 'partitions' => {}, 'bios_cylinders' => '364668', 'size' => '2999497785344', 'sector_size' => '512', 'begin_byte' => 0, 'end_byte' => '2999497785343', 'bios_sectors_per_track' => '63' }, '/dev/sdb' => { 'bios_heads' => '255', 'disklabel' => 'msdos', 'partitions' => { '1' => { 'count_byte' => '145488720384', 'filesystem' => '', 'begin_byte' => '32256', 'is_extended' => 0, 'end_byte' => '145488752639' } }, 'bios_cylinders' => '17688', 'size' => '145492017152', 'sector_size' => '512', 'begin_byte' => 0, 'end_byte' => '145492017151', 'bios_sectors_per_track' => '63' } }; Current LVM layout $VAR1 = { 'md1000highper' => { 'volumes' => { 'testlweb_root' => { 'size' => '2048' }, 'testlsys_var' => { 'size' => '1024' }, 'testlfile_swap' => { 'size' => '1024' }, 'testlfile_container' => { 'size' => '15360' }, 'testlbackup_root' => { 'size' => '2048' }, 'testlsys_swap' => { 'size' => '1024' }, 'testlsys_root' => { 'size' => '2048' }, 'testlweb_swap' => { 'size' => '1024' }, Disk /dev/sdc is too small - at least 2999497819648 bytes are required 'testlweb_var' => { 'size' => '5120' }, 'testlfile_home' => { 'size' => '5120' }, 'testwappserver_system' => { 'size' => '15360' }, 'testlbackup_swap' => { 'size' => '1024' }, 'testlfile_var' => { 'size' => '1024' }, 'testlfile_root' => { 'size' => '2048' }, 'testwappserver_data' => { 'size' => '10240' }, 'testlfile_schreibenPlus' => { 'size' => '10240' }, 'testlsys_tmp' => { 'size' => '500.00' }, 'testlfile_instdatenPlus' => { 'size' => '10240' }, 'testlfile_backup' => { 'size' => '3072' } }, 'physical_volumes' => [ '/dev/sdb1' ], 'size' => '87.49GB' } }; Current RAID layout $VAR1 = {};