前几天好像buyvm掉存储块了,H@H中断,今天在闲置小盘鸡上恢复一下,顺便记录下过程。
debian系统
查看id
ls /dev/disk/by-id/
scsi-0BUYVM_SLAB_VOLUME-6793
直接挂载到之前目录
mount -o discard,defaults /dev/disk/by-id/scsi-0BUYVM_SLAB_VOLUME-6793 /pan
开机自启
echo '/dev/disk/by-id/scsi-0BUYVM_SLAB_VOLUME-6793 /pan ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
看一眼结果
df -h
返回 /dev/sda 2.0T 2.2G 1.9T 1% /pan
成功,开始重启H@H
cd /pan/eh/hath
java -jar HentaiAtHome.jar
提示[ERROR] {hath.base.HentaiAtHomeClient.dieWithError(HentaiAtHomeClient.java:373)} If the cache has been deleted or is otherwise lost, you have to manually reset your static ranges from the H@H settings page.
重置缓存后重新开启,正常
java -jar HentaiAtHome.jar
先ctrl+c退出,再后台运行
screen java -jar HentaiAtHome.jar &
完事
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容