Abekta

The Encyclopédie of CASSA

User Tools

Site Tools


soft:server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
soft:server [2025/03/12 04:28] – created asadsoft:server [2026/03/11 04:11] (current) asad
Line 1: Line 1:
 ====== Server ====== ====== Server ======
 +
 +===== - Basic management =====
 +<code bash>
 +df -h # check storage
 +du -sh * # size of all folders
 +sudo mount -t auto /dev/sdb /media/plato/
 +nvidia-smi
 +</code>
  
 ===== - OS drive space extension ===== ===== - OS drive space extension =====
Line 5: Line 13:
 lsblk # check the partitions lsblk # check the partitions
 sudo pvs # check free space  sudo pvs # check free space 
-sudo lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv # free up the remaining space +sudo lvextend -l +100%FREE <PATH>ubuntu--vg-ubuntu--lv # free up the remaining space 
-sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv # resize the OS drive to incorporate the freed space+sudo resize2fs <PATH>ubuntu--vg-ubuntu--lv # resize the OS drive to incorporate the freed space
 </code> </code>
soft/server.1741775325.txt.gz · Last modified: by asad

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki