Page 1 of 2

You have no storage_pool_directory defined. Greyhole can't

Posted: Wed Feb 23, 2011 9:58 am
by HHCosmin
i'm quite new to linux but i nthe last few days i installed fedora quie some times.
using fedora 14 and amahi
i have one 160gb disk with:
- /boot 200mb
- / 5gb
- /var/hda/files 40gb
- one partition with 40gb and other 60gb made for test

i originally had /home on another partition and i moved it to /. as the / partition was small i mapped the /var/hda/files to a 40gig partition so i have the landing zone on a big enough partition. however in the process i managed to lose the /var/hda/files original content. i checked if greyhole says anything and i saw in the log the following:

Code: Select all

[root@Amahi ~]# tail -f /var/log/greyhole.log Feb 23 17:38:04 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 17:38:30 4 stats: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 17:38:30 2 stats: Config file parsing failed. Exiting. Feb 23 17:40:00 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 17:40:27 4 stats: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 17:40:27 2 stats: Config file parsing failed. Exiting. Feb 23 17:50:00 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 17:55:55 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 17:56:38 4 stats: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 17:56:38 2 stats: Config file parsing failed. Exiting.
i created the /var/hda/files/docments, movies etc. however the eror keeps appearing and greyhole returns no status and also hda-diskmount is not recognized. any ideas?
later edit
now i only get:

Code: Select all

Feb 23 18:05:55 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:15:55 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:21:36 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:21:40 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:21:44 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:31:44 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:41:44 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:44:37 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:44:41 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 18:54:41 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.
using the web interface i deleted all shares except 2.

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Wed Feb 23, 2011 12:15 pm
by gboudreau
Go in the Shares > Storage Pool page in the Amahi Dashboard, and re-select one or more partitions.
If you already had some selected, un-select them, then re-select them.

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Wed Feb 23, 2011 1:55 pm
by HHCosmin
i asume you were talking about selecting/deselecting partitions for inclusion in the pool.
selected, deslected... what now? checked the log... no change

Code: Select all

Feb 23 21:54:41 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 22:34:41 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 22:44:41 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 22:51:16 4 daemon: You have no storage_pool_directory defined. Greyhole can't run. Feb 23 22:51:17 4 daemon: You have no storage_pool_directory defined. Greyhole can't run.

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Wed Feb 23, 2011 2:07 pm
by gboudreau

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Mon Feb 28, 2011 2:18 am
by HHCosmin
1*

Code: Select all

[root@Amahi ~]# uname -r; rpm -q samba hda-greyhole 2.6.35.6-45.fc14.x86_64 samba-3.5.5-68.fc14.1.x86_64 hda-greyhole-0.9.1-1.x86_64
2*
http://fpaste.org/ewNY/
http://fpaste.org/kDjh/
3*

Code: Select all

[root@Amahi ~]# mount; fdisk -l; df -h; greyhole --stats /dev/sda2 on / type ext4 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/sda1 on /boot type ext4 (rw) /dev/sda6 on /var/hda/files type ext4 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) fusectl on /sys/fs/fuse/connections type fusectl (rw) Disk /dev/sda: 160.0 GB, 160000000000 bytes 255 heads, 63 sectors/track, 19452 cylinders, total 312500000 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xab6aa625 Device Boot Start End Blocks Id System /dev/sda1 * 2048 411647 204800 83 Linux /dev/sda2 411648 10651647 5120000 83 Linux /dev/sda4 10651648 312498175 150923264 5 Extended /dev/sda5 10653696 12699647 1022976 82 Linux swap / Solaris /dev/sda6 12701696 94621695 40960000 83 Linux /dev/sda7 94623744 166303743 35840000 83 Linux /dev/sda8 166305792 312498175 73096192 83 Linux Filesystem Size Used Avail Use% Mounted on /dev/sda2 4.9G 3.4G 1.3G 74% / tmpfs 972M 100K 972M 1% /dev/shm /dev/sda1 194M 25M 160M 14% /boot /dev/sda6 39G 176M 37G 1% /var/hda/files
4*
no partitions included as i removed them
5*
http://fpaste.org/YgCo/
6*
nothing
7*
nothing

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Mon Feb 28, 2011 5:15 am
by gboudreau
Well, Greyhole can't run without any partitions selected in the storage pool page.
Select at least one!
Once that's done, if you still have issues, repeat troubleshooting steps 4-7

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Mon Feb 28, 2011 6:20 am
by HHCosmin
i included the /var/hda/files partition in the pool and things stated working again. thanks for the quick responses.

i see that in http://wiki.amahi.org/index.php/Fedora_14_install_guide guide it suggests to have the following partition schema:
  • /boot 0.5gb
  • / 20gb
  • /home 10gb
  • /var/hda/files for the rest
questions:
1. what is the advantage of having separate partitions for / and /home?
2. i was thinking to have a 10gb / partition and no /home partition. i would keep the /boot, /var/hda/files on separate partitions. i saw that fedora does not use much space and it seems wasteful to use 30gb for / and /home. is that a good idea?
3. i see that it suggests to include in the greyhole pool the /var/hda/files. i know that this is the default landing zone for all shares. inlcuding the / partition to the pool could cause issues. wouldn't inlcuding /var/hda/files to the pool cause same issues. what is our take on this?
4. i see that the suggested size for /swap is 2x ram. i'm using 2gb or ram so that would be 4gb of swap. i see that fedora is using very little ram. would a 2gb swap be more than enough?

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Mon Feb 28, 2011 6:48 am
by gboudreau
You should start a new thread for those questions, in another forum than the Greyhole one. You'll have a better chance of getting answers.
Cheers.

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Mon Feb 28, 2011 7:35 am
by HHCosmin
what about q no 3? that is related to greyhole, isn't it?
for the rest i will post in another place. thanks

Re: You have no storage_pool_directory defined. Greyhole can

Posted: Mon Feb 28, 2011 8:29 am
by gboudreau
3. There is no problem using a partition that is in the storage pool as the landing zone.
In fact, this will speed up some file operations, since when Greyhole will want to move new files from the LZ into the pool, if it chooses the partition where the LZ is, it will just rename (move) the file into the pool from the LZ, instead of copying it like it needs to do when the LZ and target drive are separate partitions.