NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
NASguru
Nov 04, 2016Apprentice
Is a manual install of MySQL even possible?
So I attempted to peform a manul install of the latest MySQL using their APT Repository method which seems to take all the guest work out of installing the package. I created a folder called downloa...
StephenB
Nov 07, 2016Guru - Experienced User
NASguru wrote:
I actually see two folders. The obvious one:
admin@626X:/apps$ ls
avplus DO_NOT_DELETE plexmediaserver
And the hidden one you show:
admin@626X:/data/.apps$ ls
avplus DO_NOT_DELETE plexmediaserver
You see two, but they are the same folder. As I said /apps is a mount point for /data/.apps See the bold line below
root@RN526X://# mount
udev on /dev type devtmpfs (rw,noatime,nodiratime,size=10240k,nr_inodes=491350,mode=755)
devpts on /dev/pts type devpts (rw,noatime,nodiratime,mode=600,ptmxmode=000)
/dev/md0 on / type btrfs (rw,noatime,nodiratime,nospace_cache,subvolid=5,subvol=/)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime,nodiratime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime,nodiratime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,noatime,nodiratime,size=983936k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,noatime,nodiratime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,noatime,nodiratime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,noatime,nodiratime,devices)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,noatime,nodiratime,blkio)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,noatime,nodiratime,freezer)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,noatime,nodiratime,cpuset)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,noatime,nodiratime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
debugfs on /sys/kernel/debug type debugfs (rw,noatime,nodiratime)
mqueue on /dev/mqueue type mqueue (rw,noatime,nodiratime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,noatime,nodiratime)
configfs on /sys/kernel/config type configfs (rw,noatime,nodiratime)
/dev/md127 on /data type btrfs (rw,noatime,nodiratime,nospace_cache,subvolid=5,subvol=/)
/dev/md127 on /apps type btrfs (rw,noatime,nodiratime,nospace_cache,subvolid=258,subvol=/.apps)
/dev/md127 on /home type btrfs (rw,noatime,nodiratime,nospace_cache,subvolid=257,subvol=/home)
/dev/md127 on /run/nfs4/home type btrfs (rw,noatime,nodiratime,nospace_cache,subvolid=257,subvol=/home)
NASguru wrote: On a side note, it didn't know this command: -bash: btrfs: command not found
root@RN526X://# btrfs filesystem show //
Label: '2fe72582:root' uuid: 537fe1e3-fadd-4fae-bcd3-4a80c8864ea3
Total devices 1 FS bytes used 364.89MiB
devid 1 size 4.00GiB used 1.64GiB path /dev/md0
NASguru wrote:
I take it if I download and install MySQL under the .apps folder it will create a single folder and stay there? I've seen on another thread that one of the efforts in cleaning up the App store and such was to keep any app from installing under the system folder. In otherwords, they like to keep a clean install for apps seperate from the rest of the system.
As you likely have seen, one of the most common problems with ReadyNAS that we see here is a full OS partition. 4 GB isn't that much space, and if you start using it for cache, databases, etc it can fill up quite quickly.
Installing it to /apps should be fine. If there are configuration files, etc that include path names they should be set up set up for /apps, and not /data/.apps. The /data/.apps path can potentially change - if you have two data volumes (flexraid) and delete the one that holds /.apps, then the subvolume is migrated to the remaining volume.
NASguru
Nov 08, 2016Apprentice
StephenB wrote:
NASguru wrote:I actually see two folders. The obvious one:
admin@626X:/apps$ ls
avplus DO_NOT_DELETE plexmediaserver
And the hidden one you show:
admin@626X:/data/.apps$ ls
avplus DO_NOT_DELETE plexmediaserver
You see two, but they are the same folder. As I said /apps is a mount point for /data/.apps See the bold line below
Got it and that makes sense.
StephenB wrote:NASguru wrote: On a side note, it didn't know this command: -bash: btrfs: command not found
root@RN526X://# btrfs filesystem show //
Label: '2fe72582:root' uuid: 537fe1e3-fadd-4fae-bcd3-4a80c8864ea3
Total devices 1 FS bytes used 364.89MiB
devid 1 size 4.00GiB used 1.64GiB path /dev/md0
Ugh, I should just log in as root moving forward. I keep loggin in as Admin and hence the priviledge restrictions.
Last login: Mon Nov 7 12:06:38 2016 from 172.28.1.2
root@626X:~# btrfs filesystem show //
Label: '2fe75598:root' uuid: 90ebd79f-bf48-402d-9a31-ebeffa66ed8a
Total devices 1 FS bytes used 611.96MiB
devid 1 size 4.00GiB used 2.05GiB path /dev/md0
StephenB wrote:As you likely have seen, one of the most common problems with ReadyNAS that we see here is a full OS partition. 4 GB isn't that much space, and if you start using it for cache, databases, etc it can fill up quite quickly.
Installing it to /apps should be fine. If there are configuration files, etc that include path names they should be set up set up for /apps, and not /data/.apps. The /data/.apps path can potentially change - if you have two data volumes (flexraid) and delete the one that holds /.apps, then the subvolume is migrated to the remaining volume.
Good point and especially if the database I intend to install is for hosting photos. It would certainly eat up all that space in a short amount of time. I'd really hate to do all that work and then turn around to uninstall it just to move to the data partition.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!