Data volume not mounting

Printers, HDDs, USB/eSATA drives, 3rd-party programs
Post Reply
Andyrew45
New here
Posts: 6
Joined: Wed Oct 20, 2021 2:07 am

Data volume not mounting

Post by Andyrew45 »

Hi All,

First time post…. Go easy on me :)

I’m hoping someone can point me in the right direction!

Long story short: Had a power cut and had to a use firmware recovery to get the NAS back up and running (TS-453B)

All updated, however my storage pool can not be recovered. The option is greyed out for raid recovery.

I’m using 3 disks on Raid 5 - All green a healthy disks, 3 disks only 4 months old.

I’ve set up SSH, but here is where I’m lost.

I did run one command already with the results copied below.

Please please can anyone help me and don’t tell me to create a ticket 🤣


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


/usr/bin/md_checker: line 20: /tmp/RaidUUID: Permission denied
/usr/bin/md_checker: line 21: /tmp/mdinfo: Permission denied
/usr/bin/md_checker: line 22: /tmp/mdinfo_u: Permission denied
/usr/bin/md_checker: line 25: /mnt/HDA_ROOT/md_backup_2021-10-19_17.31.16: Permission denied
Scanning system...

/usr/bin/md_checker: line 31: /tmp/md_stat: Permission denied
/usr/bin/md_checker: line 35: /tmp/md_uuid: Permission denied
/usr/bin/md_checker: line 35: /tmp/md_uuid: Permission denied
/usr/bin/md_checker: line 40: /tmp/md_online: Permission denied
/usr/bin/md_checker: line 43: /tmp/disks: Permission denied
/usr/bin/md_checker: line 64: /tmp/md_dump: Permission denied
/usr/bin/md_checker: line 64: /tmp/md_dump: Permission denied
/usr/bin/md_checker: line 64: /tmp/md_dump: Permission denied
/usr/bin/md_checker: line 64: /tmp/md_dump: Permission denied
/usr/bin/md_checker: line 64: /tmp/md_dump: Permission denied

RAID metadata found!
UUID: 50f28acd:ade7fdc9:5ed4c0e4:f25a962a
Level: raid5
Devices: 3
Name: md2
Chunk Size: 512K
md Version: 1.0
Creation Time: Dec 19 11:36:22 2020
Status: ONLINE (md2) [UUU]
===============================================================================================
Enclosure | Port | Block Dev Name | # | Status | Last Update Time | Events | Array State
===============================================================================================
/usr/bin/md_checker: line 141: /tmp/mdinfo_u: Permission denied
NAS_HOST P1-1 /dev/nvme0n1p3 0 Active Oct 18 22:19:47 2021 14 A
---------------------------------- 1 Missing -------------------------------------------
---------------------------------- 2 Missing -------------------------------------------
===============================================================================================


RAID metadata found!
UUID: ef7429a3:0d734b87:c2fa82f4:4d499ee1
Level: raid1
Devices: 1
Name: md1
Chunk Size: -
md Version: 1.0
Creation Time: Oct 4 20:57:31 2021
Status: ONLINE (md1)
===============================================================================================
Enclosure | Port | Block Dev Name | # | Status | Last Update Time | Events | Array State
===============================================================================================
/usr/bin/md_checker: line 141: /tmp/mdinfo_u: Permission denied
NAS_HOST P1-1 /dev/nvme0n1p3 0 Active Oct 18 22:19:47 2021 14 A
===============================================================================================
User avatar
dolbyman
Guru
Posts: 34903
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Data volume not mounting

Post by dolbyman »

Have you applied the latest firmware update again ? ..

otherwise it looks like some disks are not recognized (NVMe addon card ? ) .. hope you have backups
Andyrew45
New here
Posts: 6
Joined: Wed Oct 20, 2021 2:07 am

Re: Data volume not mounting

Post by Andyrew45 »

Thanks for getting back to me!

I thought I was being safe by using RAID 5.

NVMe is only used for accelerated cache
User avatar
dolbyman
Guru
Posts: 34903
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Data volume not mounting

Post by dolbyman »

RAID is never a backup .. you just discovered that

So did you reapply the current firmware ?

I also marked this for deletion as it's a duplicate
viewtopic.php?f=25&t=163343
Andyrew45
New here
Posts: 6
Joined: Wed Oct 20, 2021 2:07 am

Re: Data volume not mounting

Post by Andyrew45 »

