NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
DaveC49
Jan 17, 2015Aspirant
NAS RN10200 and Linux Mint 17.1
Hi, I have recently added a RN10200 NAS (IP 192.168.0.2) to my network. it is physically connected to my WiFi Router(NetgearDG384PN). I have multiple Apple (IOS7/7.1, Windows(8.0) (192.168.0.3) and ...
DaveC49
Jan 18, 2015Aspirant
I would like to do at least two different things. I primarily bought the NAS (RN10200) as a backup device and I would like to back up data from the home directories on the Linux box as well as some other directories i.e. /var/www where I previously had critical setup info for website developments. (recently lost several weeks work after an upgrade bombed out in progress and then reinstallation of the OS overwrote data. My bad as I am still getting familiar with Linux and hadn't yet worked out how to better protect myself). A lot of it was virtual host files for my Apache server, not so much the direct code. I can handle most of that by locating the files in my home directory and using symlinks to access it from the root filesystem. I have at least two users on that box , and on a windows box as well as multiple Apple devices (iPhones, iPad). Primarily, I want to backup the home directories to the NAS. The whole lot is on a home LAN. Some of the data in my home directory requires securing but I can attend to that once I have the system basically working. I would also like to use the share so that all my directories can appear on both the Linux box (nfs share) and a Windows box (cifs share) of the same directories and afp shares to the apples devices although i can use the readyCloud for most requirements there.
I also would like to share some files ( pics, videos and documents) from the NAS to all devices ( secondary objective and not critical).
I have had the mount points as subfolders within the Linux box home directories prior to trying to mount the under /mnt following the mount procedures described on p62 of the readyNAS OS6 software manual. The result was the same. The ownership and group of the folders and permissions is changed to 98 and User#98 and 755 respectively (prior to mount had been david, users and 775). I am unable to access the directories, change the ownership or group and the permissions after I have mounted the share.
I am surprised that after having created the users on the NAS, the Home share from the NAS does not have subfolders created for each user and that these aren't shared separately ( it does have a subfolder for the readyCloud account I created during the initial setup). I am unable to create subfolders within the Home share on the NAS itself and I am unable to create them from the Linux box . The lack of information from Netgear on how the default shares, particularly the Home shares where you are not able to configure access and permissions, they supply on the NAS are meant to be used I find truly amazing. My concept originally was that I would mount the home share on a subdirectory of my Linux box home directory, transfer my files to it and then remount it as the home directory. last night I totok the NAS system back to factory defaults and the reset it up
The basic problem is do to with ownership and group membership of the share from the NAS after it is mounted on the Linux box. I have no idea who user 98 is. It is not a user on my Linux box so I presume it has been created by the NAS during the NFS information exchange during the mount on the Linux box. It is not however a user uid on the NAS so I presume it is some system user on the NAS as user uid's start at 100 on the NAS.
From my research on nfs it should be able to negotiate a mapping of the linux box uids and gids to the NAS uids and gids (nfs4) using the map_daemon options or a static map using the map_static options, but these do not appear to be available. it is not clear whether the NAS box mounts its shares using nfs v2,3 or 4 but I presume v3. The nfs server on my Linux box can mount a share from a server using a specific version of nfs but appears to negotiate that itself unless you specify the version.
I exported the home directories from the Linux box, while trying to work out how to do backups but there appears to be no way on the NAS to connect a folder as client to a specific share from the Linux box as a server. I created a folder Backups on the NAS shared over SMB, NFS (anyhost, default file access everyone, owner and group rw, granting rename and delete privileges to non owners, ownership and group as guest) and AFP. I have installed a phpSysInfo App on the NAS so I can try to get a clearer picture of what is happening on it, but it does not display permissions on the mounts in the NAS but I can see all the shared mounts on the NAS (btrfs). Mounting this backup folder in my Linux home directory resulted in exactly the same problems . The mounted share on the Linux box is owned by user 98 as before and the permissions prevent it being used for anything useful. I have noticed a few posts on other forums with Netgear NAS users having the same problems, but no-one has reported a solution. ( I have noticed several posts where frustrated users are vowing to confine their NAS to oblivion and I am beginning to have some sympathy with this point of view.)
I also would like to share some files ( pics, videos and documents) from the NAS to all devices ( secondary objective and not critical).
I have had the mount points as subfolders within the Linux box home directories prior to trying to mount the under /mnt following the mount procedures described on p62 of the readyNAS OS6 software manual. The result was the same. The ownership and group of the folders and permissions is changed to 98 and User#98 and 755 respectively (prior to mount had been david, users and 775). I am unable to access the directories, change the ownership or group and the permissions after I have mounted the share.
I am surprised that after having created the users on the NAS, the Home share from the NAS does not have subfolders created for each user and that these aren't shared separately ( it does have a subfolder for the readyCloud account I created during the initial setup). I am unable to create subfolders within the Home share on the NAS itself and I am unable to create them from the Linux box . The lack of information from Netgear on how the default shares, particularly the Home shares where you are not able to configure access and permissions, they supply on the NAS are meant to be used I find truly amazing. My concept originally was that I would mount the home share on a subdirectory of my Linux box home directory, transfer my files to it and then remount it as the home directory. last night I totok the NAS system back to factory defaults and the reset it up
The basic problem is do to with ownership and group membership of the share from the NAS after it is mounted on the Linux box. I have no idea who user 98 is. It is not a user on my Linux box so I presume it has been created by the NAS during the NFS information exchange during the mount on the Linux box. It is not however a user uid on the NAS so I presume it is some system user on the NAS as user uid's start at 100 on the NAS.
From my research on nfs it should be able to negotiate a mapping of the linux box uids and gids to the NAS uids and gids (nfs4) using the map_daemon options or a static map using the map_static options, but these do not appear to be available. it is not clear whether the NAS box mounts its shares using nfs v2,3 or 4 but I presume v3. The nfs server on my Linux box can mount a share from a server using a specific version of nfs but appears to negotiate that itself unless you specify the version.
I exported the home directories from the Linux box, while trying to work out how to do backups but there appears to be no way on the NAS to connect a folder as client to a specific share from the Linux box as a server. I created a folder Backups on the NAS shared over SMB, NFS (anyhost, default file access everyone, owner and group rw, granting rename and delete privileges to non owners, ownership and group as guest) and AFP. I have installed a phpSysInfo App on the NAS so I can try to get a clearer picture of what is happening on it, but it does not display permissions on the mounts in the NAS but I can see all the shared mounts on the NAS (btrfs). Mounting this backup folder in my Linux home directory resulted in exactly the same problems . The mounted share on the Linux box is owned by user 98 as before and the permissions prevent it being used for anything useful. I have noticed a few posts on other forums with Netgear NAS users having the same problems, but no-one has reported a solution. ( I have noticed several posts where frustrated users are vowing to confine their NAS to oblivion and I am beginning to have some sympathy with this point of view.)
Related Content
NETGEAR Academy

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