I have just reinstalled Amahi on my server and wanted to setup Greyhole before getting too far in. I am not great at Linux but I'm learning.
Here is my system http://sprunge.us/FXaO
I am not understanding fully how to mount the drives properly and thus edit the greyhole.conf file.
my fdisk -l output looks nothing like others and it is confusing me quite a bit. Amahi set up a 1.7TB partition to mount on / which I want as part of the pooled storage and set up my second 2TB HD to mount on /home. should I change these to something more like the conventional /var/hda/files/drives/drive1/gh?
If so, How?
Greyhole Install on Amahi 7 Fresh install
Re: Greyhole Install on Amahi 7 Fresh install
When you install Fedora 19 and Amahi, only connect 1 drive that will be used for the OS. The other drives you want to use for Greyhole will be connected after Amahi is up and running.
Follow the wiki guidance for adding a second hard drive and to set up Greyhole.
https://wiki.amahi.org/index.php/Adding ... o_your_HDA
https://wiki.amahi.org/index.php/Amahi_ ... hole_Setup
Follow the wiki guidance for adding a second hard drive and to set up Greyhole.
https://wiki.amahi.org/index.php/Adding ... o_your_HDA
https://wiki.amahi.org/index.php/Amahi_ ... hole_Setup
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Greyhole Install on Amahi 7 Fresh install
Thanks bigfoot.
Next questions is, I have about 2TB of data on a USB 3.0 external 3TB HDD (NTFS) that needs to be transferred into the pooled storage. I know trying to push that through the LAN will be incredibly slow compared to actual USB or even installing the drive.
Is there a more efficient way to transfer the data or add it to the pooled storage rather than transfer?
-barron
Next questions is, I have about 2TB of data on a USB 3.0 external 3TB HDD (NTFS) that needs to be transferred into the pooled storage. I know trying to push that through the LAN will be incredibly slow compared to actual USB or even installing the drive.
Is there a more efficient way to transfer the data or add it to the pooled storage rather than transfer?
-barron
Re: Greyhole Install on Amahi 7 Fresh install
You could connect the drive to the HDA directly and copy files over that way. Before you do so, recommend you install mount_shares_locally for Greyhole.
https://wiki.amahi.org/index.php/Mount_Shares_Locally
Another option, and probably what I would do, is turn off Greyhole, copy the files over to the shares, and then turn it back on. Do this via the dashboard and ensure you uncheck the watchdog option which will prevent automatic restart.
To do so by command line, as root user do:
Then to turn it back on, just change to start and enable in the above commands.
Greyhole should then kick in and start coping files. Ensure before starting Greyhole that you verify all your files are owned by 1st admin user:users too.
https://wiki.amahi.org/index.php/Mount_Shares_Locally
Another option, and probably what I would do, is turn off Greyhole, copy the files over to the shares, and then turn it back on. Do this via the dashboard and ensure you uncheck the watchdog option which will prevent automatic restart.
To do so by command line, as root user do:
Code: Select all
systemctl stop amahi-greyhole.service
systemctl disable greyhole.service
Greyhole should then kick in and start coping files. Ensure before starting Greyhole that you verify all your files are owned by 1st admin user:users too.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Greyhole Install on Amahi 7 Fresh install
I will go with the second route as well.
Turn off Greyhole and watchdog,
Then send files over LAN to shares from a separate computer.
Just verifying I understood that right.
Turn off Greyhole and watchdog,
Then send files over LAN to shares from a separate computer.
Just verifying I understood that right.
Re: Greyhole Install on Amahi 7 Fresh install
Yes or you can connect the drive via USB and do it. Not sure, but it may automount. If not, you could use hda-diskmount.
No need to add it to the /etc/fstab, just have it temporarily mounted to copy files.
No need to add it to the /etc/fstab, just have it temporarily mounted to copy files.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Greyhole Install on Amahi 7 Fresh install
Not trying to be dense, I appreciate your help.
You mentioned if I connect it directly, to go ahead and install the mount_shares_locally.
If I do hda-diskmount it should mount the disk temporarily after which I can do a cp command from the external source to the appropriate share, say /var/hda/files/docs, Is that correct?
If I do hda-diskmount I do not have to perform the mount_shares_locally.
You mentioned if I connect it directly, to go ahead and install the mount_shares_locally.
If I do hda-diskmount it should mount the disk temporarily after which I can do a cp command from the external source to the appropriate share, say /var/hda/files/docs, Is that correct?
If I do hda-diskmount I do not have to perform the mount_shares_locally.
Re: Greyhole Install on Amahi 7 Fresh install
Yes that is correct mostly. You don't need mount shares locally if you turn Greyhole off. That script is only for it and when you move files without going through Samba.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Greyhole Install on Amahi 7 Fresh install
I mounted the drive and it shows up as /dev/sdc1 mounted as /var/hda/files/drives/drive2
It shows mount: unknown filesystem type 'ntfs-3g'
I cant find the directory so that I can cp them to the shares folders
It shows mount: unknown filesystem type 'ntfs-3g'
I cant find the directory so that I can cp them to the shares folders
Re: Greyhole Install on Amahi 7 Fresh install
It needs the nice dependency installed. Check the wiki guidance for adding an additional drive for package name.
https://wiki.amahi.org/index.php/Adding ... o_your_HDA
EDIT:
Install these packages:
You may have to unmount the drive, then remount using hda-diskmount after installing them.
https://wiki.amahi.org/index.php/Adding ... o_your_HDA
EDIT:
Install these packages:
Code: Select all
yum install pmount fuse fuse-libs ntfs-3g util-linux-ng
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
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 55 guests