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

db_root: cannot open: /etc/target

Scheduled Pinned Locked Moved Solved
FOG Problems
4
7
1.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.
  • C
    cary1102
    last edited by cary1102 Mar 6, 2019, 12:37 PM Mar 6, 2019, 6:31 PM

    After getting a device to start capturing an image I am prompted by this error:
    db_root: cannot open: /etc/target
    I am new to Ubuntu and I need some help here. Thanks

    My setup is:
    Dell R710
    Ubuntu 16.04 server
    2 drives in RAID 0

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Mar 6, 2019, 7:05 PM

      You’re not giving us the full information.

      The message as you see it is not what’s causing your problem.

      A picture of the error in context will be much more useful than a single line that you’re seeing on a screen.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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 Mar 7, 2019, 10:48 PM

        As this has been asked a couple of times now and we also have an issue open in github I though I might look into this.

        It’s kind of strange that I still get the error even if I add that directory to the init file. I have had a look a the kernel code and can’t see why this fails. Possibly it’s because our root is not on a disk but in RAM? I am not sure. Shouldn’t make a difference really.

        Then I had a closer look at which part of the kernel that is. It’s within the SCSI target driver. See more information about it here: https://lwn.net/Articles/424004/ and https://en.wikipedia.org/wiki/LIO_(SCSI_target)

        I can’t imagine anyone would need this within the FOS system at all. @Tom-Elliott @george1421 What do you guys think. We might just remove CONFIG_TARGET_CORE from our kernel config and that’s 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

        T G 2 Replies Last reply Mar 7, 2019, 11:50 PM Reply Quote 0
        • T
          Tom Elliott @Sebastian Roth
          last edited by Mar 7, 2019, 11:50 PM

          @Sebastian-Roth I think it’s worth it. I can’t imagine a scenario where you’d be putting an image on an iscsi target.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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 1
          • G
            george1421 Moderator @Sebastian Roth
            last edited by Mar 8, 2019, 1:30 AM

            @Sebastian-Roth I can’t think of any reason why or even how we could pass iscsi target information to FOS. FOS uses NFS file share. I can’t think of an imaging reason why we would want to use a block level device that can’t be shared with other FOS imaging targets at the same time. (I know its a bit rambley way of saying take it out its not needed and only causes confusion with the imaging techs)

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 2
            • S
              Sebastian Roth Moderator
              last edited by Mar 8, 2019, 11:44 AM

              @cary1102 Sorry for spoiling your post! Hope you don’t mind the quick discussion on the db_root warning issue. Will be fixed soon although it’s not causing any problems.

              Please help us with some more information on what you see after the db_root warning.

              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 1
              • C
                cary1102
                last edited by Mar 11, 2019, 5:00 PM

                I have since messed with my setup and no longer have the error. Sorry but I did not get a screenshot of the warning.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                1 / 1
                • First post
                  3/7
                  Last post

                223

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project