Increase Ubuntu Disk Space: Step-by-Step Guide
To increase the disk capacity of the Ubuntu system, you can follow these steps:
- Firstly, add a new hard drive or expand the existing hard drive capacity on a virtual machine or physical machine.
- Partition a new hard drive using tools such as fdisk or gdisk. If expanding the capacity of an existing hard drive, you can use the tools to resize the current partitions.
- Please resize the file system with the command “sudo resize2fs /dev/
“. - Please expand the filesystem on /dev/sdb1 using sudo resize2fs command.
- Show me the disk usage in a human-readable format.
By following the steps above, you will be able to successfully expand the disk capacity of your Ubuntu system. It is important to note that when performing disk expansion, be sure to back up important data in case of any unexpected issues.