###前提・実現したいこと
当方、さくらのVPSでウェブサーバーを利用しております。PHPとMYSQL APACHEなどがインストールされています。
さくらのVPSでCentOS6.8のスケールアップを行い、パーテンションを変更していたところ、正しく認識されなくなってしまいました。
現在は、SVNリポジトリー、WEBサーバーの閲覧、MYSQLADMINのログイン画面などは稼働しています。
しかし、WinSCPはログインできません。
やりたかったことはmysqlでクエリエラーが出て調べていくとディスクスペースが足りなくなっているっていうことだったんで、スケールアップして記憶領域を増やしたかったんです。
今は現状回復したいです。
###発生している問題・エラーメッセージ
df -h Filesystem Size Used Avail Use% Mounted on /dev/vda3 97G 92G 31M 100% / tmpfs 939M 0 939M 0% /dev/shm /dev/vda1 239M 112M 115M 50% /boot /dev/vda4 97G 92G 31M 100% / こちらがこうなってしまいました。 df -h df: `/dev/pts': No such file or directory df: `/dev/shm': No such file or directory df: `/proc/sys/fs/binfmt_misc': No such file or directory Filesystem Size Used Avail Use% Mounted on /dev/vda3 97G 92G 28M 100% / sysfs 97G 92G 28M 100% /sys /dev/vda1 97G 92G 28M 100% /boot /dev/vda4 97G 92G 28M 100% / [root@tk2-235-27297 catalog]# lsblk lsblk: failed to access sysfs directory: /sys/dev/block: No such file or directory [root@tk2-235-27297 /]# gdisk -l /dev/vda GPT fdisk (gdisk) version 0.8.10 Problem opening /dev/vda for reading! Error is 6.
###該当のソースコード
[root@tk2-235-27297 tmp]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda3 97G 92G 31M 100% / tmpfs 939M 0 939M 0% /dev/shm /dev/vda1 239M 112M 115M 50% /boot /dev/vda4 97G 92G 31M 100% / [root@tk2-235-27297 tmp]# sgdisk -s /dev/vda Warning: The kernel is still using the old partition table. The new table will be used at the next reboot. The operation has completed successfully. [root@tk2-235-27297 tmp]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda3 97G 92G 31M 100% / tmpfs 939M 0 939M 0% /dev/shm /dev/vda1 239M 112M 115M 50% /boot /dev/vda4 97G 92G 31M 100% / [root@tk2-235-27297 tmp]# mount --move / /data mount: Too many levels of symbolic links [root@tk2-235-27297 tmp]# umount /dev/vda4 [root@tk2-235-27297 tmp]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda3 97G 92G 31M 100% / tmpfs 939M 0 939M 0% /dev/shm /dev/vda1 239M 112M 115M 50% /boot /dev/vda4 97G 92G 31M 100% / [root@tk2-235-27297 tmp]# umount /dev/vda4 umount: /: device is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) [root@tk2-235-27297 tmp]# umount /dev/vda4 -l [root@tk2-235-27297 tmp]# yum install lsof Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile epel/metalink | 6.5 kB 00:00 * base: ftp.tsukuba.wide.ad.jp * epel: ftp.riken.jp * extras: ftp.tsukuba.wide.ad.jp * updates: ftp.tsukuba.wide.ad.jp base | 3.7 kB 00:00 extras | 3.4 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 3.6 MB 00:00 Package lsof-4.82-5.el6.x86_64 already installed and latest version Nothing to do [root@tk2-235-27297 tmp]# lsof /mnt lsof: can't fopen(/proc/mounts, "r"): No such file or directory [root@tk2-235-27297 tmp]# lsof /vda lsof: can't fopen(/proc/mounts, "r"): No such file or directory [root@tk2-235-27297 tmp]# umount /dev/vda4 umount: /: not mounted [root@tk2-235-27297 tmp]# df -h df: `/dev/pts': No such file or directory df: `/dev/shm': No such file or directory df: `/proc/sys/fs/binfmt_misc': No such file or directory Filesystem Size Used Avail Use% Mounted on /dev/vda3 97G 92G 28M 100% / sysfs 97G 92G 28M 100% /sys /dev/vda1 97G 92G 28M 100% /boot /dev/vda4 97G 92G 28M 100% /
###試したこと
mount umount
###補足情報(言語/FW/ツール等のバージョンなど)
CenoOS6.8
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。