[SOLVED] How To Fix The “No Space Left on Device” Error On Linux In A VM

Learn how to fix the “No Space Left on Device” error on Linux in a VM.
Are you getting the following error message? Then you came to the right video.

No space left on device.
Sometimes you will get the error message… No space left on device.

Whatever it is the steps are same. This will be a demo of How to Fix the “No Space Left on Device” Error on Linux on VMware.

Here are the command used in this video.
1) Switch to super user.
sudo su
2) Launch linux partition editor.
cfdisk
3) Create new device and assign it as Linux LVM.
In my demo, my device name was /dev/sda4. Yours might be difference depending on the existing number of devices in your system.
4) Reboot the Ubuntu VM (or else you might get Device /dev/sda4 not found)
shutdown now -r
5) Once the Ubuntu VM is up, login as super user again.
sudo su
6) Create physical volume for the new device.
If you forgot your device name, launch the Linux partition editor again using the cfdisk command.
pvcreate /dev/sda4
7) Find out the volume group name using
vgs
If you want to see the detail information about the volume group use the following command.
vgdisplay
In my demo video, my volume group name was ubuntu-vg. Yours might be different.
8) Extend volume group.
vgextend ubuntu-vg /dev/sda4
9) If you check the volume group, again you will see increment in your volume group size.
vgdisplay
10) Extend the size of a logical volume.
The command below is to increase using all the allocated space.
lvextend -l+100%FREE /dev/mapper/ubuntu–vg-ubuntu–lv
The command below is to increase by only 2GB in the allocated space.
lvextend -L +2g /dev/ubuntu-vg/root
11) Increase the file system.
resize2fs /dev/mapper/ubuntu–vg-ubuntu–lv
12) And finally, check the disk filesystem to make sure that the disk space has increased.
df -h

#ubuntu

Partagez !

Autres articles

Populaires

  • All Posts
  • Drones
  • Le site
  • Les tutos
  • Mes Projets et réalisations
  • Non classé
    •   Back
    • Maintenance et Etalonnages
    • Le logiciel Cura
    • Le logiciel 3D Builder
    • Le logiciel Fusion 360
    • Les imprimantes
    • Timelapses
    • Projets et réalisations
    • Actus 3D
    • Alfawise U20
    • Artillery Sidewinder X1
    •   Back
    • Gimp
    • Salesforce
    • Adobe After Effect/Premiere Pro
    •   Back
    • Alfawise U20
    • Artillery Sidewinder X1
    •   Back
    • Arduino
    • Windev
    • Power Apps
    • Arduino (U=RI)
    • Arduino (Procuste)
    • Tutroriels PC Soft
    • Windev pas à pas
    •   Back
    • Arduino (U=RI)
    • Arduino (Procuste)
    •   Back
    • Vidéos
    • Articles
    • Impression 3D
    • Drones
    • Développement et Programmation
    • Logiciels et Applications
    • Métrologie
    • Les Projets et réalisations
    • Serveurs
    • Maintenance et Etalonnages
    • Le logiciel Cura
    • Le logiciel 3D Builder
    • Le logiciel Fusion 360
    • Les imprimantes
    • Timelapses
    • Projets et réalisations
    • Actus 3D
    • Alfawise U20
    • Artillery Sidewinder X1
    • Monter son drone
    • Arduino
    • Windev
    • Power Apps
    • Arduino (U=RI)
    • Arduino (Procuste)
    • Tutroriels PC Soft
    • Windev pas à pas
    • Gimp
    • Salesforce
    • Adobe After Effect/Premiere Pro
    • Octoprint
    • Proxmox
    •   Back
    • Impression 3D
    • Drones
    • Développement et Programmation
    • Logiciels et Applications
    • Métrologie
    • Les Projets et réalisations
    • Serveurs
    • Maintenance et Etalonnages
    • Le logiciel Cura
    • Le logiciel 3D Builder
    • Le logiciel Fusion 360
    • Les imprimantes
    • Timelapses
    • Projets et réalisations
    • Actus 3D
    • Alfawise U20
    • Artillery Sidewinder X1
    • Monter son drone
    • Arduino
    • Windev
    • Power Apps
    • Arduino (U=RI)
    • Arduino (Procuste)
    • Tutroriels PC Soft
    • Windev pas à pas
    • Gimp
    • Salesforce
    • Adobe After Effect/Premiere Pro
    • Octoprint
    • Proxmox
    •   Back
    • Monter son drone
    •   Back
    • Octoprint
    • Proxmox
    •   Back
    • Tutroriels PC Soft
    • Windev pas à pas

Explorer par étiquettes

  • Drones
  • Le site
  • Les tutos
  • Mes Projets et réalisations
  • Non classé
    •   Back
    • Maintenance et Etalonnages
    • Le logiciel Cura
    • Le logiciel 3D Builder
    • Le logiciel Fusion 360
    • Les imprimantes
    • Timelapses
    • Projets et réalisations
    • Actus 3D
    • Alfawise U20
    • Artillery Sidewinder X1
    •   Back
    • Gimp
    • Salesforce
    • Adobe After Effect/Premiere Pro
    •   Back
    • Alfawise U20
    • Artillery Sidewinder X1
    •   Back
    • Arduino
    • Windev
    • Power Apps
    • Arduino (U=RI)
    • Arduino (Procuste)
    • Tutroriels PC Soft
    • Windev pas à pas
    •   Back
    • Arduino (U=RI)
    • Arduino (Procuste)
    •   Back
    • Vidéos
    • Articles
    • Impression 3D
    • Drones
    • Développement et Programmation
    • Logiciels et Applications
    • Métrologie
    • Les Projets et réalisations
    • Serveurs
    • Maintenance et Etalonnages
    • Le logiciel Cura
    • Le logiciel 3D Builder
    • Le logiciel Fusion 360
    • Les imprimantes
    • Timelapses
    • Projets et réalisations
    • Actus 3D
    • Alfawise U20
    • Artillery Sidewinder X1
    • Monter son drone
    • Arduino
    • Windev
    • Power Apps
    • Arduino (U=RI)
    • Arduino (Procuste)
    • Tutroriels PC Soft
    • Windev pas à pas
    • Gimp
    • Salesforce
    • Adobe After Effect/Premiere Pro
    • Octoprint
    • Proxmox
    •   Back
    • Impression 3D
    • Drones
    • Développement et Programmation
    • Logiciels et Applications
    • Métrologie
    • Les Projets et réalisations
    • Serveurs
    • Maintenance et Etalonnages
    • Le logiciel Cura
    • Le logiciel 3D Builder
    • Le logiciel Fusion 360
    • Les imprimantes
    • Timelapses
    • Projets et réalisations
    • Actus 3D
    • Alfawise U20
    • Artillery Sidewinder X1
    • Monter son drone
    • Arduino
    • Windev
    • Power Apps
    • Arduino (U=RI)
    • Arduino (Procuste)
    • Tutroriels PC Soft
    • Windev pas à pas
    • Gimp
    • Salesforce
    • Adobe After Effect/Premiere Pro
    • Octoprint
    • Proxmox
    •   Back
    • Monter son drone
    •   Back
    • Octoprint
    • Proxmox
    •   Back
    • Tutroriels PC Soft
    • Windev pas à pas

© 2024 Tech-Passion