• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Running out of drive space Cent OS 6.9

macandrew89

New Pleskian
Hi,

I'm running out of disk space and starting to get worried, I haven't been able to find the right answer yet.

I have a vps with OVH which originally started with 20gb but since upgrading it now has 40gb.

I tried to follow this guide Running out of drive space - Centos 6.5 and got to psa where it returned unknown command error.


root@rescue-pro:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 2.9G 1.4G 1.4G 51% /
udev 10M 0 10M 0% /dev
tmpfs 1.6G 8.4M 1.6G 1% /run
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/vdb1 20G 19G 331M 99% /mnt/vdb1



Disk /dev/vda: 3 GiB, 3145728000 bytes, 6144000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6bce5d4a

Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 6141951 6139904 3G 83 Linux

Disk /dev/vdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000574cf

Device Boot Start End Sectors Size Id Type
/dev/vdb1 * 2048 41943039 41940992 20G 83 Linux

If someone to guide me through what to do here it would be highly appreciated.

Thanks
 
I'm guessing you may be trying to extend a volume that is not an LVM.

You need to decide how you want this arranged. You could create a new LVM with the new 20GB allocated to it, migrate the data from the existing volume to the new volume, and then allocate the space from the old volume to the new volume since it's now an LVM.
 
Hi,

I'm running out of disk space and starting to get worried, I haven't been able to find the right answer yet.

I have a vps with OVH which originally started with 20gb but since upgrading it now has 40gb.

I tried to follow this guide Running out of drive space - Centos 6.5 and got to psa where it returned unknown command error.


root@rescue-pro:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 2.9G 1.4G 1.4G 51% /
udev 10M 0 10M 0% /dev
tmpfs 1.6G 8.4M 1.6G 1% /run
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/vdb1 20G 19G 331M 99% /mnt/vdb1



Disk /dev/vda: 3 GiB, 3145728000 bytes, 6144000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6bce5d4a

Device Boot Start End Sectors Size Id Type
/dev/vda1 * 2048 6141951 6139904 3G 83 Linux

Disk /dev/vdb: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000574cf

Device Boot Start End Sectors Size Id Type
/dev/vdb1 * 2048 41943039 41940992 20G 83 Linux

If someone to guide me through what to do here it would be highly appreciated.

Thanks

Hello,

A tutorial about resizing vps partition is available in OVH documentation : Extension of a partition on a VPS — OVH Documentation 0.0.1 documentation
But make a backup before resizing the partition, because it may result in data loss.
 
Back
Top