This commit is contained in:
14
content/snippets/0160-resize-hdd-on-running-system.md
Normal file
14
content/snippets/0160-resize-hdd-on-running-system.md
Normal file
@ -0,0 +1,14 @@
|
||||
<!--
|
||||
title: Resize HDD on running system
|
||||
-->
|
||||
|
||||
* Resize target on VMWare or on Synology or where ever it is provided
|
||||
* Stop services using the disk
|
||||
* Unmount the disk
|
||||
* Run `e2fsck -f` on the disk
|
||||
* Rescan disks using `echo 1>/sys/class/block/sdx/device/rescan` (replace `sdx` by actual disk device)
|
||||
* Extend partition using `resize` in `cfdisk`
|
||||
* Extend filesystem using `resize2fs` on extended partition
|
||||
* Mount the partition
|
||||
* Start services
|
||||
|
Reference in New Issue
Block a user