Package: fai-setup-storage
Version: 4.1
Severity: normal

yesterday I finally started migrating from FAI 3.4.8 and a squeeze
nfsroot to FAI 4.1 with a wheezy nfsroot (Server itself is still squeeze
for several reasons).
I could successfully perform an initial install of a test client (using
a blank disk), but a second run (i.e. without 'initial' and with the
previous partitions and data on disk) gave:

...
     Creating directory "/etc/lvm/backup"
     Creating volume group backup "/etc/lvm/backup/vg1" (seqno 5).
Use of uninitialized value $lvn in hash element at
/usr/share/perl5/LVM.pm line 300.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Label not found for "next LVINF" at /usr/share/perl5/Linux/LVM.pm line 301
Error in task partition. Code: 710
Traceback: task_error task_partition task task_install task task_action
task main
...

The disk_config used is:

disk_config disk1 disklabel:msdos bootable:1 align-at:1 fstabkey:uuid
primary /boot           300             ext4    rw
logical -               1024-           -       -

disk_config lvm
vg vg1 disk1.5
vg1-root  /             8192-12000  ext4     rw,errors=remount-ro
vg1-swap  swap          1024-2048   swap     rw
vg1-tmp  /tmp          500-1024    ext4     rw,nosuid
vg1-varlog  /var/log      500-1024         ext4     rw

-- System Information:
Debian Release: 6.0.9
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages fai-setup-storage depends on:
ii liblinux-lvm-perl 0.17-1 Perl module to access LVM status i ii libparse-recdescent-pe 1.965001+dfsg-1 Perl module to create and use recu ii parted 2.3-5 The GNU Parted disk partition resi ii perl 5.10.1-17squeeze6 Larry Wall's Practical Extraction

Versions of packages fai-setup-storage recommends:
ii lvm2 2.02.66-5 The Linux Logical Volume Manager di mdadm 3.1.4-1+8efb9d1+squeeze1 tool to administer Linux MD arrays

Versions of packages fai-setup-storage suggests:
ii cryptsetup 2:1.1.3-4squeeze2 configures encrypted block devices ii dmsetup 2:1.02.48-5 The Linux Kernel Device Mapper use
pn  dosfstools             <none>            (no description available)
pn  jfsutils               <none>            (no description available)
pn  ntfsprogs              <none>            (no description available)
pn  reiserfsprogs          <none>            (no description available)
pn  xfsprogs               <none>            (no description available)

-- no debconf information
Starting setup-storage 1.5
Using config file: /var/lib/fai/config/disk_config/PRECISE_HOMI
    Creating directory "/run/lock/lvm"
    Finding all volume groups
    Finding volume group "vg1"
    Creating directory "/etc/lvm/archive"
    Archiving volume group "vg1" metadata (seqno 6).
    Creating directory "/etc/lvm/backup"
    Creating volume group backup "/etc/lvm/backup/vg1" (seqno 6).
Use of uninitialized value $lvn in hash element at /usr/share/perl5/Linux/LVM.pm line 300.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Label not found for "next LVINF" at /usr/share/perl5/Linux/LVM.pm line 301.
  --- Logical volume ---
  LV Path                /dev/vg1/root
  LV Name                root
  VG Name                vg1
  LV UUID                R1oQ70-3Sjx-Qloe-tpwW-g9fU-gNAT-FwShuM
  LV Write Access        read/write
  LV Creation host, time precise-ll, 2014-03-05 15:05:29 +0100
  LV Status              NOT available
  LV Size                9.31 GiB
  Current LE             2383
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
  --- Logical volume ---
  LV Path                /dev/vg1/swap
  LV Name                swap
  VG Name                vg1
  LV UUID                nVYzYu-myeZ-K3XJ-DE9W-x4Fb-ijxZ-whIxSM
  LV Write Access        read/write
  LV Creation host, time precise-ll, 2014-03-05 15:05:33 +0100
  LV Status              NOT available
  LV Size                1.36 GiB
  Current LE             347
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
  --- Logical volume ---
  LV Path                /dev/vg1/tmp
  LV Name                tmp
  VG Name                vg1
  LV UUID                kwNEq0-QOWf-P0rf-3XkE-nPYs-dtkW-73WNJA
  LV Write Access        read/write
  LV Creation host, time precise-ll, 2014-03-05 15:05:34 +0100
  LV Status              NOT available
  LV Size                688.00 MiB
  Current LE             172
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
  --- Logical volume ---
  LV Path                /dev/vg1/varlog
  LV Name                varlog
  VG Name                vg1
  LV UUID                5mWqXP-VFOr-lgpV-4o2U-Tlu2-s06Q-JyhXmX
  LV Write Access        read/write
  LV Creation host, time precise-ll, 2014-03-05 15:05:34 +0100
  LV Status              NOT available
  LV Size                688.00 MiB
  Current LE             172
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
  --- Logical volume ---
  LV Path                /dev/vg1/home
  LV Name                home
  VG Name                vg1
  LV UUID                pALdde-5fLl-luHa-2EAD-IdWR-HECl-jhCD9I
  LV Write Access        read/write
  LV Creation host, time precise-ll, 2014-03-05 15:05:35 +0100
  LV Status              NOT available
  LV Size                7.52 GiB
  Current LE             1924
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
   
