Archive stuff 1: Difference between revisions

From Skytech
Jump to navigation Jump to search
(Created page with "= Extend LVM = First, unmount the LVM in question. Then, extend it: <pre> lvextend -L+10G /dev/virtualdisk/vol </pre> = Boot into Virtualhost = Unmount the drive, remove the p…")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:

= Extend LVM =
= Extend LVM =
First, unmount the LVM in question.
First, unmount the LVM in question.

Latest revision as of 10:59, 14 February 2012

Extend LVM

First, unmount the LVM in question.

Then, extend it:

lvextend -L+10G /dev/virtualdisk/vol

Boot into Virtualhost

Unmount the drive, remove the partition and resize it; then remount.

fdisk /dev/hdd

Remove partition, create as new larger partition,

Resize it:

resize2fs /dev/hdd1