File system shows image size after cloning, rather than imag
I created a disk image of 3.9GB earlier. Today I copied it to a new linode /dev/xvda that was 24GB. My reading indicated that the destination needed to be at least as large as the image I was copying, however, while fdisk -l /dev/xvda shows: Disk
/dev/xvda: 25.2 GB, 25232932864 bytes
df -h shows
/dev/xvda 3.9G 3.2G 550M 86% /
What will I need to do to resolve this?
5 Replies
If you simply copied the raw bits from one linode to another yourself, you'll need to use resize2fs to expand the filesystem into the remaining empty space. -rt
-Doug