NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
joel80
Dec 02, 2015Tutor
how to remove a hard disk clean from a raid (RN 314, using SSH)
Hey there, i would like to remove a specific hard drive from the volume cleanly. First, is my plan very risky, even possible at all in this way? Afaik i would first use: btrfs device ...
StephenB
Dec 02, 2015Guru
Have you checked the SMART stats? Normally you'd power down the NAS and test that particular drive with the vendor diags.
You could potentially remove it (with the NAS running) and you'd still have all your data - but no RAID redundancy. Then hot-insert the drive after the balance test - which would rebuild the array. No need for SSH.
Another option is just buy a replacement disk, and replace the one you don't trust.
Do you have backups of the data? There's always some risk when you fiddle with the disks.
joel80
Dec 04, 2015Tutor
Hi, i just removed a suspicious hard drive - bam - there it is. This hdd WAS the cause for these random freezings. I will exchange her asap.
The volume status is now degraded. Can i tell the volumen to remove the removed drive permanently cleanly?
I don't need the extra space currently.
i have backups here, yes.
- StephenBDec 04, 2015Guru
joel80 wrote:
The volume status is now degraded. Can i tell the volumen to remove the removed drive permanently cleanly?
Unfortunately you can't.
You either need to
(a) replace the drive,
(b) or destroy the volume, recreate it, and restore data from backup.
If you go with (b) uninstall your apps first, and reinstall them when you are done. The apps data is saved on the data volume, so it will get lost when you destroy it.
- joel80Dec 05, 2015Tutor
Are you sure?
What is about
btrfs device delete missing /data
?
This should remove the missing device?
- StephenBDec 05, 2015Guru
You need to be very careful on what you google here.
btrfs has some built-in raid-like features that OS6 doesn't use. OS6 builds the RAID array using mdadm, and then creates btrfs on top of that. The ReadyNAS software also needs to stay in sync with the current raid configuration (and I think the info is also kept in its SQL database).
There might be a way to do all the needed steps manually, but Netgear certainly hasn't documented it, and sorting it out on your own would be very high risk.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!