Direct access to a disk which was part of RAID 1

Questions about SNMP, Power, System, Logs, disk, & RAID.
User avatar
dolbyman
Guru
Posts: 35276
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Direct access to a disk which was part of RAID 1

Post by dolbyman »

fredrogers wrote:
dolbyman wrote:linux md is well documented .. and if you use static volumes instead of pools you also take lvm out of the equation
Interesting... a few hours ago you said you didn't understand why suggesting basic RAID-1 was a "helpful tip." Seems you have answered your own question. Avoid the LVM/storage pools, you can often get your data back relatively easily with mdadm. And with RAID-1, you can do it with just 1 surviving disk, instead of trying to hook up 3 or more with RAID-5.
where did I mention raid1 here ?
linux md is used for all raid types

no idea why we are turning in circles here...raid is not a backup...raid recovery should never be part of your recovery strategy ...keep a backup of your data in a separate location (bankvault ..friends house)

everything else is splitting hairs for argument sake
fredrogers
Starting out
Posts: 19
Joined: Fri Oct 05, 2018 7:07 am

Re: Direct access to a disk which was part of RAID 1

Post by fredrogers »

MrVideo wrote:
fredrogers wrote:who is trying to be responsible with his/her data by purchasing a NAS, without realizing that the default or recommended configuration actually puts his/her data at significant risk of loss
That is just plain bull **.
How is it bull? The original poster would be able to get his data back if he hadn't used the recommended storage pool feature which added LVM. Had he stayed away from LVM, he could almost surely get his data back with mdadm. I'm not the only one on this thread who has noted that.
MrVideo wrote:
fredrogers wrote:With that said, using your scenario, let's say a 6-bay unit stops working. Drives are fine, the NAS isn't. What *exactly* is your recovery scenario? Have you tested it? Have you actually recovered a failed RAID-5 or 6 drive array before? How long did it take? How much did it cost? Do you have all the equipment to hook up all the drives, in your home right now? Does your backup contain files you saved an hour ago? Yesterday? Two weeks ago? If your backup fails during recovery (not impossible, when restoring 10-20TB+ of data), what's the backup to the backup plan?
Wow, you sound like a defeatist.
And you sound like someone who doesn't want to admit his recovery plan isn't actually very well thought-out.
fredrogers
Starting out
Posts: 19
Joined: Fri Oct 05, 2018 7:07 am

Re: Direct access to a disk which was part of RAID 1

Post by fredrogers »

dolbyman wrote:
fredrogers wrote:
dolbyman wrote:linux md is well documented .. and if you use static volumes instead of pools you also take lvm out of the equation
Interesting... a few hours ago you said you didn't understand why suggesting basic RAID-1 was a "helpful tip." Seems you have answered your own question. Avoid the LVM/storage pools, you can often get your data back relatively easily with mdadm. And with RAID-1, you can do it with just 1 surviving disk, instead of trying to hook up 3 or more with RAID-5.
where did I mention raid1 here ?
linux md is used for all raid types

no idea why we are turning in circles here...raid is not a backup...raid recovery should never be part of your recovery strategy ...keep a backup of your data in a separate location (bankvault ..friends house)

everything else is splitting hairs for argument sake
If your backup is in a bank vault or friend's house, it is unlikely to contain your latest data. It is probably missing the last few days or weeks of data. Do you visit your bank every single day? Of course not. Just one reason why "backups" are not an ideal solution when a NAS fails.
User avatar
dolbyman
Guru
Posts: 35276
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Direct access to a disk which was part of RAID 1

Post by dolbyman »

do a cloud backup then ..replication to a distant nas

there is always a solution to the problem ..unless you find a problem to each solution
User avatar
Trexx
Ask me anything
Posts: 5388
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: Direct access to a disk which was part of RAID 1

Post by Trexx »

I think we are digressing from helping the OP at this point.


Sent from my iPad using Tapatalk
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
fredrogers
Starting out
Posts: 19
Joined: Fri Oct 05, 2018 7:07 am

Re: Direct access to a disk which was part of RAID 1

Post by fredrogers »

Yes, let's get back to insulting him (like storageman) and reminding him how stupid he was for expecting his 2-month old file storage device to, you know, safely store his files!

OP, here are a few more possible things to check out. I sincerely hope one of them will help you recover your data. Please report back if you have any success, it will help people in the future who are currently in your situation.
https://wiredverse.com/2016/06/recoving ... -one-disk/
https://askubuntu.com/questions/60240/v ... -windows-7
https://partedmagic.com/
https://ubuntuforums.org/showthread.php?t=2290548
https://www.fossmint.com/linux-rescue-recovery-tools/
User avatar
MrVideo
Experience counts
Posts: 4742
Joined: Fri May 03, 2013 2:26 pm

Re: Direct access to a disk which was part of RAID 1

Post by MrVideo »

