https://gyazo.com/4247003994e49bd6cfb8eab4c5405b39
ec2-user:~/environment/testinformation.1 (master) $ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 483M 60K 483M 1% /dev tmpfs 493M 0 493M 0% /dev/shm /dev/xvda1 7.8G 7.7G 776K 100% / ec2-user:~/environment/testinformation.1 (master) $ df -i Filesystem Inodes IUsed IFree IUse% Mounted on devtmpfs 123532 435 123097 1% /dev tmpfs 126179 1 126178 1% /dev/shm /dev/xvda1 524288 342933 181355 66% /
https://qiita.com/0x50/items/ecc6cfdbb8a3f0c0855f
この記事を参考にして考えると
```ターミナル
ec2-user:~/environment/testinformation.1 (master) $ sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
1 .bundle
1 config.ru
1 Gemfile
1 Gemfile.lock
1 .gitignore
1 heroku.tar.gz
1 package.json
1 Rakefile
1 README.md
1 .ruby-version
1 storage
2 log
3 lib
7 bin
15 db
28 config
28 test
52 public
91 app
420 .git
606 tmp
8157 vendor
8157 vendorこれを消すべきだと思うのですが消していいのでしょうか? また消す場合どうすればいいでしょうか? There was insufficient space remaining on the device.といったキーワードや/dev/xvda1を増やす方法などを調べているのですが解決できません https://qiita.com/riboosu/items/d266df563367a0a14268 この記事などはcloud9でinstanceを停止したりvolumeをいじると書いてあるのですが そもそも使っていないので停止のしようがないです https://gyazo.com/9a33f0a0e5d5e1a441799384d6b5fa8e またなぜ7.7Gも使っているのかもよくわからないです 回答よろしくお願いします
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/07/11 02:28
2019/07/11 03:01 編集
2019/07/13 02:55