NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
david171971
Apr 03, 2015Aspirant
ReadyNAS RN102 Inode Limit
Hello,
I noticed the inode limit on my RN102's root partition is very low (it is 65536 now) and it is already being used 91%. A few days ago I didn't even have enough inodes to do an apt-get upgrade..
Does someone know a solution to this low inode limit? Maybe I can make a separate partition for /usr/ ?
Here's the output of df -i:
And here's the output of df -h:
Thanks in advance,
david171971
I noticed the inode limit on my RN102's root partition is very low (it is 65536 now) and it is already being used 91%. A few days ago I didn't even have enough inodes to do an apt-get upgrade..
Does someone know a solution to this low inode limit? Maybe I can make a separate partition for /usr/ ?
Here's the output of df -i:
Filesystem Inodes IUsed IFree IUse% Mounted on
rootfs 65536 59500 6036 91% /
tmpfs 63398 280 63118 1% /dev
/dev/md0 65536 59500 6036 91% /
tmpfs 63398 2 63396 1% /dev/shm
tmpfs 63398 379 63019 1% /run
tmpfs 63398 4 63394 1% /sys/fs/cgroup
tmpfs 63398 1 63397 1% /media
/dev/md126 0 0 0 - /data2
/dev/md127 0 0 0 - /data
/dev/md127 0 0 0 - /home
/dev/md127 0 0 0 - /apps
/dev/md127 0 0 0 - /var/ftp/Backup
/dev/md126 0 0 0 - /var/ftp/bunders
/dev/md127 0 0 0 - /var/ftp/darvit
/dev/md127 0 0 0 - /var/ftp/Documents
/dev/md127 0 0 0 - /var/ftp/index
/dev/md127 0 0 0 - /var/ftp/Milan_Backup
/dev/md127 0 0 0 - /var/ftp/Music
/dev/md127 0 0 0 - /var/ftp/Pictures
/dev/md127 0 0 0 - /var/ftp/Qbittorrent
/dev/md127 0 0 0 - /var/ftp/s
/dev/md127 0 0 0 - /var/ftp/school
/dev/md127 0 0 0 - /var/ftp/threes
/dev/md127 0 0 0 - /var/ftp/Videos
/dev/md126 0 0 0 - /var/ftp/webs2
/dev/md127 0 0 0 - /var/ftp/wur
/dev/md127 0 0 0 - /var/ftp/WUR_Opnamen
/dev/md126 0 0 0 - /var/ftp/www2
And here's the output of df -h:
Filesystem Size Used Avail Use% Mounted on
rootfs 4.0G 2.4G 1.4G 64% /
tmpfs 10M 4.0K 10M 1% /dev
/dev/md0 4.0G 2.4G 1.4G 64% /
tmpfs 248M 44K 248M 1% /dev/shm
tmpfs 248M 440K 248M 1% /run
tmpfs 248M 0 248M 0% /sys/fs/cgroup
tmpfs 248M 0 248M 0% /media
/dev/md126 1.9T 155M 1.9T 1% /data2
/dev/md127 2.8T 1.5T 1.3T 54% /data
/dev/md127 2.8T 1.5T 1.3T 54% /home
/dev/md127 2.8T 1.5T 1.3T 54% /apps
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/Backup
/dev/md126 1.9T 155M 1.9T 1% /var/ftp/bunders
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/darvit
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/Documents
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/index
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/Milan_Backup
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/Music
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/Pictures
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/Qbittorrent
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/s
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/school
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/threes
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/Videos
/dev/md126 1.9T 155M 1.9T 1% /var/ftp/webs2
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/wur
/dev/md127 2.8T 1.5T 1.3T 54% /var/ftp/WUR_Opnamen
/dev/md126 1.9T 155M 1.9T 1% /var/ftp/www2
Thanks in advance,
david171971
15 Replies
- StephenBGuru - Experienced UserUnfortunately there's no way to increase the inodes on an ext file system.
Your best option is to move stuff out of rootfs (perhaps onto /data or /data2). You might be able to create links to some folders to preserve existing paths. I suggest that you leave the normal netgear files alone. - david171971AspirantThanks for the reply!
My /usr folder has 21313 files and folders right now, would it be safe to move that to /data and then link to it? (I'm sorry if this is a stupid question but does that link need to be a soft link or a hard link?) - StephenBGuru - Experienced UserWell, whether its safe depends on exactly how you use those files. If they are needed to boot the NAS, then it might not be safe to move them.
I'd use a soft link (not sure if a hard link to a btrfs volume is possible, but it doesn't seem like a good idea). You should move folders of course (there is no value in linking to individual files). - david171971AspirantAh well that broke the NAS.. Now I'm gonna need to find a way to mount the main hdd on linux (will be hard because it doesn't have "normal" partitions) :(
Thanks for the help anyway, it's weird it didn't work though.. Maybe there were some system files in /usr and the system didn't like soft links. - mdgm-ntgrNETGEAR Employee RetiredWhy did you want to do an apt-get upgrade? That is something we do not recommend.
- david171971AspirantI had some packages that were not default, and I wanted everything to be up-to-date for security reasons.
- david171971AspirantI managed to mount the rootfs partition of the 'data' drive (using mdadm in Ubuntu) and I copied a /usr to it from a drive that was formatted in the NAS and had its OS installed, but the NAS doesn't start with the "fixed" 'data' drive..
Does anyone know how I can mount the data partition of the 'data' drive (instead of the rootfs partition) so I can backup the 2TB of important data that sits on it? - StephenBGuru - Experienced UserThere are some instructions here: viewtopic.php?f=50&t=75900#p422576
- david171971AspirantWhen i run mdadm --assemble --scan it only makes and mounts md0 and md1, it doesn't make any md127.. I think my raid setup was a FlexRAID.
When I use ls in /dev it also only lists sdb, sdb1 and sdb2. - mdgm-ntgrNETGEAR Employee RetiredSounds like you may have deleted your data volume(s)?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!