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

Ubuntu Help - Boot Problem #N00b

Scheduled Pinned Locked Moved Solved
Linux Problems
3
27
4.4k
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.
  • R
    RogerBrownTDL @Sebastian Roth
    last edited by Mar 6, 2023, 10:00 PM

    @Sebastian-Roth So obviously as a Linux noob, I know very little… I’m purely (I know, insert puke emoji here) a Windows Sysadmin. If I understand it correctly the way i’ve got it setup is like having a single big C:\ and all i’m wanting to do is get the entire fog server to see it all rather than just a partition of it… If I follow that command
    “lvextend --extents +100%FREE ubuntu-vg/ubuntu-lv --resizefs”
    Will it do that so that the full 500gb would be visible and the images stored remain intact?

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Mar 6, 2023, 10:11 PM

      @RogerBrownTDL said in Ubuntu Help - Boot Problem #N00b:

      Will it do that so that the full 500gb would be visible and the images stored remain intact?

      Yes! Although I am not a 100% sure the filesystem resize (to full size) will work while the system is running. Should work but I can’t promise you it will. As well just for safety reasons I always suggest for people to take a backup copy before doing these kind of operations on a production server. Should be really easy taking a snapshot in Hyper-V before going ahead.

      The other option I was talking about would be like adding a D:\ drive and moving all the images to that new partition. As I said it’s wise on the one hand so images can’t fill up your important C:\ drive (with the database on it) but on the other side you waste free space on C:…

      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

      R 1 Reply Last reply Mar 6, 2023, 10:16 PM Reply Quote 0
      • R
        RogerBrownTDL @Sebastian Roth
        last edited by Mar 6, 2023, 10:16 PM

        @Sebastian-Roth further info print i’ve got if this makes more sense:
        root@tie-fogdeploy-01:~# sudo parted /dev/sda unit MiB print
        Model: Msft Virtual Disk (scsi)
        Disk /dev/sda: 512000MiB
        Sector size (logical/physical): 512B/4096B
        Partition Table: gpt
        Disk Flags:

        Number Start End Size File system Name Flags
        1 1.00MiB 2.00MiB 1.00MiB bios_grub
        2 2.00MiB 2050MiB 2048MiB ext4
        3 2050MiB 511999MiB 509949MiB

        If the system isnt running, surely I wouldnt be able to do anything, so it needs to be online?

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth Mar 6, 2023, 4:20 PM Mar 6, 2023, 10:19 PM

          @RogerBrownTDL said in Ubuntu Help - Boot Problem #N00b:

          If the system isnt running, surely I wouldnt be able to do anything, so it needs to be online?

          Well, you can boot into a Live Linux ISO (Ubuntu or many others) to get to a command shell and do such things with the OS on disk not running. But I think you are fine doing it live after taking a snapshot backup.

          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

          R 1 Reply Last reply Mar 6, 2023, 10:24 PM Reply Quote 0
          • R
            RogerBrownTDL @Sebastian Roth
            last edited by Mar 6, 2023, 10:24 PM

            @Sebastian-Roth Thanks my friend, snapshot taken in hyper-v and command run… Stupid Q now. How do I check if it’s worked 😆

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Mar 6, 2023, 10:28 PM

              @RogerBrownTDL Reboot and take a look at the disk space with df -h.

              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

              R 1 Reply Last reply Mar 6, 2023, 10:32 PM Reply Quote 0
              • R
                RogerBrownTDL @Sebastian Roth
                last edited by Mar 6, 2023, 10:32 PM

                @Sebastian-Roth root@tie-fogdeploy-01:~# df -h
                Filesystem Size Used Avail Use% Mounted on
                udev 5.7G 0 5.7G 0% /dev
                tmpfs 1.2G 1.1M 1.2G 1% /run
                /dev/mapper/ubuntu–vg-ubuntu–lv 490G 86G 384G 19% /
                tmpfs 5.8G 0 5.8G 0% /dev/shm
                tmpfs 5.0M 0 5.0M 0% /run/lock
                tmpfs 5.8G 0 5.8G 0% /sys/fs/cgroup
                /dev/loop0 92M 92M 0 100% /snap/lxd/23991
                /dev/loop4 50M 50M 0 100% /snap/snapd/17950
                /dev/loop2 92M 92M 0 100% /snap/lxd/24061
                /dev/loop3 64M 64M 0 100% /snap/core20/1778
                /dev/loop1 64M 64M 0 100% /snap/core20/1822
                /dev/loop5 50M 50M 0 100% /snap/snapd/18357
                /dev/sda2 2.0G 207M 1.6G 12% /boot
                tmpfs 1.2G 0 1.2G 0% /run/user/0
                root@tie-fogdeploy-01:~#
                i’m guessing /dev/mapper/ubuntu–vg-ubuntu–lv 490G 86G 384G 19% / means its worked?

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth Mar 6, 2023, 4:39 PM Mar 6, 2023, 10:38 PM

                  @RogerBrownTDL said in Ubuntu Help - Boot Problem #N00b:

                  Filesystem                         Size  Used Avail Use% Mounted on
                  udev                               5.7G     0  5.7G   0% /dev
                  tmpfs                              1.2G  1.1M  1.2G   1% /run
                  /dev/mapper/ubuntu–vg-ubuntu–lv    490G   86G  384G  19% /
                  

                  Nice, that looks great.

                  Marking as fixed.

                  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

                  R L 2 Replies Last reply Mar 6, 2023, 10:41 PM Reply Quote 0
                  • [[undefined-on, S Sebastian Roth, Mar 6, 2023, 10:39 PM]]
                  • R
                    RogerBrownTDL @Sebastian Roth
                    last edited by Mar 6, 2023, 10:41 PM

                    @Sebastian-Roth Thanks friend ❤ Legendary!

                    1 Reply Last reply Reply Quote 0
                    • L
                      lukebarone @Sebastian Roth
                      last edited by Mar 8, 2023, 12:06 AM

                      @Sebastian-Roth I didn’t know about the 100% option - I like that!

                      1 Reply Last reply Reply Quote 0
                      • S Sebastian Roth referenced this topic on May 11, 2023, 1:20 PM
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        27/27
                        Last post

                      148

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project