NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
BigReyRey90
May 08, 2022Tutor
ReadyNas Ultra 2 - OS 6.10.7 - Only accesible via DLNA / UPNP
Hi there, I am running a ReadyNas Ultra 2, on the latest OS (6.10.7) and the device has a reserved IP address. As of yesterday, I was able to access the NAS via Windows Explorer / Mac Finder ...
StephenB
May 08, 2022Guru - Experienced User
BigReyRey90 wrote:
Yes, using one of the rear USB's, I believe it has been recognized and mounted;
root@Ben_NAS:~# mount | grep media
/dev/sdd1 on /media/USB_FLASH_2 type ufsd (rw,noatime,nodiratime,nls=utf8,fmask=0,dmask=0)
/dev/sdd1 on /run/nfs4/media/USB_FLASH_2 type ufsd (rw,noatime,nodiratime,nls=utf8,fmask=0,dmask=0)
Great. To copy a share, you'd enter cp -rpv /data/sharename /media/USB_FLASH_2/sharename (using the real sharenames of course). If you use a different drive, the USB_FLASH_2 bit will be different. Redoing the mount | grep media command will tell you what that part of the pathname should e.
The three options (-rpv) are
- r: recursive - copying subfolders and the files in them.
- p: preserve - this tries to preserve file modification dates, permissions, and ownership. If you get a lot of errors (saying this is unsupported), you can omit this
- v: verbose - this lists the files as they are copied - giving you some assurance that everything is working as it should.
You should unmount the drive before removing it - if you don't, you will need to let the PC "repair" it when you connect it to the PC. Also, the NAS will mount the USB drive as read-only the next time you insert it if you don't do the PC "repair" procedure. The command for that is umount /media/USB_FLASH_2 Note the spelling for "umount" (it is not "unmount").
If you use the private folder feature, make sure that you copy /data/home. Your private folder(s) will be in that folder.
BigReyRey90
May 08, 2022Tutor
Thank you - I managed to get this process to start.
Can I browse the folder structure, down to the individual files using another command? This will help me verify that I have successfully copied the data off of the NAS.
If I wanted to copy the entire disk in one go, is this possible? Is there a command to do so?
Lastly, how do I track the progress of the copy and now once the process is complete?
- StephenBMay 08, 2022Guru - Experienced User
BigReyRey90 wrote:
Lastly, how do I track the progress of the copy and now once the process is complete?
That's what the -v was for.
BigReyRey90 wrote:
Can I browse the folder structure, down to the individual files using another command? This will help me verify that I have successfully copied the data off of the NAS.
ls would do that. ls -alsR /media/USB_FLASH_2
BigReyRey90 wrote:
If I wanted to copy the entire disk in one go, is this possible? Is there a command to do so?
It's the same cp command, just a slightly differently path. cp -rpv /data /media/USB_FLASH_2/data
- BigReyRey90May 08, 2022Tutor
Thank you - I have been playing around with the commands and seem to have gotten to grips following your expert help!!
Two final questions for the day,
1 - The transfer speed onto the USB drive seems to be very, very slow..... is this normal? Copying around 5gb data is taking maybe 20 mins or so
2 - Using the verbose command, does the file name only show in the log once it has been copied, or once the copy process starts? I ask as I unclear as to when the process is fully completed. Should it say something in the log confirming it is complete?
- StephenBMay 08, 2022Guru - Experienced User
BigReyRey90 wrote:
Copying around 5gb data is taking maybe 20 mins or so
The Ultra-2 only has USB-2, so it will be slow.
But 20 minutes for 5 GB is slower than USB 2 - not sure what is going on there. After the data is backup up, maybe test the two drives.
BigReyRey90 wrote:
2 - Using the verbose command, does the file name only show in the log once it has been copied, or once the copy process starts? I ask as I unclear as to when the process is fully completed. Should it say something in the log confirming it is complete?
The file name is shown on the screen when the copy begins. There is no "log". When the copy is finished, you will see the ssh prompt again.
- BigReyRey90May 08, 2022Tutor
Thank you, perhaps I can use the front USB 3.0 port instead? Should this work?
Using the verbose command, does the file name only show in the log once it has been copied, or once the copy process starts? I ask as I unclear as to when the process is fully completed. Should it say something in the log confirming it is complete?
- BigReyRey90May 09, 2022Tutor
Hi StephenB
I seem to have got the trick of copying data off.
One question, can you help with a command to see the size of the shares in GB below? This will help me to confirm 100% data has been copied.
Thank you
*********************
root@Ben_NAS:~# ls -als /data/
total 48
32 drwxr-xr-x 1 root root 152 Jun 18 2018 .
16 drwxr-xr-x 1 root root 224 Feb 9 22:19 ..
0 drwxr-xr-x 1 root root 120 Jun 20 2018 ._share
0 drwxrwxr-x 1 root root 140 May 7 18:20 .apps
0 drwxr-xr-x 1 root root 0 Jun 18 2018 .purge
0 drwxr-xr-x 1 root root 0 Dec 12 2014 .timemachine
0 drwxr-xr-x 1 root root 0 Sep 20 2014 .vault
0 drwxrwxrwx+ 1 Ben guest 54 Oct 27 2017 Backup
0 drwxrwxrwx+ 1 guest guest 1090 Apr 23 11:01 Documents
0 drwxrwxrwx+ 1 guest guest 24334 Apr 21 21:52 Movies
0 drwxrwxrwx+ 1 guest guest 14382 Feb 14 2015 Music
0 drwx------+ 1 Ben admin 1368 May 17 2017 Pictures
0 drwxrwxrwx+ 1 guest guest 2322 May 6 22:29 TV
0 drwxr-xr-x 1 admin admin 56 Mar 30 2017 home - StephenBMay 09, 2022Guru - Experienced User
BigReyRey90 wrote:
One question, can you help with a command to see the size of the shares in GB below? This will help me to confirm 100% data has been copied.
It won't tie out exactly. The USB drive(s) are formatted differently from the data volume, and the folders themselves will be a different size.
But the du command can be used to roughly check space. For instance, after copying /data/Test to /media/USB_FLASH_2/Test:
root@RN102:~# du -s /data/Test 637060 /data/Test root@RN102:~# du -s /media/USB_FLASH_2/Test 637076 /media/USB_FLASH_2/Test root@RN102:~#Note the 16 kb discrepancy in this example.
You can also confirm the number of files match, by piping ls into wc. For instance,
root@RN102:~# ls /data/Test | wc -l 24 root@RN102:~# ls /media/USB_FLASH_2/Test | wc -l 24 root@RN102:~# ls -as /data/Test - BigReyRey90May 10, 2022Tutor
Hi StephenB ,
I had to power down the NAS, to remove one of the disks.
After trying to boot the NAS back on, it appears to be stuck in the boot mode, with the fan running high. I have tried to boot with no disks, disk 1 only and disk 2 only, but to no avail.
Now when I try to SSH in, i get the following error when using 'password' ;
root@192.168.0.115's password:
Permission denied, please try again.Any idea of possible next steps? I would just like to get back to the stage where I can SSH in and copy data off via USB
- StephenBMay 10, 2022Guru - Experienced User
It would have been best to complete the backup before manipulating disks. You knew the data was at risk.
What status is RAIDar giving you for the NAS? https://kb.netgear.com/20684/ReadyNAS-Downloads#raidar
- BigReyRey90May 10, 2022Tutor
I had removed one of the disks to run it through R-Studio - this software has found the data, but there are over 50,000 files, which are spread across a many folders and sub-folders. I had hope the data would match the Folder structure on the NAS itself.
RAIDar status is - "System Starting Up"
- StephenBMay 10, 2022Guru - Experienced User
BigReyRey90 wrote:
I had removed one of the disks to run it through R-Studio - this software has found the data, but there are over 50,000 files, which are spread across a many folders and sub-folders. I had hope the data would match the Folder structure on the NAS itself.
RAIDar status is - "System Starting Up"
R-Studio doesn't claim support for BTRFS, so it is rather odd that it is seeing any of your files.
You might reach out to the R-Studio folks via https://forum.r-tt.com/ I believe it is supposed to preserve the folder structure, but there are cases in their forum where that doesn't seem to work.
We could try tech support mode - that is a bit more complicated to get into, and the USB disks likely won't mount automatically. Instructions to boot into that mode are on pages 14-15 here: https://www.downloads.netgear.com/files/GDC/RNDU2000/ReadyNAS_Ultra_UltraPlus_NVX_Pro_HW_en_8July11.pdf
If it boots into that mode successfully, then you will need more guidance on how to log in, and mount the data volume.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!