NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
SCUBAInstructor
Feb 27, 2020Guide
ReadyNas btrfs subvol
Hi I would like to create a folder next to this one: /dev/md127 on /apps type btrfs (rw,noatime,nodiratime,nospace_cache,subvolid=259,subvol=/.apps) I can create it like this on the volume: ...
- Feb 29, 2020
You are right, the mount is not permanent.
I have added the below to /etc/fstab:
UUID=subvolUUID /runtimes btrfs defaults,subvolid=myID 1 1
My folder is properly mounted on boot.
Confusing Netgear support is not really my concern. I understand that Netgear only wants to support standard systems.
My device was initially a RDD516 (16 GB RAM). I have changed the DMI (amidedos) so it identifies itself as RN516 and installed ReadyNAS. I have upgraded the CPU to i7-3770K 3.5GHz and installed a X540-T2 10Gigabit 10GBe 10Gbit Dual Port network card. I am running Glassfish, mysql, java11 and some other things to unleash the full potential of that box. Next step is to change disks step by step (higher capacity).
Moving things to /apps folder is a good alternative though.
StephenB
Feb 29, 2020Guru - Experienced User
SCUBAInstructor wrote:I found a solution which gives me the exact same result for my folder:
btrfs subvolume create .runtimes mount /dev/md127 -o subvol=.runtimes /runtimes
Your mount command will be need to be manually re-applied every time you reboot the NAS. There is also some risk down the road that the NAS application (or Netgear Support) will get confused because of the manually created subvolume. Netgear assumes that its application is the only one that is creating subvolumes on the data volume.
Another approach (easier and commonly used by folks here) is to first install your application(s) in the root as usual. Then move the folder(s) to the existing /data/.apps subvolume, and create soft link(s) from the root to the new location(s).
If you want to proceed with a separate subvolume, then IMO a better way is to first create a share called runtimes on the data volume (which can be hidden). Then create a soft link to that subvolume in the root.
# ln -s /data/runtimes /runtimes
That avoids the need for a persistent mount. It also allows you manage snapshots for /data/runtimes, back it up, etc using the built in tools in the ReadyNAS GUI.
SCUBAInstructor
Feb 29, 2020Guide
You are right, the mount is not permanent.
I have added the below to /etc/fstab:
UUID=subvolUUID /runtimes btrfs defaults,subvolid=myID 1 1
My folder is properly mounted on boot.
Confusing Netgear support is not really my concern. I understand that Netgear only wants to support standard systems.
My device was initially a RDD516 (16 GB RAM). I have changed the DMI (amidedos) so it identifies itself as RN516 and installed ReadyNAS. I have upgraded the CPU to i7-3770K 3.5GHz and installed a X540-T2 10Gigabit 10GBe 10Gbit Dual Port network card. I am running Glassfish, mysql, java11 and some other things to unleash the full potential of that box. Next step is to change disks step by step (higher capacity).
Moving things to /apps folder is a good alternative though.
Related Content
NETGEAR Academy

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