Error: at /usr/share/fai/setup-storage//Parser.pm line 382
Karl Koch
cypher_head at gmx.net
Tue Sep 3 14:27:54 CEST 2013
Hello,
I have a little problem. I have a HP server with external storage.
On the external storage an LVM is present, which is to be
retained for a rollout.
My disk_config:
# # Disk_config disk1
disk_config / dev / sda disklabel: msdos
primary / 16GiB ext4 rw
primary 24GiB swap swap defaults
logical / var / log ext4 rw-50GiB
# Disk_config disk2
disk_config / dev / sdb preserve_always: 1 disklabel: gpt
primary - 4096 ---
disk_config lvm
vg vg_01 sdb1
vg_01-lv_01 / web 1GiB-xfs rw
The error message is:
disk_config lvm
vg vg_01 sdb1
vg_01-lv_01 /web 1GiB- xfs rw
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/T3zKVNrH79 2>
/tmp/pcHhKZ1sWH
Executing: parted -s /dev/sda unit TiB print
(STDOUT) Model: HP LOGICAL VOLUME (scsi)
(STDOUT) Disk /dev/sda: 0,27TiB
(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,02TiB 0,02TiB primary ext4
(STDOUT) 2 0,02TiB 0,04TiB 0,02TiB primary linux-swap(v1)
(STDOUT) 3 0,04TiB 0,27TiB 0,23TiB extended lba
(STDOUT) 5 0,04TiB 0,27TiB 0,23TiB logical ext4
(STDOUT)
(CMD) parted -s /dev/sda unit B print free 1> /tmp/BQ1tq0MysV 2>
/tmp/meVaDtuAxv
Executing: parted -s /dev/sda unit B print free
(STDOUT) Model: HP LOGICAL VOLUME (scsi)
(STDOUT) Disk /dev/sda: 299966445568B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Size Type File
system Flags
(STDOUT) 32256B 1048575B 1016320B Free Space
(STDOUT) 1 1048576B 17180917759B 17179869184B primary ext4
(STDOUT) 2 17180917760B 42950721535B 25769803776B primary
linux-swap(v1)
(STDOUT) 3 42950721536B 299966445567B 257015724032B
extended lba
(STDOUT) 5 42950722560B 299966445567B 257015723008B logical ext4
(STDOUT)
(CMD) parted -s /dev/sda unit chs print free 1> /tmp/XaDGFHuKTi 2>
/tmp/pFI99MhMFl
Executing: parted -s /dev/sda unit chs print free
(STDOUT) Model: HP LOGICAL VOLUME (scsi)
(STDOUT) Disk /dev/sda: 36468,214,61
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 36468,255,63. Each
cylinder is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Type File system Flags
(STDOUT) 0,1,0 0,32,31 Free Space
(STDOUT) 1 0,32,32 2088,202,33 primary ext4
(STDOUT) 2 2088,202,34 5221,202,36 primary linux-swap(v1)
(STDOUT) 3 5221,202,37 36468,214,61 extended lba
(STDOUT) 5 5221,202,39 36468,214,61 logical ext4
(STDOUT)
(CMD) parted -s /dev/sdb unit TiB print 1> /tmp/vXyzC0tds2 2>
/tmp/6WcbBz4Rz5
Executing: parted -s /dev/sdb unit TiB print
(STDOUT) Model: HP LOGICAL VOLUME (scsi)
(STDOUT) Disk /dev/sdb: 42,8TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: gpt
(STDOUT)
(STDOUT) Number Start End Size File system Name Flags
(STDOUT) 1 0,00TiB 42,8TiB 42,8TiB primary lvm
(STDOUT)
(CMD) parted -s /dev/sdb unit B print free 1> /tmp/WlnZUQEgdC 2>
/tmp/rGegZQvkGh
Executing: parted -s /dev/sdb unit B print free
(STDOUT) Model: HP LOGICAL VOLUME (scsi)
(STDOUT) Disk /dev/sdb: 47008018292736B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: gpt
(STDOUT)
(STDOUT) Number Start End Size File
system Name Flags
(STDOUT) 17408B 1048575B 1031168B Free Space
(STDOUT) 1 1048576B 47008018275839B 47008017227264B
primary lvm
(STDOUT)
(CMD) parted -s /dev/sdb unit chs print free 1> /tmp/UNENHZIY4g 2>
/tmp/Nj3SIckTh5
Executing: parted -s /dev/sdb unit chs print free
(STDOUT) Model: HP LOGICAL VOLUME (scsi)
(STDOUT) Disk /dev/sdb: 5715066,6,59
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 5715066,255,63. Each
cylinder is 8225kB.
(STDOUT) Partition Table: gpt
(STDOUT)
(STDOUT) Number Start End File system Name Flags
(STDOUT) 0,0,34 0,32,31 Free Space
(STDOUT) 1 0,32,32 5715066,6,26 primary lvm
(STDOUT)
Finding all volume groups
Finding volume group "vg_01"
Finding all volume groups
Finding volume group "vg_01"
INTERNAL ERROR in setup-storage:
convert_unit 42,75TiB
Please report this error to the Debian Bug Tracking System.
at /usr/share/fai/setup-storage//Parser.pm line 382
FAI::convert_unit('42,75TiB') called at
/usr/share/fai/setup-storage//Volumes.pm line 409
FAI::get_current_lvm called at /usr/sbin/setup-storage line 167
Even if I do not want to get the LVM, the server can no longer be
re-rolled.
Can anyone give me a hint? OS is Wheezy
Sorry for my bad english.
Thx K K
More information about the linux-fai-devel
mailing list