Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2013
    Posts
    463

    KVM issue please some help with space..

    Hello.. i have a KVM centos 6 64 with cpanel.. the space of it is 500GB.. i got messages in the email

    The file system /dev/vda1, which is mounted at /, has reached warn status because it is 83% full.


    The file system /tmp, which is mounted at /var/tmp, has reached warn status because it is 83% full.


    I contacted the hosting provider and told me i must increase it me self.. how can i do that? The space is showing

    root@server[~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/vda1 94G 75G 15G 84% /
    tmpfs 3.1G 0 3.1G 0% /dev/shm


    How can i increase it..???

  2. #2
    Join Date
    Jun 2011
    Location
    Internet
    Posts
    2,985
    If you're using ext3/ext4 without LVM you could use parted or resize2fs. If you're using LVM you can use lvresize/lvextend

    http://positon.org/resize-an-ext3-ext4-partition

    This however, will not work for your /tmp. /dev/shm is held in RAM so unless you have plenty more RAM free you're pretty much stuck. You should probably delete a few things from /tmp.
    Last edited by Afterburst-Jack; 09-25-2014 at 06:22 AM.

  3. #3
    Join Date
    May 2013
    Location
    India
    Posts
    747
    Quote Originally Posted by -liquid- View Post
    The file system /dev/vda1, which is mounted at /, has reached warn status because it is 83% full.


    The file system /tmp, which is mounted at /var/tmp, has reached warn status because it is 83% full.


    I contacted the hosting provider and told me i must increase it me self.. how can i do that? The space is showing

    root@server[~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/vda1 94G 75G 15G 84% /
    tmpfs 3.1G 0 3.1G 0% /dev/shm


    How can i increase it..???
    Seems / reached its warning usage level, not /tmp? Mostly you will not have any more room to expand by default, if it is a VPS. Better try to remove some unused files from the server. If you cannot remove any more files, you can consider purchasing more disk. If it is LVM, you can purchase more space from your provider and extend the file system by adding the new space.
    Last edited by nixtree; 09-25-2014 at 07:29 AM.

  4. #4
    Join Date
    May 2009
    Location
    SLASH ROOT
    Posts
    867
    Quote Originally Posted by Flapadar View Post
    If you're using ext3/ext4 without LVM you could use parted or resize2fs. If you're using LVM you can use lvresize/lvextend

    http://positon.org/resize-an-ext3-ext4-partition

    This however, will not work for your /tmp. /dev/shm is held in RAM so unless you have plenty more RAM free you're pretty much stuck. You should probably delete a few things from /tmp.
    @Flapadar, looks like OP is having a KVM VPS and he only has / partition.

    Is your host using SolusVM or Proxmox?

    Are you trying to add a new partition?

    If yes, ask your host to create one via VPS control panel (SolusVM or Proxmox or other)

    Check if you can now see the new partition.

    Format the new partition and try lvextend from your KVM VPS.
    █ WebHostRepo.com
    █ Linux | Windows
    | VPS | Cloud
    █ Outsourced Technical Support since 2009
    █ sales@webhostrepo.com

  5. #5
    Join Date
    Jul 2013
    Posts
    463
    Like i told i have a KVM.. i have contacted the provider and they told me to add myself space.. i have 400GB left.. How can i do that..??

    What is LVM..???

  6. #6
    Is this a managed VPS? If so then the host needs to do this. I would assume it is simply because you do not know what "logical volume manager" is or "logical volume".

    You can destroy your VPS messing around with logical volumes so be care full.

    It would be best to use tmpwatch


    q) my /tmp is full, how do i delete the content

    a) open SSH to your server, if SSH will not connect due to disk space full in tmp, reboot your server in cloud server manager then try again.
    Once connected run the following command

    yum install tmpwatch -y

    once tmpwatch is installed run command

    /usr/sbin/tmpwatch -am 12 /tmp

    this will delete all files over 12 hours old

    next, we will configure your server to do this automatically.

    from SSH type: crontab -e

    go to the very bottom and paste

    0 4 * * * /usr/sbin/tmpwatch -am 12 /tmp
    | Buzy Bee Hosting, LLCsales@bzybhosting.com★Dedicated★KVM VPS★
    | Self/Fully Managed★ Shared Hosting★cPanelŽ★ 99.9% uptime★
    | Softaculous★ CMS hosting★ SSL Certs★ Idera CDP Backup, FTP Backup

  7. #7
    Join Date
    May 2001
    Location
    HK
    Posts
    3,082

    *

    Quote Originally Posted by -liquid- View Post
    root@server[~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/vda1 94G 75G 15G 84% /
    tmpfs 3.1G 0 3.1G 0% /dev/shm


    How can i increase it..???
    Based on that, you're not using lvm. You have to reset the boundary of the partition and then resize.

  8. #8
    Join Date
    May 2001
    Location
    HK
    Posts
    3,082

    *

    Additionally, you might want to find out where the remaining 400g located at. If it is in another disk or the 400gb is located somewhere in your existing disk, then you can create a new partition, format, mount and move the existing files over to the 400gb. That would be the most easiest method and you do not have to be bothered with the resize.

    The downside is, you cannot use the 400gb and 100gb together in one mount point because they are different partitions.

Similar Threads

  1. Replies: 0
    Last Post: 03-25-2013, 05:55 PM
  2. Replies: 2
    Last Post: 02-26-2013, 02:23 AM
  3. Replies: 0
    Last Post: 02-18-2013, 06:03 PM
  4. Replies: 0
    Last Post: 02-11-2013, 12:42 PM
  5. Replies: 7
    Last Post: 02-04-2013, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •