I have a 200GB EBS volume and am trying to increase the space available. I followed the instructions on: http://www.hellersoftware.com/2012/resize-ebs-volume-attached-to-amazon-web-services-ec2-instance/ and managed to create a snapshot and create a new EBS based on that snapshot.
Everything is peachy, except when I do:
# resize2fs /dev/sdf
I get
resize2fs 1.40.8 (13-Mar-2008)
resize2fs: Bad magic number in super-block while trying to open /dev/sdf
Couldn't find valid filesystem superblock.
Not sure what's going on there, but my new volume still only shows 200GB, when in fact it's an 800GB volume.
df -h
says:/dev/sdf 200G 187G 14G 94% /vol
` fdisk -l /dev/sdf Disk /dev/sdf: 858.9 GB, 858993459200 bytes 255 heads, 63 sectors/track, 104433 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/sdf doesn't contain a valid partition table` – Coffin/dev/sdf on /vol type xfs (rw)
– Coffin