NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Stanman130
Apr 03, 2014Guide
OS6 Data Recovery - How to Mount BTRFS Volumes
I recently purchased a ReadyNAS 314 and 5 Seagate ST2000VN000 hard disks (one as a cold spare). I work as a system administrator, so I've been reading up on OS6 before I entrust this new system with m...
ArctiX
Mar 27, 2017Aspirant
Hey all,
First of all, just want to thank you for this thread, even almost three years on - it's still very helpful!
I understand I'm resurrecting an old thread here, but having trouble with copying data/migrating to the readynas rn102.
Using the below method I have been able to mount the readynas drives in a standard Linux machine (running Ubuntu Linux Mint 18.1) and then copy data across to the drive locally.
As I'm copying about 4tb of data, I didn't want to do this over the network.
# apt-get update
# apt-get install mdadm btrfs-tools
# mdadm --assemble --scan
# cat /proc/mdstat
# mount -t btrfs -o ro /dev/md127 /mnt
Then copy the data through gui on linux
I can successfully copy data to the drive, and then still mount the drive through the NAS (without it reformatting the drive).
My only issue is, the NAS can't see the new data. Not through SMB share, nor through the browser frontend.
I can still take the drive out and read the data in the Linux machine, so it leads me to believe it could either be a file attributes/access issue, or some sort of indexing file of the NAS not updating.
I can even create a folder on the NAS and remount in Linux to see it. Just not the other way around.
Has anyone come across this before?
I'm not all too savvy with Linux, but can follow command line.
Is there something I'm missing regarding file attributes? Or does the NAS have a built in drive indexing I can access?
Thanks in advance
- Matt
First of all, just want to thank you for this thread, even almost three years on - it's still very helpful!
I understand I'm resurrecting an old thread here, but having trouble with copying data/migrating to the readynas rn102.
Using the below method I have been able to mount the readynas drives in a standard Linux machine (running Ubuntu Linux Mint 18.1) and then copy data across to the drive locally.
As I'm copying about 4tb of data, I didn't want to do this over the network.
# apt-get update
# apt-get install mdadm btrfs-tools
# mdadm --assemble --scan
# cat /proc/mdstat
# mount -t btrfs -o ro /dev/md127 /mnt
Then copy the data through gui on linux
I can successfully copy data to the drive, and then still mount the drive through the NAS (without it reformatting the drive).
My only issue is, the NAS can't see the new data. Not through SMB share, nor through the browser frontend.
I can still take the drive out and read the data in the Linux machine, so it leads me to believe it could either be a file attributes/access issue, or some sort of indexing file of the NAS not updating.
I can even create a folder on the NAS and remount in Linux to see it. Just not the other way around.
Has anyone come across this before?
I'm not all too savvy with Linux, but can follow command line.
Is there something I'm missing regarding file attributes? Or does the NAS have a built in drive indexing I can access?
Thanks in advance
- Matt
- mdgm-ntgrMar 28, 2017NETGEAR Employee Retired
Shares on the NAS need to be created using the web admin GUI so don't create a folder directly within the data volume using some other method. Once you've copied the files across depending on which method you use it may be necessary to reset the ownership/permissions.
- ArctiXMar 28, 2017Aspirant
Thanks mdgm for the reply.
I'm at work at the moment, but I'll give that a try when I get home.
Is this applicable to folders within folders as well? For example, if I created a folder on the NAS to share, then copied files in folders to the shared folder - would they be accessible?
Secondly, I had also tested copying from linux using a video file into an existing shared folder. Strangely, even though I could view the rest of the contents in the shared folder which was copied via SMB, the newly copied video file did not appear.
What is the suggested way of local copying from a linux distro? And how would you also reset the permissions from the RN102?
EDIT : I am running 2x 3TB disks as single JBOD volumes. Network access is via both AFP and SMB through Mac/Windows respectively, and the same behaviour occurs on both drives.
Thanks again for your help,
- mdgm-ntgrMar 28, 2017NETGEAR Employee Retired
It sounds like the ownership/permissions of that video file must be messed up. If you create a folder within a share you'd need to create it using appropriate ownership/permissions.
How exactly did you copy the file across using SMB? Did you did using the GUI?You may wish to see e.g. How do I restore default file and shared folder access rights on my ReadyNAS OS 6 storage system?
Related Content
NETGEAR Academy

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