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

Database Connection Issues - Mysql.service won't start

Scheduled Pinned Locked Moved
Linux Problems
2
24
2.9k
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.
  • N
    Naline @george1421
    last edited by Jun 22, 2020, 6:51 PM

    @george1421
    I used the command grow part and now it is showing sda2 as having 800G.

    Linux_Growpart.PNG

    df -h is still showing sda2 as having 500G. Should I try running through the initial commands you gave me and those listed in the YouTube video again to expand it?

    800LSBLK_500GDFH.PNG

    G 1 Reply Last reply Jun 22, 2020, 7:11 PM Reply Quote 0
    • G
      george1421 Moderator @Naline
      last edited by george1421 Jun 22, 2020, 1:11 PM Jun 22, 2020, 7:11 PM

      @Naline Ok now we are moving towards an ending. You just grew the partition to the size of the disk. Now you need to extend the filesystem to the size of the partition (remember they are not directly connected but interdependant).

      Now you need to run the resize filesystem command sudo resize2fs /dev/sda2

      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!

      N 1 Reply Last reply Jun 22, 2020, 7:29 PM Reply Quote 0
      • N
        Naline @george1421
        last edited by Jun 22, 2020, 7:29 PM

        @george1421

        You are the best! We are good to go! Thank you for all your help and for sticking it out with me. I hope this thread helps someone else later on down the line. You’ve also helped me increase my Linux command line knowledge a bunch.

        FogSpace.PNG

        G 1 Reply Last reply Jun 22, 2020, 7:42 PM Reply Quote 0
        • G
          george1421 Moderator @Naline
          last edited by Jun 22, 2020, 7:42 PM

          @Naline I just wish I could have found the post I used before. As I said it was 2 simple commands to expand the disk. Its just which two commands that were the stumbling block.

          I agree I hope this thread help the next guy.

          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 1
          • 1
          • 2
          • 2 / 2
          2 / 2
          • First post
            22/24
            Last post

          166

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project