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

How increase her storage ?

Scheduled Pinned Locked Moved Unsolved
Linux Problems
3
7
801
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.
  • I
    ITRecords
    last edited by May 11, 2023, 3:49 AM

    Virtualization VM : Proxmox (V7.4.3)
    VM FOG : Debian

    Hi everyone,

    I need your help.

    I want to increase my vhdx (sdb1) which currently has a size of 160Go
    size.png

    what are the commands to apply for that fog to detect the new capacity
    storage.png

    Thank you in advance for your return

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth May 11, 2023, 7:20 AM May 11, 2023, 1:19 PM

      @ITRecords Please run the following commands and post output here:

      df -h
      mount
      lsblk
      pvs
      vgs
      lvs
      

      If you are keen read through this and go about it: https://forums.fogproject.org/topic/16729/ubuntu-help-boot-problem-n00b/

      Though I suggest you make sure you have a backup beforehand. And in case you are unsure better ask.

      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

      I 1 Reply Last reply May 12, 2023, 4:21 AM Reply Quote 0
      • I
        ITRecords @Sebastian Roth
        last edited by May 12, 2023, 4:21 AM

        Hi @Sebastian-Roth,

        Thanks for the response.

        here is the result :

        Screenshot.png

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by May 13, 2023, 6:34 AM

          @ITRecords Just so I get this right. From your initial post it sounds like you have increased the size already. Right? What was the size beforehand?

          Please run fdisk -l /dev/sdb and post output here. First I was misslead to think this was setup as LVM but it’s a normal type partition by the looks of it.

          Be aware that size calculations vary. Some multiply by 1000 others by 1024 and that causes some difference as well.

          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

          I 1 Reply Last reply May 14, 2023, 6:15 AM Reply Quote 0
          • I
            ITRecords @Sebastian Roth
            last edited by May 14, 2023, 6:15 AM

            Hi @Sebastian-Roth,

            1. for the capacity of my disk (sdb1) this one had been add during the preparation of my VM

            2. I want to expand this disk so FOG can see the new storage capacity

            See the result

            Screenshot.png

            Thanks

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth May 30, 2023, 5:26 AM May 30, 2023, 11:24 AM

              @ITRecords Have been pretty busy with other things and forgot about this topic. Whoops.

              Ok, so we have a plain disk drive here (sure virtual disk but no LVM or fake-RAID) which makes it pretty easy.

              1. Make sure there is no FOG task (deploy or capture) running!
              2. Stop NFS daemon: systemctl stop nfs-kernel-server
              3. Unmount the partition: umount /dev/sdb1
              4. Install an easy tool for expanding the patition: apt install cloud-guest-utils
              5. Test expanding the partition: growpart -N -v /dev/sdb 1 (note the space before the partition number)
              6. Expand partition: growpart -v /dev/sdb 1 (note the space before the partition number)
              7. Expand filesystem in partition: resize2fs /dev/sdb1 (no space before partition number)
              8. Mount partition: mount /dev/sdb1 /images
              9. Start NFS: systemctl start nfs-kernel-server

              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
                Brysonzv
                last edited by Jul 19, 2023, 4:26 AM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                292

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project