March 22, 20242 yr 缓存池有两个ssd,做的brtfs raid1,想换成单盘缓存池,于是先将brtfs换成了单一模式,然后拿下一个ssd 重新启动阵列,结果无法识别,现在两个ssd重新回到缓存池也没有办法,全部无法挂载,应该怎么操作恢复,并且改成单盘模式 unraid-diagnostics-20240322-1138.zip
March 22, 20242 yr Spoiler Jan 1 08:49:26 unraid emhttpd: shcmd (426): mkdir -p /mnt/cache Jan 1 08:49:26 unraid emhttpd: /sbin/btrfs filesystem show b00fde2d-6f55-458b-9d95-3e684897c984 2>&1 Jan 1 08:49:26 unraid emhttpd: ERROR: failed to read block groups: Input/output error Jan 1 08:49:26 unraid emhttpd: Label: none uuid: b00fde2d-6f55-458b-9d95-3e684897c984 Jan 1 08:49:26 unraid emhttpd: Total devices 2 FS bytes used 188.64GiB Jan 1 08:49:26 unraid emhttpd: devid 1 size 476.94GiB used 98.06GiB path /dev/nvme1n1p1 Jan 1 08:49:26 unraid emhttpd: *** Some devices missing Jan 1 08:49:26 unraid emhttpd: /mnt/cache uuid: b00fde2d-6f55-458b-9d95-3e684897c984 Jan 1 08:49:26 unraid emhttpd: shcmd (427): mount -t btrfs -o noatime,space_cache=v2,degraded -U b00fde2d-6f55-458b-9d95-3e684897c984 /mnt/cache Jan 1 08:49:26 unraid kernel: BTRFS info (device nvme1n1p1): first mount of filesystem b00fde2d-6f55-458b-9d95-3e684897c984 Jan 1 08:49:26 unraid kernel: BTRFS info (device nvme1n1p1): using crc32c (crc32c-intel) checksum algorithm Jan 1 08:49:26 unraid kernel: BTRFS info (device nvme1n1p1): allowing degraded mounts Jan 1 08:49:26 unraid kernel: BTRFS info (device nvme1n1p1): using free space tree Jan 1 08:49:26 unraid kernel: BTRFS warning (device nvme1n1p1): devid 2 uuid c87c3ee6-fdb0-4649-af24-9fa22fbf1038 is missing Jan 1 08:49:27 unraid kernel: BTRFS error (device nvme1n1p1): failed to read block groups: -5 Jan 1 08:49:27 unraid kernel: BTRFS error (device nvme1n1p1): open_ctree failed Jan 1 08:49:27 unraid root: mount: /mnt/cache: wrong fs type, bad option, bad superblock on /dev/nvme1n1p1, missing codepage or helper program, or other error. Jan 1 08:49:27 unraid root: dmesg(1) may have more information after failed mount system call. Jan 1 08:49:27 unraid emhttpd: shcmd (427): exit status: 32 Jan 1 08:49:27 unraid emhttpd: /mnt/cache mount error: Unsupported or no file system 日志信息提示由于 IO 问题导致 BTRFS 文件系统出错,所以识别不出来文件系统进而无法挂载。 你可能需要手动挂载 NVME 盘的 BTRFS 文件系统为只读模式,然后把文件拷贝出来之后再重新格式化进行使用。 1. 停止阵列,把缓存池删掉,释放两个 M2 盘出来。 2. 启动阵列,使用下面的命令挂载两个 M2 盘其中的一个(因为你组的是 raid1 ,挂载哪一个都一样),例如 /dev/nvme0n1p1 : mount -o usebackuproot,ro /dev/nvme0n1p1 /tempmount 3. 挂载之后你就可以使用 rsync 命令将挂载目录 /tempmount 目录里面的东西拷贝出去了(把 /mnt/user/xxxx 改成你共享文件夹的名字,可以可单独创建一个共享文件夹用于接收备份文件): rsync -aPvhz --append-verify /tempmount /mnt/user/xxxx Edited March 22, 20242 yr by JackieWu
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.