Expand EC2 amazon instance disk space -
l try install pytorch on amazon follow :
conda install pytorch torchvision cuda80 -c soumith
l following error :
package plan installation in environment /home/ubuntu/anaconda2/envs/crnn: following new packages installed: cuda80: 1.0-0 soumith pytorch: 0.1.12-py27_2cu80 soumith [cuda80] torchvision: 0.1.8-py27_2 soumith proceed ([y]/n)? y condaerror: ioerror(28, 'no space left on device') condaerror: ioerror(28, 'no space left on device') condaerror: ioerror(28, 'no space left on device'
when l run following command :
df -h
l following :
filesystem size used avail use% mounted on udev 30g 0 30g 0% /dev tmpfs 6.0g 8.6m 6.0g 1% /run /dev/xvda1 7.7g 7.4g 361m 96% / tmpfs 30g 0 30g 0% /dev/shm tmpfs 5.0m 0 5.0m 0% /run/lock tmpfs 30g 0 30g 0% /sys/fs/cgroup tmpfs 6.0g 0 6.0g 0% /run/user/1000
now l added new partition called /data has 50 go :
/data$ df -h filesystem size used avail use% mounted on udev 30g 0 30g 0% /dev tmpfs 6.0g 8.9m 6.0g 1% /run /dev/xvda1 7.7g 6.3g 1.4g 82% / tmpfs 30g 0 30g 0% /dev/shm tmpfs 5.0m 0 5.0m 0% /run/lock tmpfs 30g 0 30g 0% /sys/fs/cgroup /dev/xvdf1 50g 3.9g 43g 9% /data tmpfs 6.0g 0 6.0g 0% /run/user/1000
but of installation file system such cuda have installed in /
how can l transfer 50 g0 free space /data
/
/dev/xvda1
have 58 go ?
name maj:min rm size ro type mountpoint xvda 202:0 0 8g 0 disk `-xvda1 202:1 0 8g 0 part / xvdf 202:80 0 50g 0 disk `-xvdf1 202:81 0 50g 0 part /data
thank lot
Comments
Post a Comment