My NAS runs Ubuntu Server 12.04, it runs this from an 8gb USB disk which is getting quite full so I have transferred that to a 32gb key using
dd if=/dev/sdc of=/dev/sdb bs=512
Now, this is great, it now boots as it should - problem is that the new drive is reporting as being the same size
/dev/sdb1 6.4G 5.3G 837M 87% /media/f8772a74-ab0a-450c-9453-0ea91422051f
so i try
$ sudo resize2fs /dev/sdb1
and get
The filesystem is already 1694208 blocks long. Nothing to do!
Soooo.. i try
sudo fdisk -l
and get
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 13555711 6776832 83 Linux
/dev/sdb2 13557758 15632383 1037313 5 Extended
/dev/sdb5 13557760 15632383 1037312 82 Linux swap / Solaris
Now I'm out of ideas - do i need to 'merge' sdb2 and sdb5 ? what should i do to use the full space.
Thx in advance