NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
f0rgiven
Sep 03, 2016Aspirant
Weird Problems
ReadyNAs pro 4 with latest firmware and 4x 3TB drives. When i login to the admin console and click "shares", nothing shows there not even the default shares. If i use SSH to connect to the NAS, putty...
StephenB
Sep 05, 2016Guru - Experienced User
f0rgiven wrote:
df /lib
Filesystem 1K-blocks Used Available Use% Mounted on
- 4176564 4175164 0 100% /
The OS volume remains full.
As mdgm says, you need to run du in the various folders in the OS partition, and find the files that have filled it up.
An OS reinstall will not help (and in fact will likely fail because there is no space).
mdgm-ntgr
Sep 06, 2016NETGEAR Employee Retired
The first step is to find what's filling the root volume and free some space
The next step is to fix broken config.
Only once you've done both of those an OS Re-install may be worth considering.
Doing an OS Re-install while the root volume is full will just make things worse.
- f0rgivenSep 06, 2016Aspirant
I/m having a hard time figuring out where is the OS volume?
du -csh /*
0 /backup
3.6M /bin
332G /c
588K /dev
6.5M /etc
14M /frontview
8.0K /home
4.0K /initrd
25M /lib
2.2M /lib64
16K /lost+found
0 /media
4.0K /mnt
221M /opt
du: cannot access `/proc/10946/task/10946/fd/4': No such file or directory
du: cannot access `/proc/10946/task/10946/fdinfo/4': No such file or directory
du: cannot access `/proc/10946/fd/4': No such file or directory
du: cannot access `/proc/10946/fdinfo/4': No such file or directory
0 /proc
28K /ramfs
44K /root
4.8M /sbin
0 /sys
0 /Tek-Nerds
256K /tmp
0 /USB
198M /usr
67M /var
332G totalfdisk -l
fdisk: device has more than 2^32 sectors, can't use all of them
Found valid GPT with protective MBR; using GPTDisk /dev/sda: 4294967295 sectors, 2047G
Logical sector size: 512
Disk identifier (GUID): 09b1b2a5-a63d-4a14-9885-00353d8705b0
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 5860529072 2790G 0700
fdisk: device has more than 2^32 sectors, can't use all of them
Found valid GPT with protective MBR; using GPTDisk /dev/sdb: 4294967295 sectors, 2047G
Logical sector size: 512
Disk identifier (GUID): f1514482-3365-420c-bedf-264d7ba43a61
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 5860529072 2790G 0700
fdisk: device has more than 2^32 sectors, can't use all of them
Found valid GPT with protective MBR; using GPTDisk /dev/sdc: 4294967295 sectors, 2047G
Logical sector size: 512
Disk identifier (GUID): 68e62ebb-685e-4a42-af66-247d86417f24
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 5860529072 2790G 0700
fdisk: device has more than 2^32 sectors, can't use all of them
Found valid GPT with protective MBR; using GPTDisk /dev/sdd: 4294967295 sectors, 2047G
Logical sector size: 512
Disk identifier (GUID): e532ea7e-5ef2-426d-8b40-4ebcd6bd55be
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134Number Start (sector) End (sector) Size Code Name
1 64 8388671 4096M 0700
2 8388672 9437247 512M 0700
3 9437248 5860529072 2790G 0700Disk /dev/md0: 4293 MB, 4293906432 bytes
2 heads, 4 sectors/track, 1048317 cylinders
Units = cylinders of 8 * 512 = 4096 bytesDisk /dev/md0 doesn't contain a valid partition table
fdisk: device has more than 2^32 sectors, can't use all of themDisk /dev/dm-0: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDisk /dev/dm-0 doesn't contain a valid partition table
- f0rgivenSep 06, 2016Aspirant
It looks like i have 2 backup folders. 1 in /c and 1 in /backup. If i look inside both folders, they have the same folders and content? Frontview shows 1 share folder named backup..... I tried to mv -v dir1 dir2 /c/backup and got:
mv: `Commercial' and `/c/backup/Commercial' are the same file
mv: `DAG' and `/c/backup/DAG' are the same file
mv: `randy@lovenc.com' and `/c/backup/randy@lovenc.com' are the same file
mv: `Residential' and `/c/backup/Residential' are the same file
mv: `SDR' and `/c/backup/SDR' are the same fileIs 1 of the backup folders a symlink or something?
du -csh /backup/*
244G /backup/Commercial
42G /backup/DAG
45G /backup/randy@lovenc.com
399M /backup/Residential
6.1M /backup/SDR
330G totaldu -csh /c/backup/*
244G /c/backup/Commercial
42G /c/backup/DAG
45G /c/backup/randy@lovenc.com
399M /c/backup/Residential
6.1M /c/backup/SDR
330G totalAnd i am not even sure /backup is the OS volume as the /backup folder is 330G and the OS volume is 4G.....
I guess i could mv the /backup folder and all contents to /c/some.other.folder and see what happens (i could always move the files back)....
And so i did mv the files as i stated above and then ls /backup = empty then ls /c/backup = empty. So 1 of these is a symlink of some type.
I'm waiting to hear back from 1 of you guys on how to identify where the OS volume is on the ReadyNAS Pro 4? It looks to be /dev/md0 from fdisk -l above but i wait to get specific instructions from 1 of you
- mdgm-ntgrSep 06, 2016NETGEAR Employee Retired
/backup is a symlink to /c/backup
You can see this when doing e.g.
# ls -la /
- f0rgivenSep 06, 2016Aspirant
Figured so but how do i identify where the OS volume is as i don't think i am even on the right volume?
- mdgm-ntgrSep 06, 2016NETGEAR Employee Retired
I can take a look if you like. I've sent you a PM.
- mdgm-ntgrSep 06, 2016NETGEAR Employee Retired
f0rgiven wrote:
Figured so but how do i identify where the OS volume is as i don't think i am even on the right volume?
Whatever's not on the data volume or in some kind of tmpfs or ramfs or similar is in the root volume.
# cat /proc/mounts
gives a good indication.
You would ignore the directories /proc /sys and /dev and /run when looking for what's filling the root volume.
It takes some practice and familiarity to be able to quickly identify which is which.
It's much easier in tech support mode where when you mount the root volume everything within the mount point is data on the root volume as you haven't mounted other things within the root volume yet.
- f0rgivenSep 06, 2016Aspirant
PM'ed you back
- mdgm-ntgrSep 06, 2016NETGEAR Employee Retired
O.K.
It seems that Syncrify is starting before the data volume is mounted. So when the data volume is mounted to /c you can't see that there's 3GB on the root volume anymore.
- f0rgivenSep 06, 2016Aspirant
Is there some way to have the data mount before Syncrify loads? We have had Syncrify running for at leats 3 years. Then we lost 2 drives in the NAS and had to reinstall syncrify.
- mdgm-ntgrSep 06, 2016NETGEAR Employee Retired
Well another possibility is that you moved the Syncrify files whilst the data volume wasn't mounted to be beneath /c
If the data volume isn't mounted then moving files to be under /c will still leave them on the root volume and you won't see those files when the data volume is mounted in normal mode.
Just rebooted your system.
- f0rgivenSep 06, 2016Aspirant
You know, i think thats exactly what happened..... I can't remember where i mounted the data volume but i bet is was on the OS volume then i moved the files. So is that something i need to redo or did you reverse it?
- mdgm-ntgrSep 06, 2016NETGEAR Employee Retired
I moved the files over to the data volume.
- f0rgivenSep 06, 2016Aspirant
So df /dev/md0 still shows:
Filesystem 1K-blocks Used Available Use% Mounted on
- 10240 588 9652 6% /devAccording to StephenB that should be something completely different. Where would you recommend i go from here? Reload the OS or fix the config?
- f0rgivenSep 12, 2016Aspirant
Something is still wrong. I don't have any logs in frontview and when i click on download all logs, i get:
well, i was going to take a screen shot and post it but when i go back to frontview i get:
and nothing in frontview shows! This is what it was doing when the OS volume was full.
- mdgm-ntgrSep 12, 2016NETGEAR Employee Retired
You don't do
# df /dev/md0
But rather e.g.# df -h
# df -i
One of the mounts shown will be a mount of /dev/md0
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!