Yes updated to the version just below QTS 5
User avatar
dolbyman
Guru
Posts: 34903
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Data volume not mounting

Post by dolbyman »

With all the "permission denied" errors in that script it seems like a botched up QTS install.

Can you try a firmware install via SSH
https://www.qnap.com/en-in/how-to/knowl ... are-by-ssh?
Andyrew45
New here
Posts: 6
Joined: Wed Oct 20, 2021 2:07 am

Re: Data volume not mounting

Post by Andyrew45 »

[~] # parted /dev/sda print
Model: HGST HUH721010ALE600 (scsi)
Disk /dev/sda: 10.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 20.5kB 543MB 543MB ext3 primary
2 543MB 1086MB 543MB linux-swap(v1) primary
3 1086MB 9992GB 9991GB primary
4 9992GB 9992GB 543MB ext3 primary
5 9992GB 10.0TB 8554MB linux-swap(v1) primary

[~] # mdadm -E
mdadm: No devices to examine
[~] # mdadm -CfR --assume-clea
mdadm: an md device must be given in this mode
[~] # mount /dev/md0 /share/MD0_DATA -t ext3
mount: mount point /share/MD0_DATA does not exist
[~] # mount /dev/md0 /share/MD0_DATA-t ext4
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
[~] # e2fsck / e2fsck_64 to check
Usage: e2fsck [-panyrcdfktvDFV] [-b superblock] [-B blocksize]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] [-z undo_file] device

Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list
-z undo_file Create an undo file
-q volume_no Recover journal
-s Show hash revision
[~] # -P
-sh: -P: command not found
[~] # e2fsck -ay /dev/md0
e2fsck: Only one of the options -p/-a, -n or -y may be specified.
[~] # -P
-sh: -P: command not found
[~] # -p/-a
-sh: -p/-a: No such file or directory
[~] # more /proc/mdsta
more: /proc/mdsta: No such file or directory
[~] # usr/local/sbin/dumpe2fs /dev/md0 | grep superblock
-sh: usr/local/sbin/dumpe2fs: No such file or directory
[~] # e2fsck -b 32768 /dev/md0
e2fsck 1.43.9 (8-Feb-2018)
e2fsck: No such file or directory while trying to open /dev/md0
Possibly non-existent device?
[~] # e2fsck
Usage: e2fsck [-panyrcdfktvDFV] [-b superblock] [-B blocksize]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] [-z undo_file] device

Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list
-z undo_file Create an undo file
-q volume_no Recover journal
-s Show hash revision
[~] # -p
-sh: -p: command not found
[~] # -b
-sh: -b: command not found
[~] # md_checker

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

Scanning system...


RAID metadata found!
UUID: 50f28acd:ade7fdc9:5ed4c0e4:f25a962a
Level: raid5
Devices: 3
Name: md2
Chunk Size: 512K
md Version: 1.0
Creation Time: Dec 19 11:36:22 2020
Status: ONLINE (md2) [UUU]
===============================================================================================
Enclosure | Port | Block Dev Name | # | Status | Last Update Time | Events | Array State
===============================================================================================
NAS_HOST 1 /dev/sdc3 0 Active Oct 19 11:19:03 2021 1337481 AAA
NAS_HOST 2 /dev/sdd3 1 Active Oct 19 11:19:03 2021 1337481 AAA
NAS_HOST 3 /dev/sda3 2 Active Oct 19 11:19:03 2021 1337481 AAA
===============================================================================================


RAID metadata found!
UUID: ef7429a3:0d734b87:c2fa82f4:4d499ee1
Level: raid1
Devices: 1
Name: md1
Chunk Size: -
md Version: 1.0
Creation Time: Oct 4 20:57:31 2021
Status: ONLINE (md1)
===============================================================================================
Enclosure | Port | Block Dev Name | # | Status | Last Update Time | Events | Array State
===============================================================================================
NAS_HOST P1-1 /dev/nvme0n1p3 0 Active Oct 18 22:19:47 2021 14 A
===============================================================================================

[~] #
Andyrew45
New here
Posts: 6
Joined: Wed Oct 20, 2021 2:07 am

Re: Data volume not mounting

Post by Andyrew45 »

All of the RAID information is there
User avatar
dolbyman
Guru
Posts: 34903
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Data volume not mounting

Post by dolbyman »

normally I'd say try

Code: Select all

init_lvm.sh
But without backups .. it could be sketchy
Post Reply

Return to “Hardware & Software Compatibility”