• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

multiple disk problem

Scheduled Pinned Locked Moved Solved
FOG Problems
2
22
2.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    badhonsoam
    last edited by Aug 19, 2019, 7:23 PM

    i have centos fog server. i am pulling image from ubuntu 16.04 server with has multiple disk. i am selecting image option all partition multiple disk. but everytime the second disk showing ( reading failed
    reading partition table /dev/vdb … failed

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Aug 19, 2019, 8:47 PM

      @badhonsoam Please post a picture of the error!

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • B
        badhonsoam
        last edited by Aug 19, 2019, 9:03 PM

        ![alt text](0319589a-936f-46c0-afb1-efb50e2409c5-image.png image url)

        1 Reply Last reply Reply Quote 0
        • B
          badhonsoam
          last edited by Aug 19, 2019, 9:16 PM

          check reading /dev/vdc and /vdb

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Aug 20, 2019, 5:08 AM

            @badhonsoam Do I get this correct? You have installed ubuntu 16.04 server within that VM you want to capture? So I am wondering what is on that second disk?

            Please boot the VM to it’s OS and run the command parted -l. Take a picture of the output and post here. If parted is not installed you can also run fdisk -l…

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            B 1 Reply Last reply Aug 20, 2019, 5:53 AM Reply Quote 0
            • B
              badhonsoam @Sebastian Roth
              last edited by Aug 20, 2019, 5:53 AM

              @Sebastian-Roth
              This is the situation, we have a vm of ubuntu 16.04. which has 3 separate HDD called /dev/vda, /dev/vdb and /dev/vdc
              we want capture the disk image and provision in another platform. step-1, we created a image os: linux
              ![alt text](808134d2-7f47-476a-aeab-ac3660eb1066-image.png image url)

              then gave the capture command

              but it only capturing 1st disk as u see my previous post . that’s the issue
              i need all 3 disk to capture

              1 Reply Last reply Reply Quote 0
              • B
                badhonsoam
                last edited by Aug 20, 2019, 6:17 AM

                @Sebastian-Roth i just did this with multi-disk windows VM . its ok and working. but in in linux vm we are having this issue.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Aug 20, 2019, 7:42 AM

                  @badhonsoam I am still not convinced you have data on the second and third disk - not something FOG can see. Possibly you are using some kind of software RAID or LVM or whatever???

                  Again: Please boot the VM to it’s OS and run the command parted -l. Take a picture of the output and post here. If parted is not installed you can also run fdisk -l…

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  B 1 Reply Last reply Aug 20, 2019, 8:13 AM Reply Quote 0
                  • B
                    badhonsoam @Sebastian Roth
                    last edited by Aug 20, 2019, 8:13 AM

                    @Sebastian-Roth check
                    4907d781-dff2-418c-bb1d-b15b399873a2-image.png

                    details
                    31b738f1-fa94-4ac6-92c8-ba00fd8e2797-image.png

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Aug 20, 2019, 5:20 AM Aug 20, 2019, 11:19 AM

                      @badhonsoam You have ceph on the second and third disk. This is a somewhat special filesystem. Not something FOG can handle out of the box. If you are really keen to get this added to FOG you need to engage and work on this. FOG is open source and everyone can join in and add the features needed.

                      Allow me one more hint: In the image settings you posted in the picture I see that you use “Partimage” as Image Manager. Is this for a good reason? Please chose “Partclone” here if you don’t have good reasons to use the old “Partimage” method! I think there was a bug in FOG 1.5.5 that on fresh new installs it would select “Partimage” as default but this has been fixed since.

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Aug 20, 2019, 11:32 AM

                        @badhonsoam Just had an idea what you could try as a workaround:

                        • Create three new image definitions (names img_vda, img_vdb and img_vdc)
                        • Set img_vda to type “Multiple Partition - Single Disk” but img_vdb and img_vdc to “Raw Image”
                        • Edit the host settings and set Primary Disk option to /dev/vda and Image Association to img_vda to and do a capture the first drive.
                        • Edit the host settings and set Primary Disk option to /dev/vdb and Image Association to img_vdb to and do a capture the second drive.
                        • Edit the host settings and set Primary Disk option to /dev/vdc and Image Association to img_vdc to and do a capture the third drive.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        B 1 Reply Last reply Aug 21, 2019, 5:59 AM Reply Quote 0
                        • B
                          badhonsoam @Sebastian Roth
                          last edited by Aug 21, 2019, 5:59 AM

                          @Sebastian-Roth

                          on this step

                          Edit the host settings and set Primary Disk option to /dev/vdb and Image Association to img_vdb to and do a capture the second drive.

                          05e4abd0-6120-410a-8856-7b24336421d6-image.png

                          B 1 Reply Last reply Aug 22, 2019, 5:29 AM Reply Quote 0
                          • B
                            badhonsoam @badhonsoam
                            last edited by Aug 22, 2019, 5:29 AM

                            @Sebastian-Roth any suggestion

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Sebastian Roth Aug 21, 2019, 11:57 PM Aug 22, 2019, 5:56 AM

                              @badhonsoam Too bad I didn’t check the actual script code when I came up with this idea to see if this could actually work. Seems like FOS needs to see partitions to be able to capture anything.

                              As I hope this might help you I did “quick-fix” this and build a new init file for you: http://fogproject.org/inits/init_allow-non-partition.xz

                              Rename the original init.xz in /var/www/html/fog/service/ipxe/ on your FOG server and put the newly downloaded as init.xz in that same directory.

                              With that new init file you need to manually change one of the FOG settings. Go to the FOG web UI -> FOG Configuration -> FOG Settings -> FTP Server and increase KERNEL RAMDISK SIZE from 127000 to 275000.

                              If you run into some compatibility issue with the kernel, try downloading the latest here: https://fogproject.org/kernels/ (or through the FOG web UI)

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              B 3 Replies Last reply Aug 26, 2019, 9:34 AM Reply Quote 0
                              • B
                                badhonsoam @Sebastian Roth
                                last edited by Aug 26, 2019, 9:34 AM

                                @Sebastian-Roth said in multiple disk problem:

                                SIZE

                                as you asked i tried like this which is showing below error like previous
                                f261b258-7fce-4f20-acf2-243a4f018409-image.png

                                1 Reply Last reply Reply Quote 0
                                • B
                                  badhonsoam @Sebastian Roth
                                  last edited by Aug 26, 2019, 11:46 AM

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    badhonsoam @Sebastian Roth
                                    last edited by Aug 26, 2019, 12:16 PM

                                    This post is deleted!
                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Sebastian Roth Moderator
                                      last edited by Aug 26, 2019, 12:20 PM

                                      @badhonsoam See there is a slight difference between the messages. This time it printed “A warning has been detected!” instead of “An error has been detected!”.

                                      It should sit at the warning for 60 seconds and then go ahead! So you just need to be patient enough and leave it.

                                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by Aug 26, 2019, 12:22 PM

                                        @badhonsoam said in multiple disk problem:

                                        is their any issue with lvm disk?

                                        As I told you ceph filesystem is something very special. As well it uses LVM which FOG is not able to handle natively. Because of that I told you to try using RAW image type and modified the init for you.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        B 1 Reply Last reply Aug 26, 2019, 12:32 PM Reply Quote 0
                                        • B
                                          badhonsoam @Sebastian Roth
                                          last edited by Aug 26, 2019, 12:32 PM

                                          @Sebastian-Roth i am trying another vm doesnot contain ceph osd

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            10/22
                                            Last post

                                          139

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project