Greyhole confusion

hec1152
Posts: 53
Joined: Tue Feb 08, 2011 5:46 pm

Greyhole confusion

Postby hec1152 » Mon Nov 19, 2012 2:33 pm

I have a total of 6 drives allocated to Greyhole. These in addition to the system drive which is not part of the pool. On the Storage setup menu these show up as sdb, sdc, sde, sde, sdf, and sdg. When I look at the directory /var/hda/file/drives, I note that there are only 5 items, drive1, drive2, drive3, drive4, and drive5. Shouldn't there be a drive6? Everthing seems to work so if a drive has gone offline I can't tell by the behavior. Also, how do I correlated the drivex with a specific drive so that I can identify the right id to remove from the pool if that's what I need to do? Apologies for what I might be missing as all this is probably straightforward. It's just that having spent almost an afternoon on this, I'm kinda blank. Thanks in advance.

hec1152
Posts: 53
Joined: Tue Feb 08, 2011 5:46 pm

Re: Greyhole confusion

Postby hec1152 » Mon Nov 19, 2012 2:56 pm

Well there may be more wrong than I realized. I noted the following:

Greyhole Statistics
===================

Storage Pool
Total - Used = Free + Attic = Possible
/var/hda/files/drives/drive2/gh: N/A - N/A = N/A + N/A = N/A
/var/hda/files/drives/drive3/gh: N/A - N/A = N/A + N/A = N/A
/var/hda/files/drives/drive4/gh: N/A - N/A = N/A + N/A = N/A
/var/hda/files/drives/drive5/gh: N/A - N/A = N/A + N/A = N/A
/home/gh: 56G - 0G = 53G + 0G = 53G
==========================================
Total: 56G - 0G = 53G + 0G = 53G

Also on the settings storage pool page I noted orange circles with exclamation points inside besides each of the four drives that are checked as part of the pool.

i'm guessing that this indicates something is messed up. Where do I go from here?

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

Re: Greyhole confusion

Postby bigfoot65 » Mon Nov 19, 2012 4:24 pm

Looks like your drives are not properly mounted. Suggest you check the /etc/fstab entries you have for those drives and ensure they match what you have in /var/hda/files/drives fodler.
ßîgƒσστ65
Applications Manager

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

hec1152
Posts: 53
Joined: Tue Feb 08, 2011 5:46 pm

Re: Greyhole confusion

Postby hec1152 » Mon Nov 19, 2012 5:01 pm

Not sure what I'm looking for but here's /etc/fstab:

#
# /etc/fstab
# Created by anaconda on Sun May 27 16:33:33 2012
#
# 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
#
/dev/mapper/vg_geordi-lv_root / ext4 defaults 1 1
UUID=86e91ff7-5c49-4f83-9b45-23263a0ca94e /boot ext4 defaults 1 2
/dev/mapper/vg_geordi-lv_home /home ext4 defaults 1 2
UUID=eac290d0-3fe7-4301-9c3b-52dd48e566da swap swap defaults 0 0
/dev/mapper/vg_geordi-lv_swap 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
/dev/hdc1 /mnt/hdc1 ext3 default 0 0fstab


and here's what's in /var/hda/files/drives folder:

[root@Geordi HEC]# cd /var/hda/files
[root@Geordi files]# ll
total 40
drwxrwxr-x. 3 HEC users 20480 Sep 4 10:11 books
drwxrwxrwx. 3 HEC users 4096 Sep 4 17:51 docs
drwxr-xr-x 7 root root 4096 May 29 20:59 drives
drwxrwxr-x. 2 HEC users 4096 May 27 16:50 movies
drwxrwxr-x. 167 HEC users 4096 Nov 19 18:31 music
drwxrwxr-x. 2 HEC users 4096 May 27 16:50 pictures
[root@Geordi files]# cd drives
[root@Geordi drives]# ll
total 20
drwxr-xr-x 2 root root 4096 May 28 19:25 drive1
drwxr-xr-x 2 root root 4096 May 29 20:59 drive2
drwxr-xr-x 2 root root 4096 May 29 20:59 drive3
drwxr-xr-x 2 root root 4096 May 29 20:59 drive4
drwxr-xr-x 2 root root 4096 May 29 20:59 drive5
[root@Geordi drives]# cd drive1
[root@Geordi drive1]# ll
total 0
[root@Geordi drive1]#


I think something is seriously messed up. I'm a novice at this, so should I do a reinstall?

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

Re: Greyhole confusion

Postby bigfoot65 » Mon Nov 19, 2012 7:04 pm

Looks like your drives are not in /etc/fstab, so when you reboot they will not be mounted. Did you follow the wiki guidance for adding drives?

http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA

You have to follow that guidance to properly mount the drives. The Storage Pool tab in the dashboard relies on that info being followed. Until the drives are properly mounted, things will not work.
ßîgƒσστ65
Applications Manager

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

hec1152
Posts: 53
Joined: Tue Feb 08, 2011 5:46 pm

Re: Greyhole confusion

Postby hec1152 » Mon Nov 19, 2012 8:00 pm

I think something must have happened to the installation because it was working as I had installed it with Amahi server. I did not add any drives after the initial installation. So what was working ok must have gotten impacted by something (something during startup/initialization?). Anyway, at this point since I have backups of everything on the server, would it be easier to start over rather than try to correct this messed up installation?

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

Re: Greyhole confusion

Postby bigfoot65 » Mon Nov 19, 2012 8:05 pm

Probably would be best.

http://docs.amahi.org

Ensure only the OS drive is connected when you install Ubuntu and Amahi. Then once you have it all working, follow the guidance for adding additional drives.

If you don't you will have problems again.
ßîgƒσστ65
Applications Manager

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

Who is online

Users browsing this forum: No registered users and 15 guests