How to Resize a Live Filesystem on Linux
Before anything else, BACKUP your stuff! This method is risky, and only works on ext2/3/4 filesystems
Use fdisk /dev/sda to check current start/end sectors
Use fdisk to delete the partition
Use fdisk to create a new partition with same starting sector, but new end sector.
Verify that your changes are what you want.
Write fdisk changes.
Verify the new partition is the expected size.
Use sudo resize2fs /dev/sda1 to resize the filesystem to utilize all space in the new partition.
Verify the partition is the expected size.
Reboot for safety.
Видео How to Resize a Live Filesystem on Linux канала emptythevoid
Use fdisk /dev/sda to check current start/end sectors
Use fdisk to delete the partition
Use fdisk to create a new partition with same starting sector, but new end sector.
Verify that your changes are what you want.
Write fdisk changes.
Verify the new partition is the expected size.
Use sudo resize2fs /dev/sda1 to resize the filesystem to utilize all space in the new partition.
Verify the partition is the expected size.
Reboot for safety.
Видео How to Resize a Live Filesystem on Linux канала emptythevoid
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![How to Install Ubuntu 20.04 LTS on VirtualBox in Windows 10](https://i.ytimg.com/vi/x5MhydijWmc/default.jpg)
![Les systèmes de fichiers sous Linux](https://i.ytimg.com/vi/HLcRvrJrWjM/default.jpg)
![Linux Logical Volume Manager (LVM) Deep Dive Tutorial](https://i.ytimg.com/vi/MeltFN-bXrQ/default.jpg)
![Increase/Extend Root Filesystem Online Without Downtime & Without Losing Data Using fdisk In Linux](https://i.ytimg.com/vi/SwsdqGEh2t8/default.jpg)
![Linux File System/Structure Explained!](https://i.ytimg.com/vi/HbgzrKJvDRw/default.jpg)
![Linux Directory Structure in Hindi | Linux File System in Hindi | Understand Linux File System](https://i.ytimg.com/vi/lQi7fxVO7Zo/default.jpg)
![Linux: How to Create Partitions in Linux in Hindi](https://i.ytimg.com/vi/QNWuJJYqQV8/default.jpg)
![How To Expand ROOT Partition NOT FORMATTED AS LVM |RHEL|CENTOS](https://i.ytimg.com/vi/XgToNkTlED4/default.jpg)
![How to clear unwanted disk space | Linux Server Disk Capacity shows 100% full](https://i.ytimg.com/vi/IRN8ZsZa31E/default.jpg)
![How to expand disk on Kali Linux (VMware)](https://i.ytimg.com/vi/NwpzYlfKnrY/default.jpg)
![How to Resize or Extend a Linux Partition/Volume/Disk | 2021 Tutorial | (No Swap - Ubuntu)](https://i.ytimg.com/vi/DsJBN7WW0zA/default.jpg)
![Ubuntu Server: Getting started with a Linux Server](https://i.ytimg.com/vi/2Btkx9toufg/default.jpg)
![How To Extend LVM Disk For Linux Virtual Machine On VMware](https://i.ytimg.com/vi/KW1ScgdCIfs/default.jpg)
![Linux Essentials - Automatically mounting storage volumes with /etc/fstab](https://i.ytimg.com/vi/A7xH74o6kY0/default.jpg)
![Resize your Linux root '/' mount with LVM](https://i.ytimg.com/vi/Fgq5qtgMamI/default.jpg)
![20 Things You MUST DO After Installing Ubuntu 20.04 (Right Now!)](https://i.ytimg.com/vi/GrI5c9PXS5k/default.jpg)
![Resize LVM in Linux | Extend Or Reduce Logical Volume in RHEL || Nehra Classes](https://i.ytimg.com/vi/Kv8cv_Y-N0U/default.jpg)
![Create Linux Partitions with fdisk](https://i.ytimg.com/vi/dHbeFhb7mmY/default.jpg)
![Expand Linux VM Partition (Centos 7 in ESXI 6.7)](https://i.ytimg.com/vi/TqNn7AIDUXQ/default.jpg)
![Extend root partition of Linux in dual boot OS with windows and Linux ✔️](https://i.ytimg.com/vi/yOOcg5Cm4DM/default.jpg)