setup-storage is running in test-only mode
Starting setup-storage 1.5
disklist: sda
Using config file: /var/lib/fai/config/disk_config/PRECISE_HOMI
Input was:
# generic disk configuration for one small disk
# disk size from 500Mb up to what you can buy today
#
# <type> <mountpoint> <size in mb> <fstype> <mount options>  [extra options]

disk_config disk1 disklabel:msdos bootable:1 align-at:1 fstabkey:uuid
primary	/boot		300		ext4	rw
logical	-		1024-		-	-

disk_config lvm
vg vg1 disk1.5
vg1-root  /             8192-12000  ext4     rw,errors=remount-ro
vg1-swap  swap          1024-2048   swap     rw                   
vg1-tmp  /tmp          500-1024    ext4     rw,nosuid 
vg1-varlog  /var/log      500-1024	   ext4	    rw
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/R0ww2sePlc 2> /tmp/HT9uF42w5S
Executing: parted -s /dev/sda unit TiB print
(STDOUT) Model: ATA VBOX HARDDISK (scsi)
(STDOUT) Disk /dev/sda: 0.02TiB
(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   ext4         boot
(STDOUT)  2      0.00TiB  0.02TiB  0.02TiB  extended               lba
(STDOUT)  5      0.00TiB  0.02TiB  0.02TiB  logical                lvm
(STDOUT) 
(CMD) parted -s /dev/sda unit B print free 1> /tmp/4ZFGFQ1ckn 2> /tmp/11oGGVT0KC
Executing: parted -s /dev/sda unit B print free
(STDOUT) Model: ATA VBOX HARDDISK (scsi)
(STDOUT) Disk /dev/sda: 21474836480B
(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    312475647B    311427072B    primary   ext4         boot
(STDOUT)  2      312475648B  21474836479B  21162360832B  extended               lba
(STDOUT)         312507904B  312560639B    52736B                  Free Space
(STDOUT)  5      313524224B  21474836479B  21161312256B  logical                lvm
(STDOUT) 
(CMD) parted -s /dev/sda unit chs print free 1> /tmp/xQLLr_SsRU 2> /tmp/NDRDSm8bEE
Executing: parted -s /dev/sda unit chs print free
(STDOUT) Model: ATA VBOX HARDDISK (scsi)
(STDOUT) Disk /dev/sda: 2610,212,33
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 2610,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    37,252,22    primary   ext4         boot
(STDOUT)  2      37,252,23  2610,212,33  extended               lba
(STDOUT)         37,253,23  37,254,62              Free Space
(STDOUT)  5      38,29,55   2610,212,33  logical                lvm
(STDOUT) 
    Finding all volume groups
    Finding volume group "vg1"
Use of uninitialized value $lvn in hash element at /usr/share/perl5/Linux/LVM.pm line 300.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Exiting subroutine via next at /usr/share/perl5/Linux/LVM.pm line 301.
Label not found for "next LVINF" at /usr/share/perl5/Linux/LVM.pm line 301.

Reply via email to