dolbyman wrote:no idea why we are turning in circles here...raid is not a backup...raid recovery should never be part of your recovery strategy ...keep a backup of your data in a separate location (bankvault ..friends house)
I totally agree. fredroger's idea to only use RAID1, without LVM (storage pool) is just plain bull.
QTS MANUALS
Submit QNAP Support Ticket - QNAP Tutorials, FAQs, Downloads, Wiki - Product Support Status - Moogle's QNAP FAQ help V2
Asking a question, include the following
(Thanks to Toxic17)
QNAP md_checker nasreport (release 20210309)
===============================
Model: TS-869L -- RAM: 3G -- FW: QTS 4.1.4 Build 20150522 (used for data storage)
WD60EFRX-68L0BN1(x1)/68MYMN1(x7) Red HDDs -- RAID6: 8x6TB -- Cold spare: 1x6TB
Entware
===============================
Model: TS-451A -- RAM: 2G -- FW: QTS 4.5.2 Build 20210202 (used as a video server)
WL3000GSA6472(x3) White label NAS HDDs -- RAID5: 3x3TB
Entware -- MyKodi 17.3 (default is Kodi 16)
===============================
My 2017 Total Solar Eclipse Photos | My 2019 N. Ireland Game of Thrones tour
fredrogers
Starting out
Posts: 19
Joined: Fri Oct 05, 2018 7:07 am

Re: Direct access to a disk which was part of RAID 1

Post by fredrogers »

My "bull" offers people like buonboy a way to get their files back. Your way, using storage pools, doesn't.
User avatar
storageman
Ask me anything
Posts: 5506
Joined: Thu Sep 22, 2011 10:57 pm

Re: Direct access to a disk which was part of RAID 1

Post by storageman »

fredrogers wrote:My "bull" offers people like buonboy a way to get their files back. Your way, using storage pools, doesn't.
11 posts and you've already alienated quite a few people - good luck for the future on the forum.

You're way off if your advice is not to use LVM and you don't need to keep backups.

As for kicking someone when they're down, there is simply no excuse for not keeping backups. Said a million times here.
fredrogers
Starting out
Posts: 19
Joined: Fri Oct 05, 2018 7:07 am

Re: Direct access to a disk which was part of RAID 1

Post by fredrogers »

I *NEVER* said don't keep backups. Of course you should keep backups. Anyone who is reading this: make backups!

But the original poster doesn't have them. So the question is what to do now? All you did was tell the guy he was out of luck, and further, you said "A bad workman blames his tools, you should have kept backups." Yea, that is kicking a guy when he is down. How about just keeping your mouth shut if that is all you have to contribute.

Using RAID-1 and avoiding storage pools does not prevent anyone from making backups. But as I have stated many times here, and which you haven't disputed, is that a backup is likely to not be 100% perfect -- probably because it doesn't hold the very latest data, or it fails itself during recovery. With RAID-1 and no storage pool, YOU CAN STILL RECOVER. Even you yourself stated that.
buonboy
Starting out
Posts: 11
Joined: Fri Oct 05, 2018 6:30 pm

Re: Direct access to a disk which was part of RAID 1

Post by buonboy »

fredrogers wrote:OP, here are a few more possible things to check out. I sincerely hope one of them will help you recover your data. Please report back if you have any success, it will help people in the future who are currently in your situation.
https://wiredverse.com/2016/06/recoving ... -one-disk/
https://askubuntu.com/questions/60240/v ... -windows-7
https://partedmagic.com/
https://ubuntuforums.org/showthread.php?t=2290548
https://www.fossmint.com/linux-rescue-recovery-tools/
I'm still trying to recover my data with a recovery software in Windows (EaseUS Data Recovery), it's very slow and do not recognize my directory structure, but at least I have a copy of my data.
As soon as it will finish, I will try your solutions. Thank you.
buonboy
Starting out
Posts: 11
Joined: Fri Oct 05, 2018 6:30 pm

Re: Direct access to a disk which was part of RAID 1

Post by buonboy »

In Linux we got the following error (for both HDDs):
WARNING: Unrecognized segment type tier-thin-pool
LV tp1, segment 1 invalid: does not support flag ERROR_WHEN_FULL. for tier-thin-pool segment.
Internal error: LV segments corrupted in tp1.

I asked QNAP if I can send them the HDDs together with the NAS so they can fix also this issue, they told me (after 2-3 days) they don't care about the HDDs and they will accept just the NAS, even if the HDDs are corrupted cause of their NAS... Such a delusion with QNAP...

Any idea about that error how to repair it?
User avatar
storageman
Ask me anything
Posts: 5506
Joined: Thu Sep 22, 2011 10:57 pm

Re: Direct access to a disk which was part of RAID 1

Post by storageman »

That 231P2 must still be under warranty.
Don't mess with those disks, wait for Qnap/reseller to send you back replacement/repaired unit, then try the drives in that.
Might be nothing wrong with the disks still , as long as all the tools you've tried haven't messed with the partitions.

I don't think you ever said at the start of this saga, how do you know the 231P2 is faulty? Did you test turning it on without drives? Does it actually boot?
buonboy
Starting out
Posts: 11
Joined: Fri Oct 05, 2018 6:30 pm

Re: Direct access to a disk which was part of RAID 1

Post by buonboy »

One evening I found the NAS turned off by itself and after that it does not turn on anymore, obviously I've already tried without HDDs. The only signal of life is the LAN port's LED which turns on when connect to an Ethernet cable.
QNAP service told me in this case it's faulty and I have to send it back for repairment.

Yes anyway I guess I have to wait and test again after repairment, hoping HDDs will work again, with all my data.
User avatar
storageman
Ask me anything
Posts: 5506
Joined: Thu Sep 22, 2011 10:57 pm

Re: Direct access to a disk which was part of RAID 1

Post by storageman »

Is the external power adapter working? Is the fuse checked?
http://shop.qnap.com/index.php?route=pr ... uct_id=160
Post Reply

Return to “System & Disk Volume Management”