VM thinks it's out of space
After using this guide, http://library.linode.com/linode-pla...m-distro-howto, I'm running Slackware 14 64bit on my linode (VPS). The basic process is to install your favourite distro on a local VM with a small harddrive, and then upload the entire VM to their servers. It's been running fine for the past few weeks, but just now as I was trying to add some photos to a web page I'm hosting, I starting running into some strange errors:
Code:
cp: writing '../my/photo.jpg': No space left on device Code:
# df Code:
# fdisk -l |
You have an unused disk (xvdb).
df will show the total/used/available amounts for all disks that are mounted. xvdb is not mounted. To gain access to it, it needs to be initialized (partitioned/put filesystem on it), then mount it (I suggest using /mnt temporarily) then copy things to it that you want there. Rename the directory you copied from (for temporary safety), create a mountpoint with the same name. Dismount /mnt, and mount xvdb (or partition) on that mount point. Make sure things still work... (as best you can with no disk space on root). Add a /etc/fstab entry for the new mount. verify it works... (dismount and just do a remount <your new mountpoint>), then, and only then remove the renamed directory. Your root filesystem will now have free space. |
xvdb is just my swap space. It's only 268 MB, whereas xvda is mounted and is supposed to be 21.2 GB.
|
I've got it solved now. It turns out that I just needed to run 'resize2fs'.
Code:
# df |
All times are GMT -5. The time now is 03:27 PM. |