Hopp til hovedinnhold

How to resize an existing filesystem

Skrevet av helge 31. jul. 2017

Resize a filesystem using fdisk, e2fsck and resize2fs 

First we need to make the partition holding the filesystem bigger.

We can use fdisk to help us with that (exchange <xvdb> below to match your device):

root@host: /# fdisk /dev/xvdb

print the partitiontable and make a note of the start, end and type of the partition you want to resize (if you have multiple partitions note the number too):

Command (m for help): p

Abonner på Linux

Prisforespørsel

Svar på noen enkle spørsmål om hva du ønsker
og vi gir deg et prisoverslag. Enkelt og greit.

Kontakt

Oneiros as

Besøk: Johan Berentsens vei 63, Laksevåg
Post: Gravdalsveien 176, 5165
Tel: 402 26 770
E-post: post@oneiros.no