Replacing a failing hard drive

Discussion on setting up QNAP NAS products.
Godrick
Know my way around
Posts: 119
Joined: Thu Apr 13, 2017 9:31 pm

Replacing a failing hard drive

Post by Godrick »

I have a TVS-682T. One of the 4 RAID 6 hard drives is indicating a SMART error (Current_Pending_Sector 16). I take this to mean that 16 sectors cannot be read. Both the long and the short disk tests show no errors.

The dashboard says that the drive is not in the best state. I have a replacement drive of the same type.

How do I go about replacing it?

The manual says:

Important: Do not install a new drive when the system is not in degraded mode [which it isn't], otherwise you may encounter unexpected system failures.

Should I just shut the QNAP down and replace the drive, or how swap it, eg?
User avatar
dolbyman
Guru
Posts: 35248
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Replacing a failing hard drive

Post by dolbyman »

take the faulty drive out while running (it will beep indicating it is degraded) and then put the new drive in

all while running..do not shut it down
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Replacing a failing hard drive

Post by Moogle Stiltzkin »

theres a video guide in my FAQ url in my signature for replacing hard drive.
dolbyman wrote:take the faulty drive out while running (it will beep indicating it is degraded) and then put the new drive in

all while running..do not shut it down
by the way i did this before in a 5 and 6 bay for raid5 and raid6.

but in video tutorial for hdd replacement they said to go storage manager click the buttons before swap out in turns. what exactly is the difference between the 2 methods?
Last edited by Moogle Stiltzkin on Thu Jul 06, 2017 6:19 am, edited 1 time in total.
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
Godrick
Know my way around
Posts: 119
Joined: Thu Apr 13, 2017 9:31 pm

Re: Replacing a failing hard drive

Post by Godrick »

Thanks! I had not spotted that replace disk option.
User avatar
dolbyman
Guru
Posts: 35248
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Replacing a failing hard drive

Post by dolbyman »

i guess the buttons would be useful if you cold swap the drives ...

maybe it would also stop you from replacing the wrong drive on degraded raid ?
User avatar
Moogle Stiltzkin
Guru
Posts: 11448
Joined: Thu Dec 04, 2008 12:21 am
Location: Around the world....
Contact:

Re: Replacing a failing hard drive

Post by Moogle Stiltzkin »

dolbyman wrote:i guess the buttons would be useful if you cold swap the drives ...

maybe it would also stop you from replacing the wrong drive on degraded raid ?
yeah that makes sense. i was wondering if doing it their way would mean faster rebuild, but maybe not.

the hot swap worked fine for me, also less fiddling with qts, as long as it gets the same job done :mrgreen:
NAS
[Main Server] QNAP TS-877 (QTS) w. 4tb [ 3x HGST Deskstar NAS & 1x WD RED NAS ] EXT4 Raid5 & 2 x m.2 SATA Samsung 850 Evo raid1 +16gb ddr4 Crucial+ QWA-AC2600 wireless+QXP PCIE
[Backup] QNAP TS-653A (Truenas Core) w. 4x 2TB Samsung F3 (HD203WI) RaidZ1 ZFS + 8gb ddr3 Crucial
[^] QNAP TL-D400S 2x 4TB WD Red Nas (WD40EFRX) 2x 4TB Seagate Ironwolf, Raid5
[^] QNAP TS-509 Pro w. 4x 1TB WD RE3 (WD1002FBYS) EXT4 Raid5
[^] QNAP TS-253D (Truenas Scale)
[Mobile NAS] TBS-453DX w. 2x Crucial MX500 500gb EXT4 raid1

Network
Qotom Pfsense|100mbps FTTH | Win11, Ryzen 5600X Desktop (1x2tb Crucial P50 Plus M.2 SSD, 1x 8tb seagate Ironwolf,1x 4tb HGST Ultrastar 7K4000)


Resources
[Review] Moogle's QNAP experience
[Review] Moogle's TS-877 review
https://www.patreon.com/mooglestiltzkin
Godrick
Know my way around
Posts: 119
Joined: Thu Apr 13, 2017 9:31 pm

Re: Replacing a failing hard drive

Post by Godrick »

dolbyman wrote:take the faulty drive out while running (it will beep indicating it is degraded) and then put the new drive in

all while running..do not shut it down

Errr ... the reason that I asked the question was that the manual says that you shouldn't do that, unless the raid is degraded, which it isn't.
User avatar
dolbyman
Guru
Posts: 35248
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Replacing a failing hard drive

Post by dolbyman »

taking the drive out while running, WILL degrade the raid (the beep)

it will NOT while shut down
ben79
Starting out
Posts: 13
Joined: Fri Jan 17, 2014 8:55 pm

Re: Replacing a failing hard drive

Post by ben79 »

Hello!

I'm in a similar situation to this. My QNAP has started showing the Current_Pending_Sector SMART error.

So the drive hasn't failed, yet and the RAID5 is still in place. I'm only using 3 drives on RAID5.

I have an identical replacement disk, but instead of replacing the failing drive first, I'm thinking I should add the drive as a 4th disk and migrate from RAID5 to RAID6 -- then replace the faulty drive.

Does that sound okay, or does can anyone suggest what my next step should be?

Did the OP end up just end up pulling out the failing drive and doing a hot-swap?


;-)
Ben
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: Replacing a failing hard drive

Post by Don »

Bad idea. Replaced the failing drive first.
Use the forum search feature before posting.

Use RAID and external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced, and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
ben79
Starting out
Posts: 13
Joined: Fri Jan 17, 2014 8:55 pm

Re: Replacing a failing hard drive

Post by ben79 »

Hi Don,

I thought it would be better to have the RAID 5 redundancy in place while all the drives were still functioning and let the NAS built the additional redundancy I would get with RAID 6. Today I've read a lot of posts and articles about other drives failing during a RAID 5 rebuild and people losing everything.

EDIT: I'd rather not have to restore from a backup!
Godrick
Know my way around
Posts: 119
Joined: Thu Apr 13, 2017 9:31 pm

Re: Replacing a failing hard drive

Post by Godrick »

Op just went to the menu for adding disks, which also allows them to be replaced, one at a time. Seemed to do the job. New disk rattles much less.
User avatar
dynek
Experience counts
Posts: 1651
Joined: Wed Sep 22, 2010 4:58 pm
Location: Peney/Vuiteboeuf, Switzerland

Re: Replacing a failing hard drive

Post by dynek »

I'm running 4.3 and I can't seem to find a menu to add/replace disk.
Where is it located?

Thanks
jey328
First post
Posts: 1
Joined: Fri Nov 30, 2018 10:12 am

Re: Replacing a failing hard drive

Post by jey328 »

On 4.3.3 it’s at Storage Mgr>Storage Space>Manage>Manage Dropdown

All discs are greyed out though when all services are running.
You can still replace a “Failing Drive” or even “Good Drive” by unplugging one of the drives - this will send Qnap to “Degraded Mode” once it is, just hot seap with the new drive.
I hope this is clearer to all readers. Thanks!
kalantan
Starting out
Posts: 35
Joined: Tue Aug 08, 2017 2:24 am
Location: Columbus, OH USA

Re: Replacing a failing hard drive

Post by kalantan »

Hi - a QNAP TVS-682T here: QNAP reported Host Drive 3 as having a controller issue. Was ready to update my backup of the files from the QNAP before replacing the bad drive and rebooted it. Now it reports Drive 3 as being OK. My instinct is to replace it anyway as all copying to the RAID (via Ethernet CAT 7) is now VERY slow. Any thoughts? Thanks!
~ kalantan ~
Post Reply

Return to “Turbo Station Installation & Setup”