My HDA basically got stuck, and I couldn't figure out why. It kept giving me errors about almost being out of free space, which didn't pass my sniff test. It turns out, my space was fine, but the system is reading my free space incorrectly due to mounted NFS shares from my FreeNAS box.
I'm running Amahi 14 with a raided 2TB system inside it, then I have the FreeNAS box with 5TB in a ZFS pool mirrored. 7TB total, 2 on the HDA, 5 on the NAS. I have a bunch of folders simply stored remotely, specifically:
/home/surfrock66/Videos <- likely 2.4TB
/home/surfrock66/.sr66_nas_documents <- Document backup, likely around 20GB
/home/surfrock66/,sr66_nas_pictures <- Pictures backup, likely around 70GB
/home/surfrock66/Books
/home/surfrock66/Games
The last 2 were made yesterday to clear off free space...they're about 150GB total.
If I leave the NAS off so that the /etc/fstab doesn't pull the NFS shares, suddenly my whole file system is only 360 GB. Here's a "du -c --max-depth=1" of my home folder:
Code: Select all
[surfrock66@sr66-blade ~]$ du -c --max-depth=1
1136 ./Desktop
4 ./.themes
84 ./.macromedia
25264 ./.dropbox
23197152 ./Documents
8 ./.mplayer
4 ./Books1
432 ./.pulse
996 ./.gstreamer-0.10
10213096 ./.bitcoin
316780 ./.config
54287160 ./0.Jenn.HP.Backup.2013.02.04
74289340 ./Pictures
9452 ./.minecraft
84 ./.gconfd
4 ./Games1
16 ./.adobe
36 ./.pki
4 ./.dropbox-dist-new
545396 ./.ccache
4 ./.nautilus
4 ./.orc
8 ./.icedteaplugin
388 ./.gimp-2.6
12 ./.gnote
52 ./.easytag
4 ./.sr66_nas_documents
16 ./.audacity-data
1756 ./.gconf
40730208 ./Downloads
488 ./.gnome2
8 ./Videos
204 ./.fontconfig
407868 ./.cache
12 ./Games
4 ./.hplip
4 ./.icons
4 ./Books
182748 ./.thumbnails
4 ./.sr66_nas_pictures
97024 ./.tor
3348 ./.openoffice.org
4 ./Public
32 ./.ffmpeg
168 ./.sr66_amahi_configs
36 ./.filezilla
4 ./.gnome2_private
5344 ./.local
4 ./Webcam
32 ./.dbus
4 ./.qt
1778132 ./CloudStorage
28 ./.vnc
20 ./.tvtime
0 ./.gvfs
16 ./.ssh
12 ./.netx
55325752 ./Music
16 ./.gnupg
12 ./.putty
103204772 ./Projects
12 ./.mission-control
50700 ./.dropbox-dist
365349932 .
365349932 total
When I mount the NAS...all kinds of things go haywire and the system thinks I have about 120GB free.
This is my /etc/fstab file:
Code: Select all
#
# /etc/fstab
# Created by anaconda on Thu Oct 6 23:32:01 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=83eef677-28fa-4f00-b7bb-cc6b5dcb120e / ext4 defaults 1 1
UUID=3797979b-f3d1-4ff9-aaba-136c9ef231e7 /boot ext4 defaults 1 2
UUID=c33be4e2-fb1e-4089-ac18-79faf4262650 swap swap defaults 0 0
UUID=3230ff04-19a6-4607-8b34-c4754830e09e swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
192.168.1.36:/mnt/sr66-nas1/Videos /home/surfrock66/Videos nfs defaults 0 0
192.168.1.36:/mnt/sr66-nas1/Documents /home/surfrock66/.sr66_nas_documents nfs defaults 0 0
192.168.1.36:/mnt/sr66-nas1/Pictures /home/surfrock66/.sr66_nas_pictures nfs defaults 0 0
192.168.1.36:/mnt/sr66-nas1/Books /home/surfrock66/Books nfs defaults 0 0
192.168.1.36:/mnt/sr66-nas1/Games /home/surfrock66/Games nfs defaults 0 0
One last thing...if I ever lose the NAS, I have a remount script I use from time to time:
Code: Select all
#!/bin/bash
sudo mount 192.168.1.36:/mnt/sr66-nas1/Videos /home/surfrock66/Videos
sudo mount 192.168.1.36:/mnt/sr66-nas1/Documents /home/surfrock66/.sr66_nas_documents
sudo mount 192.168.1.36:/mnt/sr66-nas1/Pictures /home/surfrock66/.sr66_nas_pictures
sudo mount 192.168.1.36:/mnt/sr66-nas1/Games /home/surfrock66/Games
sudo mount 192.168.1.36:/mnt/sr66-nas1/Books /home/surfrock66/Books