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 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,
StephenB
Oct 24, 2021Guru - Experienced User
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,
- StephenBOct 26, 2021Guru - Experienced User
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 - Experienced User
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 - Experienced User
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!