重新启动服务器后,我通过nagios看到/ mnt / gimli仅在只读模式下可访问。但是我需要它可写,因为那里有一些备份。
要进入rw模式,我尝试卸载并重新安装/ mnt / gimli,但收到错误消息:“ mount:找不到UUID = f1953589-1c80-466b-91ad-6cfed92a4c38”
当我执行df -hT时,我可以看到它不再挂载,但是我无法重新挂载它。
我真的不知道该怎么做,因为它是服务器的重要组成部分,我也不想弄乱它。
这是blkid的输出
/dev/vda1: UUID="d71f1001-8e5e-416a-b3f1-16000626ebd9" TYPE="ext2" PTTYPE="dos" PARTUUID="00065439-01"
/dev/vda2: UUID="a656b9da-cc00-46e3-ae1e-be47c4ff6061" TYPE="ext4" PARTUUID="00065439-02"
/dev/vda3: UUID="b1989379-cd66-4fce-97d3-ec9cb73d2d02" TYPE="swap" PARTUUID="00065439-03"
/dev/vda5: UUID="89b7401f-f8eb-43cb-af11-a8a9a1811080" TYPE="ext4" PARTUUID="00065439-05"
/dev/vdb1: UUID="d8c920ae-69e2-4fde-9f46-a897bb680234" TYPE="ext4" PARTUUID="87b503d3-01"
/dev/vdc1: UUID="cc668f71-c51e-4b92-aae7-871b3bae9c16" TYPE="ext4" PARTUUID="7f7cf5dd-01"
以及cat / etc / fstab的输出:
# /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 defaults 0 0
# / was on /dev/sda2 during installation
UUID=a656b9da-cc00-46e3-ae1e-be47c4ff6061 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
#d71f1001-8e5e-416a-b3f1-16000626ebd9 /boot ext2 defaults 0 2
# /var was on /dev/sda5 during installation
/dev/vda5 /var ext4 defaults 0 2
# swap was on /dev/sda3 during installation
/dev/vda3 none swap sw 0 0
/dev/vdc1 /mnt/home ext4 defaults 0 2
/dev/vdb1 /mnt/data ext4 defaults 0 2
UUID=f1953589-1c80-466b-91ad-6cfed92a4c38 /mnt/gimli ext4 _netdev,defaults 0 0
#/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
# /dev/sdb1 /mnt/data ext4 defaults 0 2
#UUID=6c9a4b04-fd18-4682-a174-a0d158315be4 /mnt/home ext4 defaults 0 2
#gimli:/volume1/backups /mnt/gimli nfs rsize=8192,wsize=8192 0 0
#gimli:/volume1/serveurs /mnt/sauvegarde nfs rsize=8192,wsize=8192 0 0
#gimli:/volume1/versioning /mnt/versioning nfs rsize=8192,wsize=8192 0 0
#gimli:/volume1/old /mnt/old nfs rsize=8192,wsize=8192 0 0
UUID=d71f1001-8e5e-416a-b3f1-16000626ebd9 /boot ext2 defaults 0 2
因此,我希望能够按原样重新安装/ mnt / gimli,并且还想知道为什么它是唯一的在我的fstab上以UUID出现而不是/ dev / xxx
的原因。有人知道我该怎么做吗?
答案 0 :(得分:0)
我已经解决了这个问题。
由于它是Synology,因此我需要运行iscsid服务,但该服务丢失了。
我已经重新启动了未运行的open-iscsi,而正是该服务运行了iscsis.service。