Contents
How do I add more space to Linux?
Notify the operating system about the change in size.
- Step 1: Present the new physical disk to the server. This is a fairly easy step. …
- Step 2: Add the new physical disk to an existing Volume Group. …
- Step 3: Expand the logical volume to use the new space. …
- Step 4: Update the filesystem to use the new space.
How do I resize a file in Linux?
Option 2
- Check if disk is available: dmesg | grep sdb.
- Check if disk is mounted: df -h | grep sdb.
- Ensure there are no other partitions on disk: fdisk -l /dev/sdb. …
- Resize the last partition: fdisk /dev/sdb. …
- Verify the partition: fsck /dev/sdb.
- Resize the filesystem: resize2fs /dev/sdb3.
23 июн. 2019 г.