Click to See Complete Forum and Search --> : GKrellM not recognizing mount.


gkedrovs
05-17-2003, 05:20 PM
I just installed a new harddrive (hdb), partitioned it in 2 (hdb1 and hdb2). It's an 80 gig Maxtor. My hdb1 is mounted on /home in order to give user accounts more space.

In GKrellM I put my home dir (/home/greg) as a primary file system, but when it shows up on the bar it's not showing itself as mounted, and when I click the bar I get 0.00M-0.00M free (just as you do when you click on a bar with no file system mounted.

The line in my fstab for hdb1 is:
/dev/hdb1 /home ext2 defaults 1 1

I can read the drive (directory) fine, and a df -h shows /home mounted fine on /dev/hdb1.

Does any GKrellm guru out there know what's up with my mount point not being recognized as mounted??

Thanks in advance.
-Greg

Icarus
05-17-2003, 05:52 PM
There use to be a problem with gKrellm reading drives about hdd, but that was fixed with the new /proc filesystem monitoring in the 2.4.20 kernel (useless trivia ;))

You said /home is /dev/hdb1, and you entered in /home/greg to be monitored...gKrellm can only monitor a partition, not a specific directoy within the partition. I just tried adding /home (which is part of the / partition) and it gave the 0.00MB free.

You should be able to use just /home since it's a whole patrition...I hope that makes since, my head is killing me today :)

gkedrovs
05-17-2003, 06:03 PM
Yeah. It made sense (at least how I understand it). GKrellM can only read partitions, not individual directories on the tree. Okay... I changed /home/greg to just /home and I got it working fine. Recognizes the drive as mounted, and gives a readout of usage.

Sorry about your head. I'm about ready to crank up a bbq for some friends. You're invited if you can make it... :-)

Later! And thanks for the help.

-Greg