Setup_hardisk lvm Cannot determine size

Tsapline Sylvain stsapline at prosodie.com
Wed Mar 26 12:13:18 CET 2008


Hello

I tried out several combinaison on different HP hardware and coulndn't
make setup-storage to install disks.

For example on a G3 - 360GL, detection failed too:

Too bad :)

Regards 

Sylvain

Here the fail.log
----------

disklist was:
cciss/c0d0Input was:
# Partitionnement standard avec  LVM

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

# 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
(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.03TiB  0.03TiB  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.03TiB  0.02TiB  logical   ext3              
(STDOUT) 
(CMD) parted -s /dev/cciss/c0d0 unit B print free 1> /tmp/IDl8vV757A 2>
/tmp/kRpfcJB2Hu
(STDOUT) 
(STDOUT) Disk /dev/cciss/c0d0: 36414750719B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start         End           Size          Type
File system  Flags
(STDOUT)  1      16384B        317521919B    317505536B    primary
ext3              
(STDOUT)  2      317521920B    426147839B    108625920B    primary
ext3         boot 
(STDOUT)  3      426147840B    36414750719B  35988602880B  extended

(STDOUT)  5      426164224B    2523463679B   2097299456B   logical
linux-swap        
(STDOUT)  6      2523480064B   5669437439B   3145957376B   logical
ext3              
(STDOUT)  7      5669453824B   7766753279B   2097299456B   logical
ext3              
(STDOUT)  8      7766769664B   8084275199B   317505536B    logical
ext3              
(STDOUT)  9      8084291584B   10181591039B  2097299456B   logical
ext3              
(STDOUT) 10      10181607424B  36414750719B  26233143296B  logical
ext3              
(STDOUT) 
(CMD) parted -s /dev/cciss/c0d0 unit chs print free 1> /tmp/siBr2gdSsZ
2> /tmp/pHxjgVSNyS
(STDOUT) 
(STDOUT) Disk /dev/cciss/c0d0: 8715,254,31
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 8716,255,32.  Each cylinder
is 4178kB.
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start     End          Type      File system  Flags
(STDOUT)  1      0,1,0     75,254,31    primary   ext3              
(STDOUT)  2      76,0,0    101,254,31   primary   ext3         boot 
(STDOUT)  3      102,0,0   8715,254,31  extended                    
(STDOUT)  5      102,1,0   603,254,31   logical   linux-swap        
(STDOUT)  6      604,1,0   1356,254,31  logical   ext3              
(STDOUT)  7      1357,1,0  1858,254,31  logical   ext3              
(STDOUT)  8      1859,1,0  1934,254,31  logical   ext3              
(STDOUT)  9      1935,1,0  2436,254,31  logical   ext3              
(STDOUT) 10      2437,1,0  8715,254,31  logical   ext3              
(STDOUT) 
    Finding all volume groups
  No volume groups found
(CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/XDtl2s69cu
2> /tmp/iuef43zZH9
Current disk layout
$VAR1 = {
          '/dev/cciss/c0d0' => {
                                 'bios_heads' => '255',
                                 'disklabel' => 'msdos',
                                 'partitions' => {
                                                   '6' => {
                                                            'count_byte'
=> '3145957376',
                                                            'filesystem'
=> 'ext3',
                                                            'begin_byte'
=> '2523480064',
 
'is_extended' => 0,
                                                            'end_byte'
=> '5669437439'
                                                          },
                                                   '3' => {
                                                            'count_byte'
=> '35988602880',
                                                            'filesystem'
=> '',
                                                            'begin_byte'
=> '426147840',
 
'is_extended' => 1,
                                                            'end_byte'
=> '36414750719'
                                                          },
                                                   '7' => {
                                                            'count_byte'
=> '2097299456',
                                                            'filesystem'
=> 'ext3',
                                                            'begin_byte'
=> '5669453824',
 
'is_extended' => 0,
                                                            'end_byte'
=> '7766753279'
                                                          },
                                                   '9' => {
                                                            'count_byte'
=> '2097299456',
                                                            'filesystem'
=> 'ext3',
                                                            'begin_byte'
=> '8084291584',
 
'is_extended' => 0,
                                                            'end_byte'
=> '10181591039'
                                                          },
                                                   '2' => {
                                                            'count_byte'
=> '108625920',
                                                            'filesystem'
=> 'ext3',
                                                            'begin_byte'
=> '317521920',
 
'is_extended' => 0,
                                                            'end_byte'
=> '426147839'
                                                          },
                                                   '8' => {
                                                            'count_byte'
=> '317505536',
                                                            'filesystem'
=> 'ext3',
                                                            'begin_byte'
=> '7766769664',
 
'is_extended' => 0,
                                                            'end_byte'
=> '8084275199'
                                                          },
                                                   '1' => {
                                                            'count_byte'
=> '317505536',
                                                            'filesystem'
=> 'ext3',
                                                            'begin_byte'
=> '16384',
 
'is_extended' => 0,
                                                            'end_byte'
=> '317521919'
                                                          },
                  Cannot determine size of /dev/cciss/c0d02
                                 '10' => {
 
'count_byte' => '26233143296',
 
'filesystem' => 'ext3',
 
'begin_byte' => '10181607424',
 
'is_extended' => 0,
                                                             'end_byte'
=> '36414750719'
                                                           },
                                                   '5' => {
                                                            'count_byte'
=> '2097299456',
                                                            'filesystem'
=> 'linux-swap',
                                                            'begin_byte'
=> '426164224',
 
'is_extended' => 0,
                                                            'end_byte'
=> '2523463679'
                                                          }
                                                 },
                                 'bios_cylinders' => '8716',
                                 'size' => '36414750719',
                                 'sector_size' => '512',
                                 'begin_byte' => 0,
                                 'end_byte' => '36414750718',
                                 '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.



More information about the linux-fai mailing list