HDA Stopped Working. Root Full?

radamio
Posts: 5
Joined: Tue Dec 30, 2014 6:10 pm

HDA Stopped Working. Root Full?

Postby radamio » Tue Dec 30, 2014 6:49 pm

Hi there all,

I'm such a noob! But I do love learning. I thought -- after 5 re-installs of the express headless install of Amahi that I couldn't possibly gum things up any worse. Last night, I started moving video files from my Drobo over to my brand new re-purposed Amahi HDA and am so excited. Using Greyhole to turn two 1TB drives into pooled storage.

This morning, HDA was no longer accessible. From what I think is a full /root? What I understand to be the "landing zone" for Greyhole?

HDA says:

"Woopsie. Sorry about that!
It could be due to a bug, or very low memory, or very low disk in the root (/) partition.
If your disk or memory are not critical, it's likely a bug.
If this persists, please file a bug report with as much detail as you can.
You will be redirected to a debug page with more information shortly."

and

"Application Error
Rails application failed to start properly"

Before I started moving files I made sure that /root was not included in the storage pool. It looks like a partition has become plugged up at 100% capacity "sda6" and my ghLog says:

"Dec 30 17:33:16 CRITICAL initialize: Found a storage pool drive (/var/hda/drives/drive2/gh), which is INSIDE a share landing zone (/var/hda/drives/drive2), for share Drive 2. Storage pool drives should never be inside a directory that you use as a share landing zone ('path' in smb.conf).
For your shares to use your storage pool, you just need them to have 'vfs objects = greyhole' in their (smb.conf) config; their location on your file system is irrelevant."

At this point - kinda frustrated at the difficulty, my lack of knowledge and ignorance. I don't even know the right question to ask so I can google and hunt for the right answer. I'd like to move the landing zone, but I cannot download any more from (yum install) due to zero space. Partition that is crammed full is 45GB. OS drive is 1TB. So, yeah, all my fault but I am so lost. Can't install Gnome. Clueless on what command to use to delete the stuffed partition and blow it out.

Tried all of these:

https://wiki.amahi.org/index.php/Moving_landing_zone
viewtopic.php?f=4&t=4156
https://github.com/gboudreau/Greyhole/w ... andingZone
viewtopic.php?f=39&t=5708


It has been an exhausting, frustrating experience to get my HDA up and running. I'm thinking to try and do a reinstall and skip Greyhole? Regrettable as I paid $25 for that app and in my case it crashed my HDA. I'm not even sure what step would be next?

I need to delete the clogged up partition. sda6
I know now that my 1TB OS cannot be part of the pool -- I think I know that based on this crash.

I suppose I could just reinstall again (reinstall #7 for me) and just not have a storage pool?

After reading around here in these forums I see other folks have had issues and resolutions to their errant landing zones. But I am very confused now. Been dealing with this for 2 days and nothing to show for it :(.

How can I install a linux editor?
How can I install something like Gnome?
How to copy and paste linux screenshots so I can share what I see with any who offer to help?

OI!

So lost and turned around. Discouraged! :|

Thanks for any who can assist.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: HDA Stopped Working. Root Full?

Postby bigfoot65 » Tue Dec 30, 2014 8:13 pm

There is a lot going on here and best to tackle one issue at a time.

Recommend you first execute this as root user and post results:

Code: Select all

df -h
We need to see what is full, then figure out why. Based on your indication of using Greyhole, please also post the /etc/greyhole/conf file so we can see how things are set up.

The initial Amahi 7 setup is fairly straight forward, but a mistake anywhere along the way can cause issues. Sounds like you are using a 1 TB drive for the OS. Best to use a smaller drive if possible. If not, then it's best to partition it on install to make the / partition the largest. I am guess yours is /home. You can make that the new landing zone, but it may take a bit of time.

You might consider moving some of the files in /var/hda/files/share to the /home directory to free up some space.

As I mentioned, let's do one thing at a time. Get the dashboard working and the landing zone cleared. You might consider stopping Greyhole via the dashboard server tab until things are situated.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

radamio
Posts: 5
Joined: Tue Dec 30, 2014 6:10 pm

Re: HDA Stopped Working. Root Full?

Postby radamio » Wed Dec 31, 2014 2:53 pm

Hi there bigfoot65!

Thanks kindly for the favor of help. I see your name a lot everywhere on these forums. I am grateful that I have such an expert to assist if you can. Thank you.

I did another install after I lost the videos files (45GB) that got stuck in the this sda6 partition. I have backups of them elsewhere so mostly an annoyance than a real loss (yay Carbonite!)

Here is the snapshot of my "df-h" root request:

Filesystem Size Used Avail Use% Mounted on
/dev/sda6 46G 4.8G 39G 11% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 0 1.9G 0% /dev/shm
tmpfs 1.9G 584K 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs 1.9G 20K 1.9G 1% /tmp
/dev/sdc1 917G 27G 844G 4% /var/hda/drives/drivef
/dev/sdb1 917G 72M 871G 1% /var/hda/drives/driveg
/dev/sda1 190M 78M 98M 45% /boot
/dev/sda2 864G 72M 820G 1% /home
none 4.0M 0 4.0M 0% /var/spool/greyhole/mem

=======================================

I did a test and moved a file from one drive to another and watched the size of the partition "sda6" grow by the same size. Moved a 1.2 GB file and the partition grew that same size. I think that confirms that notion that /dev/sda6 has become an inadvertent "Landing Zone" and I fully intended that /dev/sda2 or "/home" SHOULD be the desired location. I just don't know how to fix this in CLI.

Tried install GParted
Tried installing Gnome
getting a GTK error.
Stopping.

BTW, Happy New Year to you and best wishes on 2015.

Reinstall?? This time not letting Amahi auto partition?
Attachments
df-h.jpg
df-h.jpg (82.83 KiB) Viewed 2567 times

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: HDA Stopped Working. Root Full?

Postby bigfoot65 » Wed Dec 31, 2014 3:26 pm

The partition ssda6 is not in inadvertent LZ. That is by design as that's where /var/hda/files lives. This is where the LZ is located by default as I thought I indicated in my previous post.

In order to make things work better, you might consider reinstall and customizing the partition sizes. Make /home smaller like 50GB and put the bulk of the drive in the / partition. This is the extreme measure.

The other option would be to change the shares to use /home which can be done via the dashboard. Change the path to /home/share for Docs, Music, Movies, etc. Then move the files to those directories and remove the old share path in /var/hda/files (can be left if you want, just remove the files).

I have seen other users do the second option to prevent having to reinstall. We hope to have a custom partition wiki page soon to help with this common problem.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

radamio
Posts: 5
Joined: Tue Dec 30, 2014 6:10 pm

Re: HDA Stopped Working. Root Full?

Postby radamio » Wed Dec 31, 2014 6:02 pm

Hi,

Thanks kindly for the helpful advice. Very much appreciated. I will try that and report back here.

Thank you!

Who is online

Users browsing this forum: No registered users and 18 guests