NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
helio
Sep 23, 2021Aspirant
RN316 does no finish booting and OS install gives error "could not extracting files) last FW
Hi all, without any warnings the RN3165 stopped completing the boot at about 99%. On the first day I could login and see one fan only working. It looks the power supply fan is dead. Tried the OS r...
helio
Oct 20, 2021Aspirant
What does mean "you'll forever end up in FlexRAID mode, not XRAID. " ?
I was using FlexRaid already anyways but not sure to understand. Even after a factory reset it would no longer be possible to change back to XRaid?
As far as I understand what is happening to me would happens either way. This is a extremely dangerours system that should not be trusted with any important data on any occasion, is my conclusion.
"Let me know if you want to try it and I'll list the details."
I am ready to try any non-destructive operation that could rescue my data.
Right now is running the copy document, i think but not sure it is doing anything then scan file by file . I am waiting to then plug the disk back in PC and see if copied anything.
cheers
Sandshark
Oct 21, 2021Sensei
helio wrote:What does mean "you'll forever end up in FlexRAID mode, not XRAID. " ?
My method is to export the current volume, do a complete new set-up with a single drive (effectively a factory reset with that one drive), then import the original (degraded, since you have only 5 free slots), then export the volume created on the new drive. Then you have room to put in the 6th drive for the original (now imported) volume to re-sync and become redundant. But you can only do the import in FlexRAID mode. And even after exporting one volume, you'll be unable to go to XRAID because you have "an expanded volume".
What this does is create a clean OS on the new boot drive, which should then be copied as RAID0 to the others once you do the import. There are a few caveats I've not covered, so I can give you more detail if you do want to try this. I have, BTW, experimented with this process using my "sandbox" NAS, and it worked. But there are a lot of things that can go wrong, thus the need for backup.
If you just do a factory default with all drives and restore from backup, then you can certainly be in XRAID.
- helioOct 21, 2021Aspirant
hi all,
StephenB Hope you feeling better!
I am feeling so grateful!!! Even if I might not get all the data back, I think I am getting most of it. Got 5 putty consoles up and copying data right now.
Copying most of the data to the USB 7 TB disk, from there to the new Asustore AS6510T.
This one got 2 NVM .2 disks as cache and 24 GB ram, 29 Tb , atom 4core proc.; 2 x10 Gbs and 2x 2.5 GB NICs and its Linux OS is way ahead.
Once done, I am planning to install a new fan in the RN316. I saw on the web that Netgear has inverted and remixed the standard fan connectors so that it is needed to re-order the cable pins in the fan so not to short-circuit it and burn the fan.
It might be the same for the power supply, which I am also thinking might be a good idea to replace it.Anyone confirms this and know how to do it?
All comments welcome, thanks a lot everyone. cheers,
- StephenBOct 21, 2021Guru
helio wrote:StephenB Hope you feeling better!
I am feeling so grateful!!! Even if I might not get all the data back, I think I am getting most of it. Got 5 putty consoles up and copying data right now.
Great! Good luck with the new NAS.
I'm definitely doing better, but it will take some weeks to fully heal.
- helioOct 24, 2021Aspirant
Hi all,
StephenB I am glad you are getting better, collarbone takes long to heal, be patient.
there was a pb with the copy, it only copied 95 Gb out of terabytes. I was looking to the 7 Tb disc to be full. I am not sure what happened.
I will try again, this time I will only start one job at time. I guess what I need is to move the data to the disk this way the next job can move the data left over.
Could you help with the syntax for the move job, please? Thanks.
BR
- StephenBOct 24, 2021Guru
helio wrote:
Could you help with the syntax for the move job, please? Thanks.
Looking back at the command I posted before, I see I made a mistake: the -r should have been a -R. So you can just use
cp -Rpuv /data /mnt
Note the -u option. That means "copy only when the source file is newer than the destination file or when the destination file is missing". So it won't recopy the 95 GB that's already been transfered.
Rather than moving files, I suggest using these commands to double-check that everything is copied:
find /data | wc -l find /mnt | wc -l
The first command gives you the number of files on the data volume, the second gives the number of files on the USB drive. These can take a little while, as they are scanning the entire file system.
You can also check total storage using
du -sh /data
du -sh /mntThese also can take a while. They might not match exactly, since you have two different file systems (NTFS and BTRFS).
The -h says to give the results in "human readable" units (M for MiB, G for GiB, T for TiB)
- helioOct 24, 2021Aspirant
StephenB Brilliant, thanks for sharing it. nice to be able to verify and copy only the newer data.
The pb is the data will not fit in the disk, unless I move it out to the PC to make room for the next batch, each time it is moved to the disk. The data is not being updated on the PC or the SAN.
The idea is that I move part of the near 13 Tb data to the 7 TB disk, move what's in the disk to the PC, to make room for the rest of the data left in the SAN, as the 13 Tb data won't fit in the 7 TB disk. does it make sense?
Thanks and BR,
- StephenBOct 24, 2021Guru
helio wrote:
The idea is that I move part of the near 13 Tb data to the 7 TB disk, move what's in the disk to the PC, to make room for the rest of the data left in the SAN, as the 13 Tb data won't fit in the 7 TB disk. does it make sense?
Ok. But I still am hesitant to move data, because it deletes it from the source. If something goes wrong, you end up with needless data loss.
Can you post the output of
du -h -d 1 /data/
If the largest share will fit on the USB, then we could copy one share at a time.
- SandsharkOct 24, 2021Sensei
As long as no single share or directory has more than the 7TB so you can copy a sub-section of files each time, that "bucket brigade" method should work well. If you have one that exceeds that, then copying alphabetically might help select a small enough group. Just remember that in Linux, upper/lower case matters.
Back in ancient times, we called it "sneakernet": carrying disks (at that time, floppy ones) between computers to move files (wearing your sneakers).
- helioOct 24, 2021Aspirant
StephenB , this is great, I wonder what is causing the copy of Documents stop in the middle when it encounter an old folder containing a copy of a USB drive..
How to copy things alfphabetically?
I am currently using folder names for copying, eg.,
# cp -rpv /data/Software .
root@3C62350D01347:/# du -h -d 1 /data/
0 /data/home
18G /data/.apps
0 /data/.vault
1.9M /data/._share
6.2G /data/Pictures
71G /data/Videos
270G /data/Music
531G /data/Documents
0 /data/.timemachine
482G /data/Freaks
20G /data/Documentation
1.9G /data/Podcasts
254M /data/eBooks
36M /data/Transfer
488G /data/Audio
16G /data/HdAProdz
1.4T /data/Software
130G /data/OneDrive
8.4T /data/BackUp
0 /data/AmazonCloudDrive
8.0K /data/DropBox
16M /data/GDrive
0 /data/.purge
1.4G /data/uFreak
407M /data/ODB
14G /data/DZI
453G /data/VSTIData
0 /data/Video
13T /data/Thanks,
- StephenBOct 24, 2021Guru
helio wrote:
root@3C62350D01347:/# du -h -d 1 /data/
...
8.4T /data/BackUp
...Ok. So everything except BackUp will fit on the 7 TB drive - which is probably 8 TB (~7 TiB).
Unfortunately, there is no simple way to exclude a folder with the cp command - but we can easily switch to rsync.
rsync -avzh --exclude '/data/BackUp' /data/ /mnt/
Note you can enter this after your current copying is done. Rsync is incremental, it will skip the folders you've already done.
helio wrote:
I wonder what is causing the copy of Documents stop in the middle when it encounter an old folder containing a copy of a USB drive..
I don't know, but it is worth looking again after using the rsync command - that might manage to get past this problem.
- helioOct 24, 2021Aspirant
StephenB Brilliant, I hope it does sync the missing data.
I have been comparing the sizes of the folders we saw with the ones already copied to PC and is missing most of the data. I wonder why.
The copy job for documents only copied 136 Gb when it should had been 531 Gbs.
This happened to all copies, they are all missing Gbs. If we didn't retrieve their sizes i would not even know for sure.
Best,
- SandsharkOct 25, 2021Sensei
To copy alphabetically, you would use something similar to # cp -rpv /data/Software[abcde]* ., which will copy everything starting with a, b, c, d, or e.
- StephenBOct 26, 2021Guru
helio wrote:
I am not sure how to count files in the RN316 to compare with the disk.
I posted the commands earlier:
find /data | wc -l find /mnt | wc -l
You can of course run this on a folder, and not on the entire volume by adding the foldername to the path (i.e., find /data/foldername | wc -l )
- StephenBNov 01, 2021Guru
helio wrote:
would you be willing to try a remote session?
Unfortunately I'm not in a position to do that. Among other reasons, there wouldn't be any contractual protections for either of us.
helio wrote:I have tried to copy and to sync dozens of times, it always stops short from copying all files. 2/3 of the data is not being recovered.
Are you seeing any errors on the screen?
Can you identify a specific file that isn't there? We can then try a cp command that is just for that file, and see if we get an error when we copy it.
- helioNov 02, 2021Aspirant
StephenB Hope you feeling better !
no errors on the screen, just the file copy always stops at this point:
'/data/Documents/R-TT/R-Undelete' -> './Documents/R-TT/R-Undelete'
'/data/Documents/R-TT/R-Undelete/Lexar SFF-SSD 0.rdr' -> './Documents/R-TT/R-Undelete/Lexar SFF-SSD 0.rdr'How can I sync , what syntax to use, only one folder?
BTW, this comments still syncs the Backup folder:
# rsync -avzh --exclude '/data/BackUp' /data/ /mnt/
Thank you,
- StephenBNov 02, 2021Guru
helio wrote:
'/data/Documents/R-TT/R-Undelete' -> './Documents/R-TT/R-Undelete'
'/data/Documents/R-TT/R-Undelete/Lexar SFF-SSD 0.rdr' -> './Documents/R-TT/R-Undelete/Lexar SFF-SSD 0.rdr'How can I sync , what syntax to use, only one folder?
cp -Rpuv /data/Documents/R-TT/R-Undelete /mnt/Documents/R-TT
should copy R-Undelete and any of its subfolders.
helio wrote:
BTW, this com,amd still syncs the Backup folder:
# rsync -avzh --exclude '/data/BackUp' /data/ /mnt/
Yes, I see that. Not sure what I have wrong there, I'll need to get back to you on that.
Though you could try
rsync -avzh /data/Documents/ /mnt/Documents/
and see if that copies the R-TT folder.
Related Content
NETGEAR Academy

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