1 2 Previous Next 24 Replies Latest reply on Mar 15, 2012 8:13 PM by msavy

    partitions

    t3d

      Hello again,

       

      I have some questions related to partitions.

       

      1. How to create partition smaller than 1 gigabyte? I've tried '260M' and '260MB' (not for root partition of course) and all I get is

      D, [2011-03-14T12:19:42.539348 #17869] DEBUG -- : Assigned /usr/local/config to sda3 at 1024 at size 0

       

      2. How to set filesystem type? I've seen 'ext3' and 'ext4' in boxgrinder-build/helpers/image-helper.rb, but I am new to ruby and can't find where create_filesystem is called from.

       

      3. Is there any support for creating/using ramdisks, or should I manage that in 'post' section?

        • 1. Re: partitions
          goldmann

          1. How to create partition slower than 1 gigabyte? I've tried '260M' and '260MB' (not for root partition of course) and all I get is

          D, 2011-03-14T12:19:42.539348 #17869 DEBUG -- : Assigned /usr/local/config to sda3 at 1024 at size 0

          Every size is specified in GB, like this:

           

          hardware:
            partitions:
              /:
                size: 5 # 5 GB
              /home:
                size: 0.5 # 500 MB
          

           

           

          See appliance definition description, hardware section.

           

          2. How to set filesystem type? I've seen 'ext3' and 'ext4' in boxgrinder-build/helpers/image-helper.rb, but I am new to ruby and can't find where create_filesystem is called from.

          By default we use the default partition type for selected OS, for example for F14 it is ext4. If you want change this (to ext3 - because BG currently supports only ext4 and ext3) specify the partition scheme like this:

           

          hardware:
            partitions:
              /:
                size: 5
                type: ext3
              /home:
                size: 0.5
                type: ext3
          

           

          I'll add this info to appliance definition description.

          3. Is there any support for creating/using ramdisks, or should I manage that in 'post' section?

          You need to do this in post section using dracut or mkinitrd commands.

           

          --Marek

          • 2. partitions
            t3d

            Marek Goldmann wrote:

             

            1. How to create partition slower than 1 gigabyte? I've tried '260M' and '260MB' (not for root partition of course) and all I get is

            D, 2011-03-14T12:19:42.539348 #17869 DEBUG -- : Assigned /usr/local/config to sda3 at 1024 at size 0

            Every size is specified in GB, like this:

             

            hardware:
              partitions:
                /:
                  size: 5 # 5 GB
                /home:
                  size: 0.5 # 500 MB
            

             

             

            See appliance definition description, hardware section.

            Still no luck

             

              partitions:

                /:

                  size: 1

                  type: ext3

                /usr/local/config:

                  size 0.26

                  type: ext3

                /usr/local/eventlog:

                  size 0.004

                  type: ext3

             

            gives me:

             

             

            D, [2011-03-14T14:23:36.992512 #19091] DEBUG -- : Formatting disks

            D, [2011-03-14T14:23:36.992794 #19091] DEBUG -- : Initializing partition table for /dev/loop0

            D, [2011-03-14T14:23:37.136226 #19091] DEBUG -- : Assigning partitions to disks

            D, [2011-03-14T14:23:37.136399 #19091] DEBUG -- : Assigned / to sda1 at 0 at size 1024

            D, [2011-03-14T14:23:37.136489 #19091] DEBUG -- : Assigned /usr/local/eventlog to sda2 at 1024 at size 0

            D, [2011-03-14T14:23:37.136577 #19091] DEBUG -- : Assigned /usr/local/config to sda3 at 1024 at size 0

             

             

            3. Is there any support for creating/using ramdisks, or should I manage that in 'post' section?

            You need to do this in post section using dracut or mkinitrd commands.

             

            --Marek

            It's not meant to be initrd

             

             

            Thanks for your help

            • 3. Re: partitions
              goldmann

               

              Still no luck

               

                partitions:

                  /:

                    size: 1

                    type: ext3

                  /usr/local/config:

                    size 0.26

                    type: ext3

                  /usr/local/eventlog:

                    size 0.004

                    type: ext3

               

              gives me:

               

               

              D, [2011-03-14T14:23:36.992512 #19091] DEBUG -- : Formatting disks

              D, [2011-03-14T14:23:36.992794 #19091] DEBUG -- : Initializing partition table for /dev/loop0

              D, [2011-03-14T14:23:37.136226 #19091] DEBUG -- : Assigning partitions to disks

              D, [2011-03-14T14:23:37.136399 #19091] DEBUG -- : Assigned / to sda1 at 0 at size 1024

              D, [2011-03-14T14:23:37.136489 #19091] DEBUG -- : Assigned /usr/local/eventlog to sda2 at 1024 at size 0

              D, [2011-03-14T14:23:37.136577 #19091] DEBUG -- : Assigned /usr/local/config to sda3 at 1024 at size 0

               

              Yep, this is a bug, created: https://issues.jboss.org/browse/BGBUILD-185

               

              Please watch this issue for resolution.

               

              --Marek

              • 4. Re: partitions
                t3d

                Well, it looks like it's not size related. It's just the first partition that is created correctly, and the rest is broken no mattter what their size is.

                 

                hardware:

                  cpus: 1

                  memory: 256

                  partitions:

                    /:

                      size: 0.9

                      type: ext3

                    /usr/local/config:

                #      size 0.26

                      size 1

                      type: ext3

                    /usr/local/eventlog:

                #      size 0.004

                      size 1

                      type: ext3

                 

                D, [2011-03-14T16:08:21.626846 #20286] DEBUG -- : Assigned / to sda1 at 0 at size 921

                D, [2011-03-14T16:08:21.626988 #20286] DEBUG -- : Assigned /usr/local/eventlog to sda2 at 921 at size 0

                D, [2011-03-14T16:08:21.627126 #20286] DEBUG -- : Assigned /usr/local/config to sda3 at 921 at size 0

                • 5. Re: partitions
                  goldmann

                  It seems the issue is in your formatting. You need add a colon : after "size".

                   

                  Wrong:

                   

                  hardware:
                    partitions:
                      /:
                        size: 0.9
                        type: ext3
                      /usr/local/config:
                        size 1
                        type: ext3
                      /usr/local/eventlog:
                        size 1
                        type: ext3
                  

                   

                  Good:

                   

                  hardware:
                    partitions:
                      /:
                        size: 0.9
                        type: ext3
                      /usr/local/config:
                        size: 1
                        type: ext3
                      /usr/local/eventlog:
                        size: 1
                        type: ext3
                  
                  

                   

                  After this change it should work. Please confirm this and I'll close the issue.

                   

                  --Marek

                  • 6. Re: partitions
                    goldmann

                    On the side note: appliance definition parsing and validation is scheduled to next release, see: https://issues.jboss.org/browse/BGBUILD-156

                     

                    --Marek

                    • 7. Re: partitions
                      t3d

                      Yes, indeed, semicolons are critical

                       

                       

                       

                      But it only works when I comment ext3 out, otherwise I get

                       

                      D, [2011-03-14T17:00:30.120903 #21356] DEBUG -- : Formatting disks

                      D, [2011-03-14T17:00:30.121162 #21356] DEBUG -- : Initializing partition table for /dev/loop1

                      D, [2011-03-14T17:00:30.265097 #21356] DEBUG -- : Assigning partitions to disks

                      D, [2011-03-14T17:00:30.265360 #21356] DEBUG -- : Assigned / to sda1 at 0 at size 1024

                      D, [2011-03-14T17:00:30.265521 #21356] DEBUG -- : Assigned /usr/local/eventlog to sda2 at 1024 at size 4

                      D, [2011-03-14T17:00:30.265665 #21356] DEBUG -- : Assigned /usr/local/config to sda3 at 1028 at size 266

                      D, [2011-03-14T17:00:30.265810 #21356] DEBUG -- : Creating partitions

                      D, [2011-03-14T17:00:30.266005 #21356] DEBUG -- : Add primary part at 0 of size 1024

                      D, [2011-03-14T17:00:30.348183 #21356] DEBUG -- : Warning: The resulting partition is not properly aligned for best performance.

                      D, [2011-03-14T17:00:30.348670 #21356] DEBUG -- : Add primary part at 1024 of size 4

                      D, [2011-03-14T17:00:30.391384 #21356] DEBUG -- : Add primary part at 1028 of size 266

                      D, [2011-03-14T17:00:30.511134 #21356] DEBUG -- : Dev loop1p1: /dev/loop11 -> /dev/mapper/loop1p1

                      D, [2011-03-14T17:00:30.511393 #21356] DEBUG -- : Dev loop1p2: /dev/loop12 -> /dev/mapper/loop1p2

                      D, [2011-03-14T17:00:30.511556 #21356] DEBUG -- : Dev loop1p3: /dev/loop13 -> /dev/mapper/loop1p3

                      D, [2011-03-14T17:00:30.511704 #21356] DEBUG -- : Adding partx mapping for /dev/loop1

                      D, [2011-03-14T17:00:30.667485 #21356] DEBUG -- : Formating ext4 filesystem on /dev/loop11

                      D, [2011-03-14T17:00:30.669989 #21356] DEBUG -- : mke2fs 1.41.12 (17-May-2010)

                      D, [2011-03-14T17:00:30.671226 #21356] DEBUG -- : Filesystem label=_/

                      D, [2011-03-14T17:00:30.671431 #21356] DEBUG -- : OS type: Linux

                      D, [2011-03-14T17:00:30.671601 #21356] DEBUG -- : Block size=4096 (log=2)

                      D, [2011-03-14T17:00:30.671768 #21356] DEBUG -- : Fragment size=4096 (log=2)

                      D, [2011-03-14T17:00:30.671947 #21356] DEBUG -- : Stride=0 blocks, Stripe width=0 blocks

                      D, [2011-03-14T17:00:30.672086 #21356] DEBUG -- : 62592 inodes, 250000 blocks

                      D, [2011-03-14T17:00:30.672224 #21356] DEBUG -- : 2500 blocks (1.00%) reserved for the super user

                      D, [2011-03-14T17:00:30.672352 #21356] DEBUG -- : First data block=0

                      D, [2011-03-14T17:00:30.672481 #21356] DEBUG -- : Maximum filesystem blocks=260046848

                      D, [2011-03-14T17:00:30.672609 #21356] DEBUG -- : 8 block groups

                      D, [2011-03-14T17:00:30.672759 #21356] DEBUG -- : 32768 blocks per group, 32768 fragments per group

                      D, [2011-03-14T17:00:30.672916 #21356] DEBUG -- : 7824 inodes per group

                      D, [2011-03-14T17:00:30.673070 #21356] DEBUG -- : Superblock backups stored on blocks:

                      D, [2011-03-14T17:00:30.673229 #21356] DEBUG -- : 32768, 98304, 163840, 229376

                      D, [2011-03-14T17:00:30.673381 #21356] DEBUG -- :

                      D, [2011-03-14T17:00:30.684478 #21356] DEBUG -- : Writing inode tables: done

                      D, [2011-03-14T17:00:30.700495 #21356] DEBUG -- : Creating journal (4096 blocks): done

                      D, [2011-03-14T17:00:31.374718 #21356] DEBUG -- : Writing superblocks and filesystem accounting information: done

                      D, [2011-03-14T17:00:31.375062 #21356] DEBUG -- :

                      D, [2011-03-14T17:00:31.375276 #21356] DEBUG -- : This filesystem will be automatically checked every 35 mounts or

                      D, [2011-03-14T17:00:31.375480 #21356] DEBUG -- : 180 days, whichever comes first.  Use tune2fs -c or -i to override.

                      D, [2011-03-14T17:00:31.482387 #21356] DEBUG -- : Tuning filesystem on /dev/loop11

                      D, [2011-03-14T17:00:31.585119 #21356] DEBUG -- : tune2fs 1.41.12 (17-May-2010)

                      D, [2011-03-14T17:00:31.585445 #21356] DEBUG -- : Setting maximal mount count to -1

                      D, [2011-03-14T17:00:31.585653 #21356] DEBUG -- : Setting interval between checks to 0 seconds

                      D, [2011-03-14T17:00:31.586731 #21356] DEBUG -- : Mounting /dev/loop11 at /root/build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/imgcreate-UqsSAD/install_root/

                      D, [2011-03-14T17:00:31.605195 #21356] DEBUG -- : Formating ext3 filesystem on /dev/loop13

                      D, [2011-03-14T17:00:31.607522 #21356] DEBUG -- : mke2fs 1.41.12 (17-May-2010)

                      D, [2011-03-14T17:00:31.608444 #21356] DEBUG -- : Filesystem label=_/usr/local/conf

                      D, [2011-03-14T17:00:31.608629 #21356] DEBUG -- : OS type: Linux

                      D, [2011-03-14T17:00:31.608796 #21356] DEBUG -- : Block size=4096 (log=2)

                      D, [2011-03-14T17:00:31.608972 #21356] DEBUG -- : Fragment size=4096 (log=2)

                      D, [2011-03-14T17:00:31.609140 #21356] DEBUG -- : Stride=0 blocks, Stripe width=0 blocks

                      D, [2011-03-14T17:00:31.609308 #21356] DEBUG -- : 65024 inodes, 65024 blocks

                      D, [2011-03-14T17:00:31.609482 #21356] DEBUG -- : 650 blocks (1.00%) reserved for the super user

                      D, [2011-03-14T17:00:31.609944 #21356] DEBUG -- : First data block=0

                      D, [2011-03-14T17:00:31.610115 #21356] DEBUG -- : Maximum filesystem blocks=67108864

                      D, [2011-03-14T17:00:31.610279 #21356] DEBUG -- : 2 block groups

                      D, [2011-03-14T17:00:31.610446 #21356] DEBUG -- : 32768 blocks per group, 32768 fragments per group

                      D, [2011-03-14T17:00:31.610611 #21356] DEBUG -- : 32512 inodes per group

                      D, [2011-03-14T17:00:31.610787 #21356] DEBUG -- : Superblock backups stored on blocks:

                      D, [2011-03-14T17:00:31.610971 #21356] DEBUG -- : 32768

                      D, [2011-03-14T17:00:31.611125 #21356] DEBUG -- :

                      D, [2011-03-14T17:00:31.617085 #21356] DEBUG -- : Writing inode tables: done

                      D, [2011-03-14T17:00:31.627119 #21356] DEBUG -- : Creating journal (4096 blocks): done

                      D, [2011-03-14T17:00:32.102626 #21356] DEBUG -- : Writing superblocks and filesystem accounting information: done

                      D, [2011-03-14T17:00:32.103026 #21356] DEBUG -- :

                      D, [2011-03-14T17:00:32.103316 #21356] DEBUG -- : This filesystem will be automatically checked every 29 mounts or

                      D, [2011-03-14T17:00:32.103584 #21356] DEBUG -- : 180 days, whichever comes first.  Use tune2fs -c or -i to override.

                      D, [2011-03-14T17:00:32.107707 #21356] DEBUG -- : Tuning filesystem on /dev/loop13

                      D, [2011-03-14T17:00:32.186433 #21356] DEBUG -- : tune2fs 1.41.12 (17-May-2010)

                      D, [2011-03-14T17:00:32.186758 #21356] DEBUG -- : Setting maximal mount count to -1

                      D, [2011-03-14T17:00:32.187045 #21356] DEBUG -- : Setting interval between checks to 0 seconds

                      D, [2011-03-14T17:00:32.188015 #21356] DEBUG -- : Creating mount point /root/build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/imgcreate-UqsSAD/install_root/usr/local/config

                      D, [2011-03-14T17:00:32.188832 #21356] DEBUG -- : Mounting /dev/loop13 at /root/build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/imgcreate-UqsSAD/install_root/usr/local/config

                      D, [2011-03-14T17:00:32.198156 #21356] DEBUG -- : Formating ext3 filesystem on /dev/loop12

                      D, [2011-03-14T17:00:32.200990 #21356] DEBUG -- : mke2fs 1.41.12 (17-May-2010)

                      D, [2011-03-14T17:00:32.204033 #21356] DEBUG -- : Filesystem label=_/usr/local/even

                      D, [2011-03-14T17:00:32.204278 #21356] DEBUG -- : OS type: Linux

                      D, [2011-03-14T17:00:32.204435 #21356] DEBUG -- : Block size=4096 (log=2)

                      D, [2011-03-14T17:00:32.204598 #21356] DEBUG -- : Fragment size=4096 (log=2)

                      D, [2011-03-14T17:00:32.204802 #21356] DEBUG -- : Stride=0 blocks, Stripe width=0 blocks

                      D, [2011-03-14T17:00:32.205011 #21356] DEBUG -- : 768 inodes, 768 blocks

                      D, [2011-03-14T17:00:32.205167 #21356] DEBUG -- : 7 blocks (0.91%) reserved for the super user

                      D, [2011-03-14T17:00:32.205364 #21356] DEBUG -- :

                      D, [2011-03-14T17:00:32.205627 #21356] DEBUG -- : First data block=0

                      D, [2011-03-14T17:00:32.205833 #21356] DEBUG -- : Filesystem too small for a journal

                      D, [2011-03-14T17:00:32.206061 #21356] DEBUG -- : 1 block group

                      D, [2011-03-14T17:00:32.206338 #21356] DEBUG -- : 32768 blocks per group, 32768 fragments per group

                      D, [2011-03-14T17:00:32.206476 #21356] DEBUG -- : 768 inodes per group

                      D, [2011-03-14T17:00:32.206618 #21356] DEBUG -- :

                      D, [2011-03-14T17:00:32.206765 #21356] DEBUG -- : Writing inode tables: done

                      D, [2011-03-14T17:00:32.312163 #21356] DEBUG -- : Writing superblocks and filesystem accounting information: done

                      D, [2011-03-14T17:00:32.312450 #21356] DEBUG -- :

                      D, [2011-03-14T17:00:32.312652 #21356] DEBUG -- : This filesystem will be automatically checked every 26 mounts or

                      D, [2011-03-14T17:00:32.312878 #21356] DEBUG -- : Tuning filesystem on /dev/loop12

                      D, [2011-03-14T17:00:32.313259 #21356] DEBUG -- : 180 days, whichever comes first.  Use tune2fs -c or -i to override.

                      D, [2011-03-14T17:00:32.362659 #21356] DEBUG -- : tune2fs 1.41.12 (17-May-2010)

                      D, [2011-03-14T17:00:32.362905 #21356] DEBUG -- : Setting maximal mount count to -1

                      D, [2011-03-14T17:00:32.363007 #21356] DEBUG -- : Setting interval between checks to 0 seconds

                      D, [2011-03-14T17:00:32.363679 #21356] DEBUG -- : Creating mount point /root/build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/imgcreate-UqsSAD/install_root/usr/local/eventlog

                      D, [2011-03-14T17:00:32.363973 #21356] DEBUG -- : Mounting /dev/loop12 at /root/build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/imgcreate-UqsSAD/install_root/usr/local/eventlog

                      D, [2011-03-14T17:00:32.367545 #21356] DEBUG -- : mount: wrong fs type, bad option, bad superblock on /dev/mapper/loop1p2,

                      D, [2011-03-14T17:00:32.367748 #21356] DEBUG -- : missing codepage or helper program, or other error

                      D, [2011-03-14T17:00:32.367881 #21356] DEBUG -- : In some cases useful info is found in syslog - try

                      D, [2011-03-14T17:00:32.367983 #21356] DEBUG -- : dmesg | tail  or so

                      D, [2011-03-14T17:00:32.368073 #21356] DEBUG -- :

                      D, [2011-03-14T17:00:32.368173 #21356] DEBUG -- : Unable to create appliance : Failed mount disks : Failed to mount '/dev/loop12' to '/root/build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/imgcreate-UqsSAD/install_root/usr/local/eventlog'

                      D, [2011-03-14T17:00:32.368313 #21356] DEBUG -- : Unmounting directory /root/build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/imgcreate-UqsSAD/install_root/usr/local/config

                      D, [2011-03-14T17:00:32.389217 #21356] DEBUG -- : Unmounting directory /root/build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/imgcreate-UqsSAD/install_root/

                      D, [2011-03-14T17:00:32.498931 #21356] DEBUG -- : Removing compat symlinks

                      D, [2011-03-14T17:00:32.499244 #21356] DEBUG -- : Unmapping /dev/loop1

                      D, [2011-03-14T17:00:32.526664 #21356] DEBUG -- : Losetup remove /dev/loop1

                      D, [2011-03-14T17:00:32.553858 #21356] DEBUG -- : ['/', '/usr/local/config', '/usr/local/eventlog']

                      E, [2011-03-14T17:00:32.581302 #21356] ERROR -- : /usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.0/lib/boxgrinder-core/helpers/exec-helper.rb:69:in `execute'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:78:in `build_with_appliance_creator'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:44:in `execute'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/base-plugin.rb:131:in `run'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:108:in `execute_os_plugin'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:82:in `execute_plugin_chain'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:93:in `create'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/bin/boxgrinder-build:185

                      /usr/bin/boxgrinder-build:19:in `load'

                      /usr/bin/boxgrinder-build:19

                      F, [2011-03-14T17:00:32.581642 #21356] FATAL -- : An error occurred while executing command: 'appliance-creator -d -v -t 'build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp' --cache=/var/cache/boxgrinder/rpms-cache/i686/fedora/14 --config 'build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp/f7-simulator.ks' -o 'build/appliances/i686/fedora/14/f7-simulator/fedora-plugin/tmp' --name 'f7-simulator' --vmem 256 --vcpu 1 --format raw', process exited with wrong exit status: 1 (RuntimeError)

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-core-0.3.0/lib/boxgrinder-core/helpers/exec-helper.rb:74:in `execute'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:78:in `build_with_appliance_creator'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:44:in `execute'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/base-plugin.rb:131:in `run'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:108:in `execute_os_plugin'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:82:in `execute_plugin_chain'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:93:in `create'

                      /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/bin/boxgrinder-build:185

                      /usr/bin/boxgrinder-build:19:in `load'

                      /usr/bin/boxgrinder-build:19

                       

                        partitions:

                          /:

                            size: 1

                      #      type: ext3

                          /usr/local/config:

                            size: 0.26

                            type: ext3

                          /usr/local/eventlog:

                            size: 0.004

                            type: ext3

                      • 8. Re: partitions
                        goldmann

                        I see two issues here:

                        1. The /usr/local/eventlog is to small. Bumping the size worked for me.
                        2. Partition mount poins are too long to save the mount point as a partition label. This will cause issues when in next build stage.

                         

                        I'll add a minimum partition size enforcement: https://issues.jboss.org/browse/BGBUILD-186

                         

                        The second issue is more complicated. We could use UUIDs: https://issues.jboss.org/browse/BGBUILD-187

                         

                        Can you explain why do you create such small partitions when it really doesn't matter in a VM?

                         

                        --Marek

                        • 9. Re: partitions
                          t3d

                          Marek Goldmann wrote:

                           

                          I see two issues here:

                          1. The /usr/local/eventlog is to small. Bumping the size worked for me.
                          2. Partition mount poins are too long to save the mount point as a partition label. This will cause issues when in next build stage.

                           

                          I'll add a minimum partition size enforcement: https://issues.jboss.org/browse/BGBUILD-186

                           

                          The second issue is more complicated. We could use UUIDs: https://issues.jboss.org/browse/BGBUILD-187

                           

                          I would have the smaller partition formatted in ext2 if that was supported...

                          However it looks like creating partition works with ext4 (default one) and not with ext3. But later boxgrinder fails because of mount points, as you have noticed.

                           

                           

                          Can you explain why do you create such small partitions when it really doesn't matter in a VM?

                          For two reasons. One is that I want to run tens or hundreds of VMs in parallel, and the second is that this appliance has to mimic something that is already done this way.

                          • 10. Re: partitions
                            goldmann

                            Can you explain why do you create such small partitions when it really doesn't matter in a VM?

                            For two reasons. One is that I want to run tens or hundreds of VMs in parallel, and the second is that this appliance has to mimic something that is already done this way.

                            Sorry, but it's hard to me to understand these reasons. Could you please explain them more so I can understand this use case?

                             

                            --Marek

                            • 11. Re: partitions
                              t3d

                              Ok, another case:

                               

                              appliance file:

                              name: hdd-test

                              summary: test

                              os:

                                name: fedora

                                version: 13

                                password: xxxxxxx

                              hardware:

                                cpus: 1

                                memory: 256

                                partitions:

                                  /:

                                    size: 2

                                    type: ext3

                                  /ubrc :

                                    size: 0.02

                                    type: ext3

                                  /tmp-eventlog :

                                    size: 0.01

                                    type: ext3

                                  /tmp-config :

                                    size: 0.26

                              post:

                                base:

                                  - "/sbin/chkconfig iptables off"

                                  - "/sbin/chkconfig ip6tables off"

                               

                              # setarch i386 boxgrinder-build hdd.appl -d local --debug -f

                              D, [2011-04-11T13:33:28.599347 #22680] DEBUG -- : Launching new BoxGrinder build...

                              D, [2011-04-11T13:33:28.600773 #22680] DEBUG -- : Loading os plugins...

                              D, [2011-04-11T13:33:28.600854 #22680] DEBUG -- : We have 3 os plugin(s) registered

                              D, [2011-04-11T13:33:28.600935 #22680] DEBUG -- : - fedora plugin for Fedora.

                              D, [2011-04-11T13:33:28.601010 #22680] DEBUG -- : - centos plugin for CentOS.

                              D, [2011-04-11T13:33:28.601087 #22680] DEBUG -- : - rhel plugin for Red Hat Enterprise Linux.

                              D, [2011-04-11T13:33:28.601157 #22680] DEBUG -- : Plugins loaded.

                              D, [2011-04-11T13:33:28.601227 #22680] DEBUG -- : Loading platform plugins...

                              D, [2011-04-11T13:33:28.601299 #22680] DEBUG -- : We have 3 platform plugin(s) registered

                              D, [2011-04-11T13:33:28.601372 #22680] DEBUG -- : - virtualbox plugin for VirtualBox.

                              D, [2011-04-11T13:33:28.601444 #22680] DEBUG -- : - ec2 plugin for Amazon Elastic Compute Cloud (Amazon EC2).

                              D, [2011-04-11T13:33:28.601525 #22680] DEBUG -- : - vmware plugin for VMware.

                              D, [2011-04-11T13:33:28.601595 #22680] DEBUG -- : Plugins loaded.

                              D, [2011-04-11T13:33:28.601664 #22680] DEBUG -- : Loading delivery plugins...

                              D, [2011-04-11T13:33:28.601763 #22680] DEBUG -- : We have 6 delivery plugin(s) registered

                              D, [2011-04-11T13:33:28.601839 #22680] DEBUG -- : - cloudfront plugin for Amazon Simple Storage Service (Amazon S3).

                              D, [2011-04-11T13:33:28.601916 #22680] DEBUG -- : - ami plugin for Amazon Simple Storage Service (Amazon S3).

                              D, [2011-04-11T13:33:28.601993 #22680] DEBUG -- : - ebs plugin for Elastic Block Storage.

                              D, [2011-04-11T13:33:28.602063 #22680] DEBUG -- : - s3 plugin for Amazon Simple Storage Service (Amazon S3).

                              D, [2011-04-11T13:33:28.602138 #22680] DEBUG -- : - local plugin for Local file system.

                              D, [2011-04-11T13:33:28.602208 #22680] DEBUG -- : - sftp plugin for SSH File Transfer Protocol.

                              D, [2011-04-11T13:33:28.602276 #22680] DEBUG -- : Plugins loaded.

                              D, [2011-04-11T13:33:28.602361 #22680] DEBUG -- : Reading definition from 'hdd.appl' file...

                              D, [2011-04-11T13:33:28.602647 #22680] DEBUG -- : Adding packages to appliance...

                              D, [2011-04-11T13:33:28.602750 #22680] DEBUG -- : 0 package(s) added to appliance.

                              I, [2011-04-11T13:33:28.606322 #22680]  INFO -- : Removing previous builds for hdd-test appliance...

                              D, [2011-04-11T13:33:28.904938 #22680] DEBUG -- : Previous builds removed.

                              I, [2011-04-11T13:33:28.905099 #22680]  INFO -- : Building 'hdd-test' appliance for i686 architecture.

                              D, [2011-04-11T13:33:28.905372 #22680] DEBUG -- : Executing operating system plugin for fedora...

                              I, [2011-04-11T13:33:28.907527 #22680]  INFO -- : Resolving packages added to hdd-test appliance definition file...

                              D, [2011-04-11T13:33:28.912754 #22680] DEBUG -- : Querying package database...

                              D, [2011-04-11T13:33:28.912885 #22680] DEBUG -- : Executing command: 'repoquery --quiet --disablerepo=* --enablerepo=boxgrinder-fedora-13-base,boxgrinder-fedora-13-updates -c 'build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/yum.conf' list available system-config-firewall-base dhclient kernel --nevra --archlist=i386,i486,i586,i686,noarch'

                              D, [2011-04-11T13:34:46.827363 #22680] DEBUG -- : dhclient-12:4.1.1-27.P1.fc13.i686

                              D, [2011-04-11T13:34:46.827606 #22680] DEBUG -- : kernel-0:2.6.34.8-68.fc13.i686

                              D, [2011-04-11T13:34:46.827732 #22680] DEBUG -- : system-config-firewall-base-0:1.2.27-1.fc13.noarch

                              I, [2011-04-11T13:34:46.836961 #22680]  INFO -- : All additional packages for hdd-test appliance successfully resolved.

                              I, [2011-04-11T13:34:46.837170 #22680]  INFO -- : Building hdd-test appliance...

                              D, [2011-04-11T13:34:46.837451 #22680] DEBUG -- : Executing command: 'appliance-creator -d -v -t 'build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp' --cache=/var/cache/boxgrinder/rpms-cache/i686/fedora/13 --config 'build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/hdd-test.ks' -o 'build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp' --name 'hdd-test' --vmem 256 --vcpu 1 --format raw'

                              D, [2011-04-11T13:34:46.963271 #22680] DEBUG -- : Adding disk sda as /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/tmp-oXZ8bs/hdd-test-sda.raw

                              D, [2011-04-11T13:34:46.963423 #22680] DEBUG -- : Extending sparse file /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/tmp-oXZ8bs/hdd-test-sda.raw to 2457862144

                              D, [2011-04-11T13:34:46.966660 #22680] DEBUG -- : Losetup add /dev/loop1 mapping to /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/tmp-oXZ8bs/hdd-test-sda.raw

                              D, [2011-04-11T13:34:46.970307 #22680] DEBUG -- : Formatting disks

                              D, [2011-04-11T13:34:46.970502 #22680] DEBUG -- : Initializing partition table for /dev/loop1

                              D, [2011-04-11T13:34:47.100096 #22680] DEBUG -- : Assigning partitions to disks

                              D, [2011-04-11T13:34:47.100812 #22680] DEBUG -- : Assigned /tmp-eventlog to sda1 at 0 at size 10

                              D, [2011-04-11T13:34:47.100984 #22680] DEBUG -- : Assigned / to sda2 at 10 at size 2048

                              D, [2011-04-11T13:34:47.101100 #22680] DEBUG -- : Assigned /ubrc to sda3 at 2058 at size 20

                              D, [2011-04-11T13:34:47.101227 #22680] DEBUG -- : Assigned /tmp-config to sda5 at 2078 at size 266

                              D, [2011-04-11T13:34:47.101341 #22680] DEBUG -- : Creating partitions

                              D, [2011-04-11T13:34:47.101457 #22680] DEBUG -- : Add primary part at 0 of size 10

                              D, [2011-04-11T13:34:47.166356 #22680] DEBUG -- : Warning: The resulting partition is not properly aligned for best performance.

                              D, [2011-04-11T13:34:47.166970 #22680] DEBUG -- : Add primary part at 10 of size 2048

                              D, [2011-04-11T13:34:47.233714 #22680] DEBUG -- : Add primary part at 2058 of size 20

                              D, [2011-04-11T13:34:47.291895 #22680] DEBUG -- : Added extended part at 2078 of size 266

                              D, [2011-04-11T13:34:47.367282 #22680] DEBUG -- : Add logical part at 2078 of size 266

                              D, [2011-04-11T13:34:47.441733 #22680] DEBUG -- : Warning: The resulting partition is not properly aligned for best performance.

                              D, [2011-04-11T13:34:47.446298 #22680] DEBUG -- : Dev loop1p1: /dev/loop11 -> /dev/mapper/loop1p1

                              D, [2011-04-11T13:34:47.446878 #22680] DEBUG -- : Dev loop1p2: /dev/loop12 -> /dev/mapper/loop1p2

                              D, [2011-04-11T13:34:47.447046 #22680] DEBUG -- : Dev loop1p3: /dev/loop13 -> /dev/mapper/loop1p3

                              D, [2011-04-11T13:34:47.447203 #22680] DEBUG -- : Dev loop1p5: /dev/loop15 -> /dev/mapper/loop1p5

                              D, [2011-04-11T13:34:47.447353 #22680] DEBUG -- : Adding partx mapping for /dev/loop1

                              D, [2011-04-11T13:34:47.533125 #22680] DEBUG -- : Formating ext3 filesystem on /dev/loop12

                              D, [2011-04-11T13:34:47.536788 #22680] DEBUG -- : mke2fs 1.41.12 (17-May-2010)

                              D, [2011-04-11T13:34:47.538016 #22680] DEBUG -- : Filesystem label=_/

                              D, [2011-04-11T13:34:47.538117 #22680] DEBUG -- : OS type: Linux

                              D, [2011-04-11T13:34:47.538198 #22680] DEBUG -- : Block size=4096 (log=2)

                              D, [2011-04-11T13:34:47.538284 #22680] DEBUG -- : Fragment size=4096 (log=2)

                              D, [2011-04-11T13:34:47.538364 #22680] DEBUG -- : Stride=0 blocks, Stripe width=0 blocks

                              D, [2011-04-11T13:34:47.538444 #22680] DEBUG -- : 125184 inodes, 499968 blocks

                              D, [2011-04-11T13:34:47.538571 #22680] DEBUG -- : 4999 blocks (1.00%) reserved for the super user

                              D, [2011-04-11T13:34:47.538667 #22680] DEBUG -- : First data block=0

                              D, [2011-04-11T13:34:47.538750 #22680] DEBUG -- : Maximum filesystem blocks=515899392

                              D, [2011-04-11T13:34:47.538832 #22680] DEBUG -- : 16 block groups

                              D, [2011-04-11T13:34:47.538911 #22680] DEBUG -- : 32768 blocks per group, 32768 fragments per group

                              D, [2011-04-11T13:34:47.538994 #22680] DEBUG -- : 7824 inodes per group

                              D, [2011-04-11T13:34:47.539075 #22680] DEBUG -- : Superblock backups stored on blocks:

                              D, [2011-04-11T13:34:47.539156 #22680] DEBUG -- : 32768, 98304, 163840, 229376, 294912

                              D, [2011-04-11T13:34:47.539239 #22680] DEBUG -- :

                              D, [2011-04-11T13:34:47.550888 #22680] DEBUG -- : Writing inode tables: done6

                              D, [2011-04-11T13:34:47.564922 #22680] DEBUG -- : Creating journal (8192 blocks): done

                              D, [2011-04-11T13:34:48.440806 #22680] DEBUG -- : Writing superblocks and filesystem accounting information: done

                              D, [2011-04-11T13:34:48.441028 #22680] DEBUG -- :

                              D, [2011-04-11T13:34:48.441178 #22680] DEBUG -- : This filesystem will be automatically checked every 34 mounts or

                              D, [2011-04-11T13:34:48.441350 #22680] DEBUG -- : 180 days, whichever comes first.  Use tune2fs -c or -i to override.

                              D, [2011-04-11T13:34:48.452621 #22680] DEBUG -- : Tuning filesystem on /dev/loop12

                              D, [2011-04-11T13:34:48.566022 #22680] DEBUG -- : tune2fs 1.41.12 (17-May-2010)

                              D, [2011-04-11T13:34:48.566170 #22680] DEBUG -- : Setting maximal mount count to -1

                              D, [2011-04-11T13:34:48.566257 #22680] DEBUG -- : Setting interval between checks to 0 seconds

                              D, [2011-04-11T13:34:48.566830 #22680] DEBUG -- : Mounting /dev/loop12 at /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/

                              D, [2011-04-11T13:34:48.573450 #22680] DEBUG -- : Formating ext4 filesystem on /dev/loop15

                              D, [2011-04-11T13:34:48.579497 #22680] DEBUG -- : mke2fs 1.41.12 (17-May-2010)

                              D, [2011-04-11T13:34:48.581590 #22680] DEBUG -- : Filesystem label=_/tmp-config

                              D, [2011-04-11T13:34:48.581729 #22680] DEBUG -- : OS type: Linux

                              D, [2011-04-11T13:34:48.581814 #22680] DEBUG -- : Block size=4096 (log=2)

                              D, [2011-04-11T13:34:48.581894 #22680] DEBUG -- : Fragment size=4096 (log=2)

                              D, [2011-04-11T13:34:48.581975 #22680] DEBUG -- : Stride=0 blocks, Stripe width=0 blocks

                              D, [2011-04-11T13:34:48.582058 #22680] DEBUG -- : 64768 inodes, 64767 blocks

                              D, [2011-04-11T13:34:48.582137 #22680] DEBUG -- : 647 blocks (1.00%) reserved for the super user

                              D, [2011-04-11T13:34:48.582219 #22680] DEBUG -- : First data block=0

                              D, [2011-04-11T13:34:48.582298 #22680] DEBUG -- : Maximum filesystem blocks=67108864

                              D, [2011-04-11T13:34:48.582381 #22680] DEBUG -- : 2 block groups

                              D, [2011-04-11T13:34:48.582466 #22680] DEBUG -- : 32768 blocks per group, 32768 fragments per group

                              D, [2011-04-11T13:34:48.582557 #22680] DEBUG -- : 32384 inodes per group

                              D, [2011-04-11T13:34:48.582656 #22680] DEBUG -- : Superblock backups stored on blocks:

                              D, [2011-04-11T13:34:48.582743 #22680] DEBUG -- : 32768

                              D, [2011-04-11T13:34:48.582824 #22680] DEBUG -- :

                              D, [2011-04-11T13:34:48.590143 #22680] DEBUG -- : Writing inode tables: done

                              D, [2011-04-11T13:34:48.604573 #22680] DEBUG -- : Creating journal (4096 blocks): done

                              D, [2011-04-11T13:34:49.057286 #22680] DEBUG -- : Writing superblocks and filesystem accounting information: done

                              D, [2011-04-11T13:34:49.057431 #22680] DEBUG -- :

                              D, [2011-04-11T13:34:49.064842 #22680] DEBUG -- : This filesystem will be automatically checked every 35 mounts or

                              D, [2011-04-11T13:34:49.064948 #22680] DEBUG -- : 180 days, whichever comes first.  Use tune2fs -c or -i to override.

                              D, [2011-04-11T13:34:49.152254 #22680] DEBUG -- : Tuning filesystem on /dev/loop15

                              D, [2011-04-11T13:34:49.249258 #22680] DEBUG -- : tune2fs 1.41.12 (17-May-2010)

                              D, [2011-04-11T13:34:49.249504 #22680] DEBUG -- : Setting maximal mount count to -1

                              D, [2011-04-11T13:34:49.249767 #22680] DEBUG -- : Setting interval between checks to 0 seconds

                              D, [2011-04-11T13:34:49.250292 #22680] DEBUG -- : Creating mount point /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/tmp-config

                              D, [2011-04-11T13:34:49.250869 #22680] DEBUG -- : Mounting /dev/loop15 at /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/tmp-config

                              D, [2011-04-11T13:34:49.256748 #22680] DEBUG -- : Formating ext3 filesystem on /dev/loop11

                              D, [2011-04-11T13:34:49.258786 #22680] DEBUG -- : mke2fs 1.41.12 (17-May-2010)

                              D, [2011-04-11T13:34:49.259249 #22680] DEBUG -- : Filesystem label=_/tmp-eventlog

                              D, [2011-04-11T13:34:49.259338 #22680] DEBUG -- : OS type: Linux

                              D, [2011-04-11T13:34:49.259419 #22680] DEBUG -- : Block size=4096 (log=2)

                              D, [2011-04-11T13:34:49.259551 #22680] DEBUG -- : Fragment size=4096 (log=2)

                              D, [2011-04-11T13:34:49.259683 #22680] DEBUG -- : Stride=0 blocks, Stripe width=0 blocks

                              D, [2011-04-11T13:34:49.259765 #22680] DEBUG -- : 2464 inodes, 2441 blocks

                              D, [2011-04-11T13:34:49.259848 #22680] DEBUG -- : 24 blocks (0.98%) reserved for the super user

                              D, [2011-04-11T13:34:49.259927 #22680] DEBUG -- : First data block=0

                              D, [2011-04-11T13:34:49.260009 #22680] DEBUG -- : 1 block group

                              D, [2011-04-11T13:34:49.260088 #22680] DEBUG -- : 32768 blocks per group, 32768 fragments per group

                              D, [2011-04-11T13:34:49.260171 #22680] DEBUG -- : 2464 inodes per group

                              D, [2011-04-11T13:34:49.260251 #22680] DEBUG -- :

                              D, [2011-04-11T13:34:49.260333 #22680] DEBUG -- : Writing inode tables: done

                              D, [2011-04-11T13:34:49.263198 #22680] DEBUG -- : Creating journal (1024 blocks): done

                              D, [2011-04-11T13:34:49.441098 #22680] DEBUG -- : Writing superblocks and filesystem accounting information: done

                              D, [2011-04-11T13:34:49.441269 #22680] DEBUG -- :

                              D, [2011-04-11T13:34:49.441351 #22680] DEBUG -- : This filesystem will be automatically checked every 37 mounts or

                              D, [2011-04-11T13:34:49.441430 #22680] DEBUG -- : 180 days, whichever comes first.  Use tune2fs -c or -i to override.

                              D, [2011-04-11T13:34:49.444984 #22680] DEBUG -- : Tuning filesystem on /dev/loop11

                              D, [2011-04-11T13:34:49.507820 #22680] DEBUG -- : tune2fs 1.41.12 (17-May-2010)

                              D, [2011-04-11T13:34:49.508009 #22680] DEBUG -- : Setting maximal mount count to -1

                              D, [2011-04-11T13:34:49.508149 #22680] DEBUG -- : Setting interval between checks to 0 seconds

                              D, [2011-04-11T13:34:49.508437 #22680] DEBUG -- : Creating mount point /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/tmp-eventlog

                              D, [2011-04-11T13:34:49.508963 #22680] DEBUG -- : Mounting /dev/loop11 at /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/tmp-eventlog

                              D, [2011-04-11T13:34:49.512087 #22680] DEBUG -- : Formating ext3 filesystem on /dev/loop13

                              D, [2011-04-11T13:34:49.514521 #22680] DEBUG -- : mke2fs 1.41.12 (17-May-2010)

                              D, [2011-04-11T13:34:49.515309 #22680] DEBUG -- : Filesystem label=_/ubrc

                              D, [2011-04-11T13:34:49.515424 #22680] DEBUG -- : OS type: Linux

                              D, [2011-04-11T13:34:49.515544 #22680] DEBUG -- : Block size=4096 (log=2)

                              D, [2011-04-11T13:34:49.515741 #22680] DEBUG -- : Fragment size=4096 (log=2)

                              D, [2011-04-11T13:34:49.515852 #22680] DEBUG -- : Stride=0 blocks, Stripe width=0 blocks

                              D, [2011-04-11T13:34:49.515957 #22680] DEBUG -- : 4864 inodes, 4864 blocks

                              D, [2011-04-11T13:34:49.516061 #22680] DEBUG -- : 48 blocks (0.99%) reserved for the super user

                              D, [2011-04-11T13:34:49.516169 #22680] DEBUG -- : First data block=0

                              D, [2011-04-11T13:34:49.516275 #22680] DEBUG -- : Maximum filesystem blocks=8388608

                              D, [2011-04-11T13:34:49.516382 #22680] DEBUG -- : 1 block group

                              D, [2011-04-11T13:34:49.516509 #22680] DEBUG -- : 32768 blocks per group, 32768 fragments per group

                              D, [2011-04-11T13:34:49.516633 #22680] DEBUG -- : 4864 inodes per group

                              D, [2011-04-11T13:34:49.516780 #22680] DEBUG -- :

                              D, [2011-04-11T13:34:49.516889 #22680] DEBUG -- : Writing inode tables: done

                              D, [2011-04-11T13:34:49.518319 #22680] DEBUG -- : Creating journal (1024 blocks): done

                              D, [2011-04-11T13:34:49.699641 #22680] DEBUG -- : Writing superblocks and filesystem accounting information: done

                              D, [2011-04-11T13:34:49.699834 #22680] DEBUG -- :

                              D, [2011-04-11T13:34:49.699980 #22680] DEBUG -- : This filesystem will be automatically checked every 24 mounts or

                              D, [2011-04-11T13:34:49.700060 #22680] DEBUG -- : 180 days, whichever comes first.  Use tune2fs -c or -i to override.

                              D, [2011-04-11T13:34:49.702576 #22680] DEBUG -- : Tuning filesystem on /dev/loop13

                              D, [2011-04-11T13:34:49.758292 #22680] DEBUG -- : tune2fs 1.41.12 (17-May-2010)

                              D, [2011-04-11T13:34:49.758588 #22680] DEBUG -- : Setting maximal mount count to -1

                              D, [2011-04-11T13:34:49.758723 #22680] DEBUG -- : Setting interval between checks to 0 seconds

                              D, [2011-04-11T13:34:49.758869 #22680] DEBUG -- : Creating mount point /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/ubrc

                              D, [2011-04-11T13:34:49.759194 #22680] DEBUG -- : Mounting /dev/loop13 at /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/ubrc

                              D, [2011-04-11T13:34:49.763395 #22680] DEBUG -- : Writing mkinitrd config /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/etc/sysconfig/mkinitrd

                              D, [2011-04-11T13:35:25.380388 #22680] DEBUG -- : warning: setup-2.8.20-1.fc13.noarch: Header V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY

                              D, [2011-04-11T13:35:25.403154 #22680] DEBUG -- : ['/', '/tmp-config', '/tmp-eventlog', '/ubrc']

                              D, [2011-04-11T13:35:25.403284 #22680] DEBUG -- : Retrieving http://ftp.wcss.pl/pub/linux/fedora/linux/releases/13/Everything/i386/os/repodata/repomd.xml ...OK

                              D, [2011-04-11T13:35:25.403375 #22680] DEBUG -- : Retrieving http://ftp.icm.edu.pl/pub/Linux/fedora/linux/updates/13/i386/repodata/repomd.xml ...OK

                              D, [2011-04-11T13:35:25.596134 #22680] DEBUG -- : Installing: setup                        ##################### [  1/189]

                              D, [2011-04-11T13:35:25.728425 #22680] DEBUG -- : Installing: filesystem                   ##################### [  2/189]

                              D, [2011-04-11T13:35:25.767464 #22680] DEBUG -- : Installing: basesystem                   ##################### [  3/189]

                              D, [2011-04-11T13:35:25.774162 #22680] DEBUG -- : Installing: ca-certificates              ##################### [  4/189]

                              D, [2011-04-11T13:35:25.799113 #22680] DEBUG -- : Installing: fedora-release               ##################### [  5/189]

                              D, [2011-04-11T13:35:26.059513 #22680] DEBUG -- : Installing: ncurses-base                 ##################### [  6/189]

                              D, [2011-04-11T13:35:26.088966 #22680] DEBUG -- : Installing: tzdata                       ##################### [  7/189]

                              D, [2011-04-11T13:35:26.098122 #22680] DEBUG -- : Installing: rootfiles                    ##################### [  8/189]

                              D, [2011-04-11T13:35:29.251081 #22680] DEBUG -- : Installing: libgcc                       ##################### [  9/189]

                              D, [2011-04-11T13:35:31.156084 #22680] DEBUG -- : Installing: glibc-common                 ##################### [ 10/189]

                              D, [2011-04-11T13:35:31.809844 #22680] DEBUG -- : Installing: nss-softokn-freebl           ##################### [ 11/189]

                              D, [2011-04-11T13:35:31.890516 #22680] DEBUG -- : Installing: glibc                        ##################### [ 12/189]

                              D, [2011-04-11T13:35:32.018577 #22680] DEBUG -- : Installing: ncurses-libs                 ##################### [ 13/189]

                              D, [2011-04-11T13:35:32.040158 #22680] DEBUG -- : Installing: bash                         ##################### [ 14/189]

                              D, [2011-04-11T13:35:32.074557 #22680] DEBUG -- : Installing: zlib                         ##################### [ 15/189]

                              D, [2011-04-11T13:35:32.097220 #22680] DEBUG -- : Installing: info                         ##################### [ 16/189]

                              D, [2011-04-11T13:35:32.114534 #22680] DEBUG -- : Installing: audit-libs                   ##################### [ 17/189]

                              D, [2011-04-11T13:35:32.160209 #22680] DEBUG -- : Installing: popt                         ##################### [ 18/189]

                              D, [2011-04-11T13:35:32.227732 #22680] DEBUG -- : Installing: chkconfig                    ##################### [ 19/189]

                              D, [2011-04-11T13:35:32.250829 #22680] DEBUG -- : Installing: db4                          ##################### [ 20/189]

                              D, [2011-04-11T13:35:32.274491 #22680] DEBUG -- : Installing: libsepol                     ##################### [ 21/189]

                              D, [2011-04-11T13:35:32.306999 #22680] DEBUG -- : Installing: libselinux                   ##################### [ 22/189]

                              D, [2011-04-11T13:35:32.507273 #22680] DEBUG -- : Installing: gamin                        ##################### [ 23/189]

                              D, [2011-04-11T13:35:32.540947 #22680] DEBUG -- : Installing: glib2                        ##################### [ 24/189]

                              D, [2011-04-11T13:35:32.560750 #22680] DEBUG -- : Installing: libcom_err                   ##################### [ 25/189]

                              D, [2011-04-11T13:35:32.603001 #22680] DEBUG -- : Installing: bzip2-libs                   ##################### [ 26/189]

                              D, [2011-04-11T13:35:32.640950 #22680] DEBUG -- : Installing: sed                          ##################### [ 27/189]

                              D, [2011-04-11T13:35:32.679816 #22680] DEBUG -- : Installing: readline                     ##################### [ 28/189]

                              D, [2011-04-11T13:35:32.693427 #22680] DEBUG -- : Installing: nspr                         ##################### [ 29/189]

                              D, [2011-04-11T13:35:32.708686 #22680] DEBUG -- : Installing: libattr                      ##################### [ 30/189]

                              D, [2011-04-11T13:35:32.870487 #22680] DEBUG -- : Installing: libacl                       ##################### [ 31/189]

                              D, [2011-04-11T13:35:32.886438 #22680] DEBUG -- : Installing: shadow-utils                 ##################### [ 32/189]

                              D, [2011-04-11T13:35:32.898542 #22680] DEBUG -- : Installing: libcap                       ##################### [ 33/189]

                              D, [2011-04-11T13:35:32.967182 #22680] DEBUG -- : Installing: nss-util                     ##################### [ 34/189]

                              D, [2011-04-11T13:35:32.997895 #22680] DEBUG -- : Installing: file-libs                    ##################### [ 35/189]

                              D, [2011-04-11T13:35:33.019945 #22680] DEBUG -- : Installing: xz-libs                      ##################### [ 36/189]

                              D, [2011-04-11T13:35:33.054979 #22680] DEBUG -- : Installing: libgpg-error                 ##################### [ 37/189]

                              D, [2011-04-11T13:35:33.099484 #22680] DEBUG -- : Installing: elfutils-libelf              ##################### [ 38/189]

                              D, [2011-04-11T13:35:33.115129 #22680] DEBUG -- : Installing: libstdc++                    ##################### [ 39/189]

                              D, [2011-04-11T13:35:33.147578 #22680] DEBUG -- : Installing: libudev                      ##################### [ 40/189]

                              D, [2011-04-11T13:35:33.158800 #22680] DEBUG -- : Installing: dbus-libs                    ##################### [ 41/189]

                              D, [2011-04-11T13:35:33.182551 #22680] DEBUG -- : Installing: libuuid                      ##################### [ 42/189]

                              D, [2011-04-11T13:35:33.225467 #22680] DEBUG -- : Installing: libblkid                     ##################### [ 43/189]

                              D, [2011-04-11T13:35:33.260636 #22680] DEBUG -- : Installing: lua                          ##################### [ 44/189]

                              D, [2011-04-11T13:35:33.287924 #22680] DEBUG -- : Installing: sqlite                       ##################### [ 45/189]

                              D, [2011-04-11T13:35:33.337965 #22680] DEBUG -- : Installing: cyrus-sasl-lib               ##################### [ 46/189]

                              D, [2011-04-11T13:35:33.436832 #22680] DEBUG -- : Installing: iptables                     ##################### [ 47/189]

                              D, [2011-04-11T13:35:33.472365 #22680] DEBUG -- : Installing: gawk                         ##################### [ 48/189]

                              D, [2011-04-11T13:35:33.509986 #22680] DEBUG -- : Installing: tcp_wrappers-libs            ##################### [ 49/189]

                              D, [2011-04-11T13:35:33.560880 #22680] DEBUG -- : Installing: pcre                         ##################### [ 50/189]

                              D, [2011-04-11T13:35:33.599249 #22680] DEBUG -- : Installing: grep                         ##################### [ 51/189]

                              D, [2011-04-11T13:35:33.619167 #22680] DEBUG -- : Installing: libgcrypt                    ##################### [ 52/189]

                              D, [2011-04-11T13:35:33.629645 #22680] DEBUG -- : Installing: bzip2                        ##################### [ 53/189]

                              D, [2011-04-11T13:35:33.682984 #22680] DEBUG -- : Installing: libselinux-utils             ##################### [ 54/189]

                              D, [2011-04-11T13:35:33.725796 #22680] DEBUG -- : Installing: findutils                    ##################### [ 55/189]

                              D, [2011-04-11T13:35:33.755054 #22680] DEBUG -- : Installing: checkpolicy                  ##################### [ 56/189]

                              D, [2011-04-11T13:35:33.797314 #22680] DEBUG -- : Installing: cpio                         ##################### [ 57/189]

                              D, [2011-04-11T13:35:33.819835 #22680] DEBUG -- : Installing: libidn                       ##################### [ 58/189]

                              D, [2011-04-11T13:35:33.835776 #22680] DEBUG -- : Installing: libffi                       ##################### [ 59/189]

                              D, [2011-04-11T13:35:33.841122 #22680] DEBUG -- : Installing: sysvinit-tools               ##################### [ 60/189]

                              D, [2011-04-11T13:35:33.862442 #22680] DEBUG -- : Installing: libcap-ng                    ##################### [ 61/189]

                              D, [2011-04-11T13:35:33.886539 #22680] DEBUG -- : Installing: pth                          ##################### [ 62/189]

                              D, [2011-04-11T13:35:33.922907 #22680] DEBUG -- : Installing: expat                        ##################### [ 63/189]

                              D, [2011-04-11T13:35:33.960109 #22680] DEBUG -- : Installing: gobject-introspection        ##################### [ 64/189]

                              D, [2011-04-11T13:35:33.982705 #22680] DEBUG -- : Installing: dbus-glib                    ##################### [ 65/189]

                              D, [2011-04-11T13:35:33.996287 #22680] DEBUG -- : Installing: less                         ##################### [ 66/189]

                              D, [2011-04-11T13:35:34.034562 #22680] DEBUG -- : Installing: iptables-ipv6                ##################### [ 67/189]

                              D, [2011-04-11T13:35:34.057743 #22680] DEBUG -- : Installing: nss-softokn                  ##################### [ 68/189]

                              D, [2011-04-11T13:35:34.085307 #22680] DEBUG -- : Installing: grubby                       ##################### [ 69/189]

                              D, [2011-04-11T13:35:34.120380 #22680] DEBUG -- : Installing: libnih                       ##################### [ 70/189]

                              D, [2011-04-11T13:35:34.163716 #22680] DEBUG -- : Installing: upstart                      ##################### [ 71/189]

                              D, [2011-04-11T13:35:34.180810 #22680] DEBUG -- : Installing: gmp                          ##################### [ 72/189]

                              D, [2011-04-11T13:35:34.223702 #22680] DEBUG -- : Installing: libusb                       ##################### [ 73/189]

                              D, [2011-04-11T13:35:34.237671 #22680] DEBUG -- : Installing: elfutils-libs                ##################### [ 74/189]

                              D, [2011-04-11T13:35:34.266560 #22680] DEBUG -- : Installing: file                         ##################### [ 75/189]

                              D, [2011-04-11T13:35:34.322055 #22680] DEBUG -- : Installing: pinentry                     ##################### [ 76/189]

                              D, [2011-04-11T13:35:34.417387 #22680] DEBUG -- : Installing: MAKEDEV                      ##################### [ 77/189]

                              D, [2011-04-11T13:35:34.468545 #22680] DEBUG -- : Installing: tar                          ##################### [ 78/189]

                              D, [2011-04-11T13:35:34.474459 #22680] DEBUG -- : Installing: vim-minimal                  ##################### [ 79/189]

                              D, [2011-04-11T13:35:34.496517 #22680] DEBUG -- : Installing: libss                        ##################### [ 80/189]

                              D, [2011-04-11T13:35:34.583578 #22680] DEBUG -- : Installing: e2fsprogs-libs               ##################### [ 81/189]

                              D, [2011-04-11T13:35:34.599973 #22680] DEBUG -- : Installing: e2fsprogs                    ##################### [ 82/189]

                              D, [2011-04-11T13:35:34.617305 #22680] DEBUG -- : Installing: psmisc                       ##################### [ 83/189]

                              D, [2011-04-11T13:35:34.624933 #22680] DEBUG -- : Installing: db4-utils                    ##################### [ 84/189]

                              D, [2011-04-11T13:35:34.659496 #22680] DEBUG -- : Installing: which                        ##################### [ 85/189]

                              D, [2011-04-11T13:35:34.698121 #22680] DEBUG -- : Installing: diffutils                    ##################### [ 86/189]

                              D, [2011-04-11T13:35:34.785345 #22680] DEBUG -- : Installing: m4                           ##################### [ 87/189]

                              D, [2011-04-11T13:35:34.818191 #22680] DEBUG -- : Installing: libxml2                      ##################### [ 88/189]

                              D, [2011-04-11T13:35:34.844997 #22680] DEBUG -- : Installing: procmail                     ##################### [ 89/189]

                              D, [2011-04-11T13:35:34.882212 #22680] DEBUG -- : Installing: procps                       ##################### [ 90/189]

                              D, [2011-04-11T13:35:34.886154 #22680] DEBUG -- : Installing: ncurses                      ##################### [ 91/189]

                              D, [2011-04-11T13:35:34.902073 #22680] DEBUG -- : Installing: coreutils-libs               ##################### [ 92/189]

                              D, [2011-04-11T13:35:34.932101 #22680] DEBUG -- : Installing: gzip                         ##################### [ 93/189]

                              D, [2011-04-11T13:35:35.334141 #22680] DEBUG -- : Installing: cracklib                     ##################### [ 94/189]

                              D, [2011-04-11T13:35:35.771523 #22680] DEBUG -- : Installing: cracklib-dicts               ##################### [ 95/189]

                              D, [2011-04-11T13:35:35.932607 #22680] DEBUG -- : Installing: coreutils                    ##################### [ 96/189]

                              D, [2011-04-11T13:35:36.170000 #22680] DEBUG -- : Installing: pam                          ##################### [ 97/189]

                              D, [2011-04-11T13:35:36.256763 #22680] DEBUG -- : Installing: util-linux-ng                ##################### [ 98/189]

                              D, [2011-04-11T13:35:36.358248 #22680] DEBUG -- : Installing: module-init-tools            ##################### [ 99/189]

                              D, [2011-04-11T13:35:36.371972 #22680] DEBUG -- : Installing: nss                          ##################### [100/189]

                              D, [2011-04-11T13:35:36.762828 #22680] DEBUG -- : Installing: nss-sysinit                  ##################### [101/189]

                              D, [2011-04-11T13:35:36.827721 #22680] DEBUG -- : Installing: binutils                     ##################### [102/189]

                              D, [2011-04-11T13:35:36.837919 #22680] DEBUG -- : Installing: logrotate                    ##################### [103/189]

                              D, [2011-04-11T13:35:36.841150 #22680] DEBUG -- : Installing: dash                         ##################### [104/189]

                              D, [2011-04-11T13:35:36.846596 #22680] DEBUG -- : Installing: sgpio                        ##################### [105/189]

                              D, [2011-04-11T13:35:36.857414 #22680] DEBUG -- : Installing: gdbm                         ##################### [106/189]

                              D, [2011-04-11T13:35:36.869417 #22680] DEBUG -- : Installing: mingetty                     ##################### [107/189]

                              D, [2011-04-11T13:35:36.891819 #22680] DEBUG -- : Installing: plymouth-core-libs           ##################### [108/189]

                              D, [2011-04-11T13:35:36.917364 #22680] DEBUG -- : Installing: ustr                         ##################### [109/189]

                              D, [2011-04-11T13:35:36.930832 #22680] DEBUG -- : Installing: libsemanage                  ##################### [110/189]

                              D, [2011-04-11T13:35:36.946805 #22680] DEBUG -- : Installing: hesiod                       ##################### [111/189]

                              D, [2011-04-11T13:35:37.041932 #22680] DEBUG -- : Installing: keyutils-libs                ##################### [112/189]

                              D, [2011-04-11T13:35:37.223128 #22680] DEBUG -- : Installing: krb5-libs                    ##################### [113/189]

                              D, [2011-04-11T13:35:37.308795 #22680] DEBUG -- : Installing: openssl                      ##################### [114/189]

                              D, [2011-04-11T13:35:38.192640 #22680] DEBUG -- : Installing: python-libs                  ##################### [115/189]

                              D, [2011-04-11T13:35:38.271870 #22680] DEBUG -- : Installing: python                       ##################### [116/189]

                              D, [2011-04-11T13:35:38.353808 #22680] DEBUG -- : Installing: openldap                     ##################### [117/189]

                              D, [2011-04-11T13:35:38.375440 #22680] DEBUG -- : Installing: libuser                      ##################### [118/189]

                              D, [2011-04-11T13:35:38.387142 #22680] DEBUG -- : Installing: yum-metadata-parser          ##################### [119/189]

                              D, [2011-04-11T13:35:38.416892 #22680] DEBUG -- : Installing: libssh2                      ##################### [120/189]

                              D, [2011-04-11T13:35:38.451267 #22680] DEBUG -- : Installing: libcurl                      ##################### [121/189]

                              D, [2011-04-11T13:35:38.487162 #22680] DEBUG -- : Installing: curl                         ##################### [122/189]

                              D, [2011-04-11T13:35:38.582027 #22680] DEBUG -- : Installing: rpm-libs                     ##################### [123/189]

                              D, [2011-04-11T13:35:38.595787 #22680] DEBUG -- : Installing: rpm                          ##################### [124/189]

                              D, [2011-04-11T13:35:38.614973 #22680] DEBUG -- : Installing: rpm-python                   ##################### [125/189]

                              D, [2011-04-11T13:35:38.829639 #22680] DEBUG -- : Installing: python-pycurl                ##################### [126/189]

                              D, [2011-04-11T13:35:38.870650 #22680] DEBUG -- : Installing: gnupg2                       ##################### [127/189]

                              D, [2011-04-11T13:35:38.903591 #22680] DEBUG -- : Installing: gpgme                        ##################### [128/189]

                              D, [2011-04-11T13:35:38.908548 #22680] DEBUG -- : Installing: pygpgme                      ##################### [129/189]

                              D, [2011-04-11T13:35:38.919503 #22680] DEBUG -- : Installing: fipscheck-lib                ##################### [130/189]

                              D, [2011-04-11T13:35:38.927469 #22680] DEBUG -- : Installing: fipscheck                    ##################### [131/189]

                              D, [2011-04-11T13:35:38.943063 #22680] DEBUG -- : Installing: pciutils-libs                ##################### [132/189]

                              D, [2011-04-11T13:35:39.008174 #22680] DEBUG -- : Installing: linux-atm-libs               ##################### [133/189]

                              D, [2011-04-11T13:35:39.071748 #22680] DEBUG -- : Installing: iproute                      ##################### [134/189]

                              D, [2011-04-11T13:35:39.107393 #22680] DEBUG -- : Installing: slang                        ##################### [135/189]

                              D, [2011-04-11T13:35:39.130498 #22680] DEBUG -- : Installing: newt                         ##################### [136/189]

                              D, [2011-04-11T13:35:39.138794 #22680] DEBUG -- : Installing: newt-python                  ##################### [137/189]

                              D, [2011-04-11T13:35:39.175640 #22680] DEBUG -- : Installing: hostname                     ##################### [138/189]

                              D, [2011-04-11T13:35:39.242369 #22680] DEBUG -- : Installing: net-tools                    ##################### [139/189]

                              D, [2011-04-11T13:35:39.255678 #22680] DEBUG -- : Installing: authconfig                   ##################### [140/189]

                              D, [2011-04-11T13:35:39.278873 #22680] DEBUG -- : Installing: efibootmgr                   ##################### [141/189]

                              D, [2011-04-11T13:35:39.331355 #22680] DEBUG -- : Installing: passwd                       ##################### [142/189]

                              D, [2011-04-11T13:35:39.381762 #22680] DEBUG -- : Installing: sudo                         ##################### [143/189]

                              D, [2011-04-11T13:35:39.412140 #22680] DEBUG -- : Installing: audit                        ##################### [144/189]

                              D, [2011-04-11T13:35:39.425101 #22680] DEBUG -- : Installing: acl                          ##################### [145/189]

                              D, [2011-04-11T13:35:39.431407 #22680] DEBUG -- : Installing: attr                         ##################### [146/189]

                              D, [2011-04-11T13:35:39.544552 #22680] DEBUG -- : Installing: setserial                    ##################### [147/189]

                              D, [2011-04-11T13:35:39.571382 #22680] DEBUG -- : Installing: fedora-logos                 ##################### [148/189]

                              D, [2011-04-11T13:35:39.595581 #22680] DEBUG -- : Installing: plymouth-scripts             ##################### [149/189]

                              D, [2011-04-11T13:35:39.605491 #22680] DEBUG -- : Installing: python-urlgrabber            ##################### [150/189]

                              D, [2011-04-11T13:35:39.728811 #22680] DEBUG -- : Installing: python-iniparse              ##################### [151/189]

                              D, [2011-04-11T13:35:39.888437 #22680] DEBUG -- : Installing: hwdata                       ##################### [152/189]

                              D, [2011-04-11T13:35:40.013207 #22680] DEBUG -- : Installing: yum                          ##################### [153/189]

                              D, [2011-04-11T13:35:40.118949 #22680] DEBUG -- : Installing: grub                         ##################### [154/189]

                              D, [2011-04-11T13:35:40.151553 #22680] DEBUG -- : Installing: system-config-firewall-base  ##################### [155/189]

                              D, [2011-04-11T13:35:40.354069 #22680] DEBUG -- : Installing: iputils                      ##################### [156/189]

                              D, [2011-04-11T13:35:40.514132 #22680] DEBUG -- : Installing: initscripts                  ##################### [157/189]

                              D, [2011-04-11T13:35:40.564120 #22680] DEBUG -- : Installing: udev                         ##################### [158/189]

                              D, [2011-04-11T13:35:40.588032 #22680] DEBUG -- : Installing: device-mapper-libs           ##################### [159/189]

                              D, [2011-04-11T13:35:40.595172 #22680] DEBUG -- : Installing: device-mapper                ##################### [160/189]

                              D, [2011-04-11T13:35:40.610646 #22680] DEBUG -- : Installing: device-mapper-event-libs     ##################### [161/189]

                              D, [2011-04-11T13:35:40.685263 #22680] DEBUG -- : Installing: device-mapper-event          ##################### [162/189]

                              D, [2011-04-11T13:35:40.764502 #22680] DEBUG -- : Installing: lvm2-libs                    ##################### [163/189]

                              D, [2011-04-11T13:35:40.790825 #22680] DEBUG -- : Installing: lvm2                         ##################### [164/189]

                              D, [2011-04-11T13:35:40.819461 #22680] DEBUG -- : Installing: kpartx                       ##################### [165/189]

                              D, [2011-04-11T13:35:40.831248 #22680] DEBUG -- : Installing: dmraid                       ##################### [166/189]

                              D, [2011-04-11T13:35:40.844114 #22680] DEBUG -- : Installing: dmraid-events                ##################### [167/189]

                              D, [2011-04-11T13:35:40.870862 #22680] DEBUG -- : Installing: cryptsetup-luks-libs         ##################### [168/189]

                              D, [2011-04-11T13:35:40.907871 #22680] DEBUG -- : Installing: cryptsetup-luks              ##################### [169/189]

                              D, [2011-04-11T13:35:41.131217 #22680] DEBUG -- : Installing: mdadm                        ##################### [170/189]

                              D, [2011-04-11T13:35:41.188560 #22680] DEBUG -- : Installing: kbd                          ##################### [171/189]

                              D, [2011-04-11T13:35:41.303824 #22680] DEBUG -- : Installing: cyrus-sasl                   ##################### [172/189]

                              D, [2011-04-11T13:35:41.427890 #22680] DEBUG -- : Installing: sendmail                     ##################### [173/189]

                              D, [2011-04-11T13:35:41.457884 #22680] DEBUG -- : Installing: openssh                      ##################### [174/189]

                              D, [2011-04-11T13:35:41.612681 #22680] DEBUG -- : Installing: libcgroup                    ##################### [175/189]

                              D, [2011-04-11T13:35:41.707436 #22680] DEBUG -- : Installing: policycoreutils              ##################### [176/189]

                              D, [2011-04-11T13:35:41.745776 #22680] DEBUG -- : Installing: rsyslog                      ##################### [177/189]

                              D, [2011-04-11T13:35:41.776793 #22680] DEBUG -- : Installing: cronie-anacron               ##################### [178/189]

                              D, [2011-04-11T13:35:41.803747 #22680] DEBUG -- : Installing: cronie                       ##################### [179/189]

                              D, [2011-04-11T13:35:41.858651 #22680] DEBUG -- : Installing: crontabs                     ##################### [180/189]

                              D, [2011-04-11T13:35:41.907423 #22680] DEBUG -- : Installing: openssh-server               ##################### [181/189]

                              D, [2011-04-11T13:35:42.141091 #22680] DEBUG -- : Installing: dhclient                     ##################### [182/189]

                              D, [2011-04-11T13:35:42.723358 #22680] DEBUG -- : Installing: selinux-policy               ##################### [183/189]

                              D, [2011-04-11T13:35:42.993829 #22680] DEBUG -- : Installing: linux-firmware               ##################### [184/189]

                              D, [2011-04-11T13:36:07.431476 #22680] DEBUG -- : Installing: selinux-policy-targeted      ##################### [185/189]

                              D, [2011-04-11T13:36:07.470234 #22680] DEBUG -- : Installing: libdrm                       ##################### [186/189]

                              D, [2011-04-11T13:36:07.510192 #22680] DEBUG -- : Installing: plymouth                     ##################### [187/189]

                              D, [2011-04-11T13:36:10.058606 #22680] DEBUG -- : Installing: dracut                       ##################### [188/189]

                              D, [2011-04-11T13:36:13.531222 #22680] DEBUG -- : grep: /usr/share/plymouth/themes/.plymouth/.plymouth.plymouth: No such file or directory

                              D, [2011-04-11T13:36:13.531977 #22680] DEBUG -- : The default plymouth plugin () doesn't exist

                              D, [2011-04-11T13:36:26.745369 #22680] DEBUG -- : Writing grub /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/boot/grub/device.map

                              D, [2011-04-11T13:36:26.763491 #22680] DEBUG -- : Writing grub config /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/boot/grub/grub.conf

                              D, [2011-04-11T13:36:26.763895 #22680] DEBUG -- : Copying /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/usr/share/grub/i386-redhat/e2fs_stage1_5 to /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/boot/grub/e2fs_stage1_5

                              D, [2011-04-11T13:36:26.764305 #22680] DEBUG -- : Copying /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/usr/share/grub/i386-redhat/stage1 to /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/boot/grub/stage1

                              D, [2011-04-11T13:36:26.764768 #22680] DEBUG -- : Copying /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/usr/share/grub/i386-redhat/stage2 to /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/boot/grub/stage2

                              D, [2011-04-11T13:36:35.094924 #22680] DEBUG -- : Installing grub to /dev/loop1

                              D, [2011-04-11T13:36:35.167422 #22680] DEBUG -- : Probing devices to guess BIOS drives. This may take a long time.

                              D, [2011-04-11T13:36:35.452173 #22680] DEBUG -- : Installing: kernel                       ##################### [189/189]

                              D, [2011-04-11T13:36:35.452493 #22680] DEBUG -- :

                              D, [2011-04-11T13:36:35.452818 #22680] DEBUG -- : GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

                              D, [2011-04-11T13:36:35.453055 #22680] DEBUG -- :

                              D, [2011-04-11T13:36:35.453301 #22680] DEBUG -- : [ Minimal BASH-like line editing is supported.  For the first word, TAB

                              D, [2011-04-11T13:36:35.453549 #22680] DEBUG -- : lists possible command completions.  Anywhere else TAB lists the possible

                              D, [2011-04-11T13:36:35.453780 #22680] DEBUG -- : completions of a device/filename.]

                              D, [2011-04-11T13:36:35.454005 #22680] DEBUG -- : grub> device (hd0) /dev/loop1

                              D, [2011-04-11T13:36:35.454173 #22680] DEBUG -- : grub> root (hd0,1)

                              D, [2011-04-11T13:36:35.454288 #22680] DEBUG -- : Filesystem type is ext2fs, partition type 0x83

                              D, [2011-04-11T13:36:35.454404 #22680] DEBUG -- : grub> setup --stage2=/root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/boot/grub/stage2 --prefix=/boot/grub  (hd0)

                              D, [2011-04-11T13:36:35.454531 #22680] DEBUG -- : Checking if "/boot/grub/stage1" exists... yes

                              D, [2011-04-11T13:36:35.454792 #22680] DEBUG -- : Checking if "/boot/grub/stage2" exists... yes

                              D, [2011-04-11T13:36:35.455011 #22680] DEBUG -- : Checking if "/boot/grub/e2fs_stage1_5" exists... yes

                              D, [2011-04-11T13:36:35.455222 #22680] DEBUG -- : Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... failed (this is not fatal)

                              D, [2011-04-11T13:36:35.455439 #22680] DEBUG -- : Running "embed /boot/grub/e2fs_stage1_5 (hd0,1)"... failed (this is not fatal)

                              D, [2011-04-11T13:36:35.455674 #22680] DEBUG -- : Running "install --stage2=/root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/boot/grub/stage2 /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/grub.conf "... succeeded

                              D, [2011-04-11T13:36:35.455900 #22680] DEBUG -- : Done.

                              D, [2011-04-11T13:36:35.456115 #22680] DEBUG -- : grub> quit

                              D, [2011-04-11T13:36:40.940106 #22680] DEBUG -- : Unmounting directory /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/ubrc

                              D, [2011-04-11T13:36:40.948954 #22680] DEBUG -- : Unmounting directory /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/tmp-eventlog

                              D, [2011-04-11T13:36:40.956882 #22680] DEBUG -- : Unmounting directory /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/tmp-config

                              D, [2011-04-11T13:36:40.965055 #22680] DEBUG -- : Unmounting directory /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/install_root/

                              D, [2011-04-11T13:36:41.085099 #22680] DEBUG -- : Removing compat symlinks

                              D, [2011-04-11T13:36:41.085422 #22680] DEBUG -- : Unmapping /dev/loop1

                              D, [2011-04-11T13:36:41.125548 #22680] DEBUG -- : Losetup remove /dev/loop1

                              D, [2011-04-11T13:36:41.133525 #22680] DEBUG -- : moving disks to stage location

                              D, [2011-04-11T13:36:41.133962 #22680] DEBUG -- : moving /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/tmp-oXZ8bs/hdd-test-sda.raw to /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/out/hdd-test-sda.raw

                              D, [2011-04-11T13:36:41.135023 #22680] DEBUG -- : writing image XML to /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/out/hdd-test.xml

                              D, [2011-04-11T13:36:41.135466 #22680] DEBUG -- : creating destination dir: build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/hdd-test

                              D, [2011-04-11T13:36:41.135950 #22680] DEBUG -- : moving /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/out/hdd-test-sda.raw to build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/hdd-test/hdd-test-sda.raw

                              D, [2011-04-11T13:36:41.136221 #22680] DEBUG -- : moving /root/build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/imgcreate-feMgKA/out/hdd-test.xml to build/appliances/i686/fedora/13/hdd-test/fedora-plugin/tmp/hdd-test/hdd-test.xml

                              D, [2011-04-11T13:36:41.137260 #22680] DEBUG -- :

                              D, [2011-04-11T13:36:41.137530 #22680] DEBUG -- :

                              D, [2011-04-11T13:36:41.137848 #22680] DEBUG -- : Finished

                              D, [2011-04-11T13:36:41.167769 #22680] DEBUG -- : Preparing guestfs...

                              D, [2011-04-11T13:36:41.180428 #22680] DEBUG -- : Launching guestfs...

                              F, [2011-04-11T13:36:46.008000 #22680] FATAL -- : sh: /sbin/e2label: Attempt to read block from filesystem resulted in short read while trying to open /dev/vda4

                              Couldn't find valid filesystem superblock. (Guestfs::Error)

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:66:in `sh_original'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:66:in `sh'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `send'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:35:in `method_missing'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:52:in `redirect_streams'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:34:in `method_missing'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:247:in `mount_partitions'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:245:in `each'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:245:in `mount_partitions'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:186:in `execute'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/guestfs-helper.rb:125:in `customize'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/helpers/image-helper.rb:159:in `customize'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/os/rpm-based/rpm-based-os-plugin.rb:83:in `build_with_appliance_creator'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/os/fedora/fedora-plugin.rb:44:in `execute'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/plugins/base-plugin.rb:131:in `run'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:108:in `execute_os_plugin'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:82:in `execute_plugin_chain'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/lib/boxgrinder-build/appliance.rb:93:in `create'

                              /usr/lib/ruby/gems/1.8/gems/boxgrinder-build-0.9.0/bin/boxgrinder-build:185

                              /usr/bin/boxgrinder-build:19:in `load'

                              /usr/bin/boxgrinder-build:19

                              closing guestfs handle 0x12f9cc0 (state 2)

                              umount_allsend_to_daemon: 0x12f9cc0 g->state = 3, n = 44

                              proc 111 (sh) took 0.01 seconds

                              recv_from_daemon: 0x12f9cc0 g->state = 3, size_rtn = 0x7fff2eb16f0c, buf_rtn = 0x7fff2eb16f00

                              mount

                              umount /sysroot/tmp-eventlog

                              umount /sysroot/ubrc

                              umount /sysroot

                              proc 47 (umount_all) took 0.03 seconds

                              = 0

                              syncsend_to_daemon: 0x12f9cc0 g->state = 3, n = 44

                              recv_from_daemon: 0x12f9cc0 g->state = 3, size_rtn = 0x7fff2eb16f0c, buf_rtn = 0x7fff2eb16f00

                              = 0

                              kill_subprocesssending SIGTERM to process 29013

                              = 0

                              • 12. Re: partitions
                                goldmann

                                Hi,

                                 

                                This issue exists because appliance-tools adds an extended partition after it recognizes more than 3 (sic!) partitions defined, which is of courses wrong. It creates then an extended partition. As I'm trying to read label from an extended partition - it fails because there is no label on it. With 0.9.1+ (not released yet) the mounting process is totally redesigned, but it still fails, so I created an issue: https://issues.jboss.org/browse/BGBUILD-196

                                 

                                Please watch the issue to see when it will be fixed and try nightly builds then to confirm it works. Another workaround is to use <= 3 partitions.

                                 

                                --Marek

                                • 13. Re: partitions
                                  goldmann

                                  P.S. When reporting libguestfs issues, please use trace log level (--trace) as this is the level where all libguestfs messages are being saved and it makes much easier to locate the issue.

                                   

                                  Thanks!

                                   

                                  --Marek

                                  • 14. Re: partitions
                                    goldmann
                                    1 2 Previous Next