![不存在的 RAID 导致崩溃](https://linux22.com/image/210094/%E4%B8%8D%E5%AD%98%E5%9C%A8%E7%9A%84%20RAID%20%E5%AF%BC%E8%87%B4%E5%B4%A9%E6%BA%83.png)
根据 ,我的 RAID 不存在mdadm md10
。
它定期使我的操作系统完全崩溃并出现错误:
访问 md10 超时。
有没有另一种方法可以删除它 - 它确实不存在于mdadm
其他地方,就像gparted
在我的系统中看不到它一样。
cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
md127 : active raid5 sde18[3] sdb4[4] sdb17[1]
409335808 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU]
bitmap: 0/2 pages [0KB], 65536KB chunk
unused devices: <none>
md10一氧化氮
这是日志的一部分,只是确认“md10”在某处配置...问题仍然存在 - 在哪里?
:0\x2dpart1.device/start failed with result 'timeout'.
Sep 01 19:12:46 q5-desktop systemd[1]: dev-disk-by\x2dpath-pci\x2d0000:00:14.0\x2dusb\x2d0:1.3:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.device: Job dev-disk-by\x2dpath-pci\x2d0000:00:14.0\x2dusb\x2d0:1.3:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.device/start timed out.
Sep 01 19:12:46 q5-desktop systemd[1]: Timed out waiting for device /dev/disk/by-path/pci-0000:00:14.0-usb-0:1.3:1.0-scsi-0:0:0:0-part5.
Sep 01 19:12:46 q5-desktop systemd[1]: Dependency failed for /mnt/pci-0000:00:14.0-usb-0:1.3:1.0-scsi-0:0:0:0-part5.
Sep 01 19:12:46 q5-desktop systemd[1]: mnt-pci\x2d0000:00:14.0\x2dusb\x2d0:1.3:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.mount: Job mnt-pci\x2d0000:00:14.0\x2dusb\x2d0:1.3:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.mount/start failed with result 'dependency'.
Sep 01 19:12:46 q5-desktop systemd[1]: dev-disk-by\x2dpath-pci\x2d0000:00:14.0\x2dusb\x2d0:1.3:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.device: Job dev-disk-by\x2dpath-pci\x2d0000:00:14.0\x2dusb\x2d0:1.3:1.0\x2dscsi\x2d0:0:0:0\x2dpart5.device/start failed with result 'timeout'.
Sep 01 19:12:46 q5-desktop systemd[1]: dev-md10.device: Job dev-md10.device/start timed out.
Sep 01 19:12:46 q5-desktop systemd[1]: Timed out waiting for device /dev/md10.
Sep 01 19:12:46 q5-desktop systemd[1]: Dependency failed for /mnt/md10.
Sep 01 19:12:46 q5-desktop systemd[1]: mnt-md10.mount: Job mnt-md10.mount/start failed with result 'dependency'.
Sep 01 19:12:46 q5-desktop systemd[1]: dev-md10.device: Job dev-md10.device/start failed with result 'timeout'.
我最好的猜测是 - 一个不完整的 RAID 5 - 也许只有一个磁盘 - 正在以某种方式尝试恢复 md10...必须安装 RAID“设备”,但失败了...
我可以“列出所有安装的设备”吗?
这是要求的cat /etc/fstab
我确实运行了最后一个建议来“删除”安装,但无法访问该安装以在此处复制。在这里完成编辑后我会尝试。
$ 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>
# / was on /dev/sde31 during installation
UUID=8a11a155-c003-4bf8-9eb6-9505e4a88085 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sde1 during installation
UUID=2792-8CD9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0
/dev/md10 /mnt/md10 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/disk/by-id/usb-VendorCo_ProductCode_9718791054593227694-0:0-part1 /mnt/usb-VendorCo_ProductCode_9718791054593227694-0:0-part1 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=USB_125_J 0 0
/dev/disk/by-id/usb-VendorCo_ProductCode_0769581094151700277-0:0 /mnt/usb-VendorCo_ProductCode_0769581094151700277-0:0 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-symbolic-icon=USB_125_2 0 0
/dev/disk/by-id/usb-VendorCo_ProductCode_9718791054593227694-0:0-part2 /mnt/usb-VendorCo_ProductCode_9718791054593227694-0:0-part2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-symbolic-icon=USB_124_PART_2 0 0
/dev/disk/by-path/pci-0000:00:14.0-usb-0:1.3:1.0-scsi-0:0:0:0-part5 /mnt/pci-0000:00:14.0-usb-0:1.3:1.0-scsi-0:0:0:0-part5 auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=MDI_RAID_5 /mnt/MDI_RAID_5 auto nosuid,nodev,nofail,x-gvfs-show 0 0
/dev/md127 /mnt/md127 auto nosuid,nodev,nofail,x-gvfs-show 0 0
答案1
您有与 /dev/md10 相关的 systemd 单元。它想要将 /dev/md10 挂载到 /mnt/md10。
禁用它
systemctl disable mnt-md10.mount
fstab 中也有
/dev/md10 /mnt/md10 auto nosuid,nodev,nofail,x-gvfs-show 0 0
注释掉这一行。