我正在尝试启动我的系统,但它给出了一个错误,因为
"An error occurred while mounting home/jack/jack-app/machine_config "
Press S skip to mounting or M for manual recovery
之后我重启了系统,一切正常。为了解决这个错误,我查看了/var/log/boot.log
。然后我得到了实际的错误
mount: special device /machine_config/jack does not exist
mountall: mount /home/jack/jack-app/machine_config [601] terminated with status 32
mountall: Filesystem could not be mounted: /home/jack/jack-app/machine_config
所以我尝试查看/machine_config
目录,结果jack
发现目录不存在,而Lost+found
目录却存在。我不知道这个目录是如何形成的。
所以我有以下问题:
该目录是如何
Lost+found
形成的。如果我创建了一个目录,就像文件夹
jack
中一样/macine_config
,是否会导致任何问题,或者有其他解决方案可以解决该问题当我评论该问题时,它是否会给其他人带来一些问题。
提前致谢。
Here is my fstab file
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
UUID=cb677870-6f0a-49bf-b6f6-0b6f25e7180f /boot ext4 sync,user_xattr,relatime 0 2
/dev/mapper/jack-logging /var/log ext4 user_xattr,relatime 0 2
/dev/mapper/jack-machine_config /machine_config ext4 user_xattr,relatime 0 2
/dev/mapper/jack-videos /videos ext4 user_xattr,relatime 0 2
/var/log/jack /home/jack/video-jack-app/log none bind,nobootwait 0 0
/machine_config/jack /home/jack/video-jack-app/machine_config none bind,nobootwait 0 0
/videos/jack /home/jack/video-jack-app/video-output none bind,nobootwait 0 0
/dev/mapper/jack-swap none swap sw 0 0
这是我的输出自由度命令
udev 1917840 4 1917836 1% /dev
tmpfs 772248 876 771372 1% /run
none 5120 0 5120 0% /run/lock
none 1930620 2224 1928396 1% /run/shm
none 102400 0 102400 0% /run/user
/dev/mapper/jack-machine_config 11895 1132 10149 11% /machine_config
/dev/sda1 10321208 824604 8972316 9% /boot
/dev/mapper/jack-logging 12385456 232180 11587052 2% /var/log
/dev/mapper/jack-videos 30963708 178868 29211984 1% /videos
答案1
看来正确的路径是 home/jack/video-jack-app/machine_config,因此如果缩短为 home/jack/jack-app/machine_config 的路径中缺少视频,则会引发错误,因为路径不存在。
您建议的选项 2 或 3 都不会产生预期的结果,关于选项 1,请参阅上面 Wilf 的评论