Setup_hardisk lvm Cannot determine size
Tsapline Sylvain
stsapline at prosodie.com
Wed Mar 26 14:29:11 CET 2008
>De : Michael Tautschnig [mailto:tautschn at model.in.tum.de]
>You need to add a line
>
>primary - 0- - -
>
>after the primary /boot ... line. Otherwise there won't be any disk1.2
>partition.
All right thanx,my disk_config was misinterpreted, I was using :
disk_config disk1 bootable:1
primary /boot 500 ext3 rw
primary - 0- - -
disk_config lvm
vg VG01 disk1.2
VG01-swap swap 2048 swap sw
VG01-root / 2048 ext3 rw
VG01-opt /opt 3048 ext3 rw
VG01-var /var 2000 ext3 rw
VG01-tmp /tmp 600 ext3 rw
VG01-usr /usr 2000 ext3 rw
VG01-appli /appli 0- ext3 rw
I corrected it following you advice, but still no chance :)
What i'm I missing ? It's working fine with Dell and Vmware.
I got an odd "Cannot determine size of /dev/cciss/c0d02" while it does not exist, the devices are
~# ls /dev/cciss/c0d0
c0d0 c0d0p1 c0d0p10 c0d0p2 c0d0p3 c0d0p5 c0d0p6 c0d0p7 c0d0p8 c0d0p9
Regards
Sylvain
Fai.log
------------------------------------------------
Loading keymap(s) fr-latin1 ...done.
Calling task_action
FAI_ACTION: install
Performing FAI installation. All data may be overwritten!
^G^G^G
Calling task_install
Source hook: partition.PROSODIE.source
disklist was:
cciss/c0d0Input was:
# Partitionnement standard avec LVM
disk_config disk1 bootable:1
primary /boot 500 ext3 rw
#primary - 0- - -
primary - 0- - -
disk_config lvm
vg VG01 disk1.2
VG01-swap swap 2048 swap sw
VG01-root / 2048 ext3 rw
VG01-opt /opt 3048 ext3 rw
VG01-var /var 2000 ext3 rw
VG01-tmp /tmp 600 ext3 rw
VG01-usr /usr 2000 ext3 rw
VG01-appli /appli 0- ext3 rw
# Partitionnement sans LVM
#
# <type> <mountpoint> <size in mb> [mount options] [;extra options]
#
#disk_config disk1
#primary / 600 rw,errors=remount-ro ; -m 5 -j ext3
#primary /boot 600 rw ; boot -m 5 -j ext3
#logical swap 2048 rw
#logical /opt 3000 rw ; -m 1 -j ext3
#logical /var 2000 rw ; -m 5 -j ext3
#logical /tmp 600 rw ; -m 0 -j ext3
#logical /usr 2000 rw ; -m 5 -j ext3
#logical /appli 0- rw ; -m 1 -j ext3
(CMD) parted -s /dev/cciss/c0d0 unit TiB print 1> /tmp/yoAWA0POvE 2> /tmp/lnX9CYQJH4
(STDOUT)
(STDOUT) Disk /dev/cciss/c0d0: 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.00TiB 0.00TiB primary ext3
(STDOUT) 2 0.00TiB 0.00TiB 0.00TiB primary ext3 boot
(STDOUT) 3 0.00TiB 0.13TiB 0.13TiB extended
(STDOUT) 5 0.00TiB 0.00TiB 0.00TiB logical linux-swap
(STDOUT) 6 0.00TiB 0.01TiB 0.00TiB logical ext3
(STDOUT) 7 0.01TiB 0.01TiB 0.00TiB logical ext3
(STDOUT) 8 0.01TiB 0.01TiB 0.00TiB logical ext3
(STDOUT) 9 0.01TiB 0.01TiB 0.00TiB logical ext3
(STDOUT) 10 0.01TiB 0.13TiB 0.12TiB logical ext3
(STDOUT)
(CMD) parted -s /dev/cciss/c0d0 unit B print free 1> /tmp/tphrcefipI 2> /tmp/suoScbNTaA
(STDOUT)
(STDOUT) Disk /dev/cciss/c0d0: 146778685439B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Size Type File system Flags
(STDOUT) 1 16384B 630865919B 630849536B primary ext3
(STDOUT) 2 630865920B 1261731839B 630865920B primary ext3 boot
(STDOUT) 3 1261731840B 146778685439B 145516953600B extended
(STDOUT) 5 1261748224B 3413360639B 2151612416B logical linux-swap
(STDOUT) 6 3413377024B 6559334399B 3145957376B logical ext3
(STDOUT) 7 6559350784B 8656650239B 2097299456B logical ext3
(STDOUT) 8 8656666624B 9287516159B 630849536B logical ext3
(STDOUT) 9 9287532544B 11384831999B 2097299456B logical ext3
(STDOUT) 10 11384848384B 146778685439B 135393837056B logical ext3
(STDOUT)
(CMD) parted -s /dev/cciss/c0d0 unit chs print free 1> /tmp/LVQIbWTyQl 2> /tmp/zoe0bvGknF
(STDOUT)
(STDOUT) Disk /dev/cciss/c0d0: 35131,254,31
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 35132,255,32. Each cylinder is 4178kB.
(STDOUT) Partition Table: msdos
(STDOUT)
(STDOUT) Number Start End Type File system Flags
(STDOUT) 1 0,1,0 150,254,31 primary ext3
(STDOUT) 2 151,0,0 301,254,31 primary ext3 boot
(STDOUT) 3 302,0,0 35131,254,31 extended
(STDOUT) 5 302,1,0 816,254,31 logical linux-swap
(STDOUT) 6 817,1,0 1569,254,31 logical ext3
(STDOUT) 7 1570,1,0 2071,254,31 logical ext3
(STDOUT) 8 2072,1,0 2222,254,31 logical ext3
(STDOUT) 9 2223,1,0 2724,254,31 logical ext3
(STDOUT) 10 2725,1,0 35131,254,31 logical ext3
(STDOUT)
Finding all volume groups
No volume groups found
(CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/1dkrSKBwWZ 2> /tmp/iJP4piZrb7
Current disk layout
$VAR1 = {
'/dev/cciss/c0d0' => {
'bios_heads' => '255',
'disklabel' => 'msdos',
'partitions' => {
'6' => {
'count_byte' => '3145957376',
'filesystem' => 'ext3',
'begin_byte' => '3413377024',
'is_extended' => 0,
'end_byte' => '6559334399'
},
'3' => {
'count_byte' => '145516953600',
'filesystem' => '',
'begin_byte' => '1261731840',
'is_extended' => 1,
'end_byte' => '146778685439'
},
'7' => {
'count_byte' => '2097299456',
'filesystem' => 'ext3',
'begin_byte' => '6559350784',
'is_extended' => 0,
'end_byte' => '8656650239'
},
'9' => {
'count_byte' => '2097299456',
'filesystem' => 'ext3',
'begin_byte' => '9287532544',
'is_extended' => 0,
'end_byte' => '11384831999'
},
'2' => {
'count_byte' => '630865920',
'filesystem' => 'ext3',
'begin_byte' => '630865920',
'is_extended' => 0,
'end_byte' => '1261731839'
},
'8' => {
'count_byte' => '630849536',
'filesystem' => 'ext3',
'begin_byte' => '8656666624',
'is_extended' => 0,
'end_byte' => '9287516159'
},
'1' => {
'count_byte' => '630849536',
'filesystem' => 'ext3',
'begin_byte' => '16384',
'is_extended' => 0,
'end_byte' => '630865919'
},
Cannot determine size of /dev/cciss/c0d02
'10' => {
'count_byte' => '135393837056',
'filesystem' => 'ext3',
'begin_byte' => '11384848384',
'is_extended' => 0,
'end_byte' => '146778685439'
},
'5' => {
'count_byte' => '2151612416',
'filesystem' => 'linux-swap',
'begin_byte' => '1261748224',
'is_extended' => 0,
'end_byte' => '3413360639'
}
},
'bios_cylinders' => '35132',
'size' => '146778685439',
'sector_size' => '512',
'begin_byte' => 0,
'end_byte' => '146778685438',
'bios_sectors_per_track' => '32'
}
};
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {};
/fai/hooks/partition.PROSODIE.source: line 20: /var/log/fai/current/disk_var.sh: No such file or directory
partition.PROSODIE.source OK.
Skiping task_partition
Calling task_mountdisks
Save log files via ssh to fai at vp-gdr-debian:hp1/install-20071004_224651
-----Message d'origine-----
De : Michael Tautschnig [mailto:tautschn at model.in.tum.de]
Envoyé : mercredi 26 mars 2008 13:24
À : Tsapline Sylvain
Cc : linux-fai at uni-koeln.de
Objet : Re: Setup_hardisk lvm Cannot determine size
> Hello,
>
> i'm having a little disagrement with setup-storage, on a HP G5, with 4 146G disk raid 1+0.
>
> The little issue is it cannot determine size of /dev/cciss/c0d02
>
> Anyone got a tip ?
>
There is a problem in your disk_config:
> --------------------------------------
>
> Source hook: partition.PROSODIE.source
> disklist was:
> cciss/c0d0Input was:
> # Partitionnement standard avec LVM
>
> disk_config disk1 bootable:1
> primary /boot 500 ext3 rw
>
> disk_config lvm
> vg VG01 disk1.2
> VG01-swap swap 2048 swap sw
> VG01-root / 2048 ext3 rw
> VG01-opt /opt 3048 ext3 rw
> VG01-var /var 2000 ext3 rw
> VG01-tmp /tmp 600 ext3 rw
> VG01-usr /usr 2000 ext3 rw
> VG01-appli /appli 0- ext3 rw
>
>
[...]
You need to add a line
primary - 0- - -
after the primary /boot ... line. Otherwise there won't be any disk1.2
partition.
HTH,
Michael
More information about the linux-fai
mailing list