忽然停电,第三块硬盘在快照与存储总管里面显示错误:未挂载。重启NAS后打开此目录下各文件夹提示不存在。联系了了上海总部的售后电话,没几分钟就打过来了,cmd运行了下面的命令就好了。

[~] # md_



[~] # md_checker

Welcome to MD superblock checker (v2.0) - have a nice day~

Scanning system...


RAID metadata found!
UUID:           e3bd4ed7:de4cc94e:28ed3283:089c6e46
Level:          raid1
Devices:        1
Name:           md1
Chunk Size:     -
md Version:     1.0
Creation Time:  Nov 1 23:16:39 2019
Status:         ONLINE (md1) [U]
===============================================================================================
 Enclosure | Port | Block Dev Name | # | Status |   Last Update Time   | Events | Array State
===============================================================================================
 NAS_HOST       1        /dev/sdb3   0   Active   Oct  9 11:32:56 2022       89   A
===============================================================================================


RAID metadata found!
UUID:           59639ace:32aeb322:369d4269:f68f2bbf
Level:          raid1
Devices:        1
Name:           md2
Chunk Size:     -
md Version:     1.0
Creation Time:  Nov 1 23:22:31 2019
Status:         ONLINE (md2) [U]
===============================================================================================
 Enclosure | Port | Block Dev Name | # | Status |   Last Update Time   | Events | Array State
===============================================================================================
 NAS_HOST       2        /dev/sdc3   0   Active   Oct  9 11:32:56 2022       14   A
===============================================================================================


RAID metadata found!
UUID:           e91ddafa:ee8c7472:3f6e6d46:7963255b
Level:          raid1
Devices:        1
Name:           md3
Chunk Size:     -
md Version:     1.0
Creation Time:  May 15 10:31:40 2022
Status:         OFFLINE
===============================================================================================
 Enclosure | Port | Block Dev Name | # | Status |   Last Update Time   | Events | Array State
===============================================================================================
 NAS_HOST       3        /dev/sda3   0   Active   Oct  9 10:51:27 2022        2   A
===============================================================================================

[~] # /etc/init.d/init_lvm.sh
Changing old config name...
mv: can't rename '/etc/config/qdrbd.conf': No such file or directory
Reinitialing...
Detect disk(8, 0)...
dev_count ++ = 0Detect disk(8, 16)...
dev_count ++ = 1Detect disk(8, 32)...
dev_count ++ = 2Detect disk(251, 0)...
ignore non-root enclosure disk(251, 0).
Detect disk(8, 0)...
Detect disk(8, 16)...
Detect disk(8, 32)...
Detect disk(251, 0)...
ignore non-root enclosure disk(251, 0).
sh: /sys/block/sdb/device/qnap_param_latency: Permission denied
sh: /sys/block/sdc/device/qnap_param_latency: Permission denied
sh: /sys/block/sda/device/qnap_param_latency: Permission denied
sg_simple0: Inquiry SG_IO ioctl error: Invalid argument
sys_startup_p2:got called count = -1
Done

[~] # md_checker

Welcome to MD superblock checker (v2.0) - have a nice day~

Scanning system...


RAID metadata found!
UUID:           e3bd4ed7:de4cc94e:28ed3283:089c6e46
Level:          raid1
Devices:        1
Name:           md1
Chunk Size:     -
md Version:     1.0
Creation Time:  Nov 1 23:16:39 2019
Status:         ONLINE (md1) [U]
===============================================================================================
 Enclosure | Port | Block Dev Name | # | Status |   Last Update Time   | Events | Array State
===============================================================================================
 NAS_HOST       1        /dev/sdb3   0   Active   Oct  9 11:34:34 2022       89   A
===============================================================================================


RAID metadata found!
UUID:           59639ace:32aeb322:369d4269:f68f2bbf
Level:          raid1
Devices:        1
Name:           md2
Chunk Size:     -
md Version:     1.0
Creation Time:  Nov 1 23:22:31 2019
Status:         ONLINE (md2) [U]
===============================================================================================
 Enclosure | Port | Block Dev Name | # | Status |   Last Update Time   | Events | Array State
===============================================================================================
 NAS_HOST       2        /dev/sdc3   0   Active   Oct  9 11:34:09 2022       14   A
===============================================================================================


RAID metadata found!
UUID:           e91ddafa:ee8c7472:3f6e6d46:7963255b
Level:          raid1
Devices:        1
Name:           md3
Chunk Size:     -
md Version:     1.0
Creation Time:  May 15 10:31:40 2022
Status:         ONLINE (md3) [U]
===============================================================================================
 Enclosure | Port | Block Dev Name | # | Status |   Last Update Time   | Events | Array State
===============================================================================================
 NAS_HOST       3        /dev/sda3   0   Active   Oct  9 11:34:23 2022        2   A
===============================================================================================

[~] # df
Filesystem                Size      Used Available Use% Mounted on
none                     67.0M     43.5M     23.5M  65% /
devtmpfs                744.3M      4.0K    744.3M   0% /dev
tmpfs                    64.0M    988.0K     63.0M   2% /tmp
tmpfs                   770.5M    156.0K    770.4M   0% /dev/shm
tmpfs                    16.0M         0     16.0M   0% /share
tmpfs                    16.0M         0     16.0M   0% /mnt/snapshot/export
/dev/md9                493.5M    373.5M    119.9M  76% /mnt/HDA_ROOT
cgroup_root             770.5M         0    770.5M   0% /sys/fs/cgroup
/dev/mapper/cachedev1
                         10.7T      9.5T      1.2T  89% /share/CACHEDEV1_DATA
/dev/mapper/cachedev2
                         10.7T     10.3T    374.1G  97% /share/CACHEDEV2_DATA
/dev/md13               417.0M    389.6M     27.4M  93% /mnt/ext
tmpfs                    32.0M     27.2M      4.8M  85% /samba_third_party
tmpfs                     1.0M         0      1.0M   0% /share/external/.cm
tmpfs                     1.0M         0      1.0M   0% /mnt/hm/temp_mount
tmpfs                     8.0M         0      8.0M   0% /var/syslog_maildir
tmpfs                    48.0M     52.0K     47.9M   0% /share/CACHEDEV1_DATA/.samba/lock/msg.lock
tmpfs                    16.0M         0     16.0M   0% /mnt/ext/opt/samba/private/msg.sock
tmpfs                     1.0M         0      1.0M   0% /share/.quftp_client
tmpfs                    16.0M         0     16.0M   0% /share/NFSv=4
/dev/mapper/cachedev1
                         10.7T      9.5T      1.2T  89% /share/NFSv=4/Public
tmpfs                     4.0K         0      4.0K   0% /tmp/default_dav_root
tmpfs                     1.0M         0      1.0M   0% /share/external/.nd
/dev/mapper/cachedev3
                         10.7T      2.6T      8.1T  24% /share/CACHEDEV3_DATA
[~] #