setup-storage and LVM
Christoph Kluenter
ck at iphh.net
Mon Jan 7 13:15:34 CET 2008
On Monday 07 January 2008 11:27:48 you wrote:
> [...]
>
> > INTERNAL ERROR in setup-storage:
> > convert_unit 235528.823803711MB
> > Please report this error to the Debian Bug Tracking System.
>
> [...]
>
> Ok, should be fixed, please try SVN revision 4834.
Man, that was quick. Thank you very much!
So on to the next problem :-)
192:~# /var/lib/fai/config/store/setup-storage -X
Finding all volume groups
No volume groups found
Volume group my_pv requires 2.25179981368525e+15 MB
192:~# debug=1 /var/lib/fai/config/store/setup-storage -X
disklist was:
sdaInput was:
disk_config sda
primary /boot 500 - -
primary - 0- - -
disk_config lvm
vg my_pv sda2
my_pv-_root / 2048 ext3 rw -0 dir_index,resize_inode
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/DERwEeRKTn 2> /tmp/DFR4qLnTTo
(STDOUT)
(STDOUT) Disk /dev/sda: 0.23TiB
(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/5PgLqdG2SK
2> /tmp/wPpQkAorDC
(STDOUT)
(STDOUT) Disk /dev/sda: 249988907007B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Size Type File system Flags
(STDOUT) 0B 249988907007B 249988907008B Free Space
(STDOUT)
(CMD) parted -s /dev/sda unit chs print free 1> /tmp/PUr4YpvfIh
2> /tmp/XB6t8Lwow2
(STDOUT)
(STDOUT) Disk /dev/sda: 30392,192,7
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 30392,255,63. Each cylinder is
8225kB.
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Type File system Flags
(STDOUT) 0,0,0 30392,192,7 Free Space
(STDOUT)
Finding all volume groups
No volume groups found
(CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/KeIYBXgeys
2> /tmp/Pv2YHER2Gp
Current disk layout
$VAR1 = {
'/dev/sda' => {
'bios_heads' => '255',
'disklabel' => 'msdos',
'partitions' => {},
'bios_cylinders' => '30392',
'size' => '249988907007',
'sector_size' => '512',
'begin_byte' => 0,
'end_byte' => '249988907006',
'bios_sectors_per_track' => '63'
}
};
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {};
Volume group my_pv requires 2.25179981368525e+15 MB
Shouldn't the script now start partitioning the harddisk ?
>
> Thanks,
> Michael
Thanks,
Christoph
--
IPHH Internet Port Hamburg GmbH Fax: +49 (0)40 374919-29
Grosse Reichenstrasse 27 AG Hamburg, HRB 76071
D-20457 Hamburg Geschaeftsfuehrung: Axel G. Kroeger
More information about the linux-fai
mailing list