Few simple questions
Posted: Fri May 17, 2013 8:42 pm
First off, I'm new to Amahi. Almost done migrating from WHS. So far, I'm loving it. After some newbish mistakes with 4TB drive on 32bit windows causing a near catastrophic data loss, I think I've just about got things running smoothly. There are a few things I want to change for the sake of order, but I'm afraid to do so without a bit of guidance. My questions are:
1. Can I safely move the drive mount points without causing issues? During the migration, I mounted several NTFS drives to copy data off onto the ext3 drives, then formatted them to ext4 and added to the drive pool. My drive pool now includes "/" (I understand why this is ill advised, and am prepared to handle the issues that may arise), /var/hda/files/drives/drive4, and /var/hda/files/drives/drive7. This is not preferable, I would like to mount the drives in /var/.../drive1 - /var/.../drive4. The drive mounted in drive7 is still empty as I haven't added storage pooling to it yet, so I imagine I could easily edit fstab to mount it to /var/.../drive3 (as it is in the 3rd drive bay.) drive4 has 1TB of data (and rising) already migrated to it via share pooling. If I were to edit fstab and mount it as /etc/.../drive2, then run a greyhole -fsck, would that fix everything proper? Or would I essentially ruin all the past 3 days of work i've done?
2. Is there an easier way to remove user folders from samba shares than editing the samba.conf? i.e. After logging in via ssh, the user folder /home/username/ is created and automatically shared via samba. It does not show up in the amahi dashboard anywhere as such, I cannot enable pooling, and I see no reason to have it shared. (I'm running a headless server, so local logins won't happen.) I edited the user folder bits out of the samba.conf file, but I was wondering if there was an easier way to handle this.
3. Will having a newly added file constantly accessed keep greyhole from moving it out of the landing zone? Say I were to download the latest ubuntu iso via torrent file and have my client store it on the network share, would greyhole go ahead and move the file and create the symlink, or would it wait until the file was no longer being accessed?
4. Is it safe to delete the greyhole log file? I see there are several logs that have been gzip'd as grehole.log.1.gz, mysql.log.1.gz. Can these be deleted? Does it happen automatically?
FYI: I installed Ubuntu Server 12.04.2 LTS 64-bit without any issues.
1. Can I safely move the drive mount points without causing issues? During the migration, I mounted several NTFS drives to copy data off onto the ext3 drives, then formatted them to ext4 and added to the drive pool. My drive pool now includes "/" (I understand why this is ill advised, and am prepared to handle the issues that may arise), /var/hda/files/drives/drive4, and /var/hda/files/drives/drive7. This is not preferable, I would like to mount the drives in /var/.../drive1 - /var/.../drive4. The drive mounted in drive7 is still empty as I haven't added storage pooling to it yet, so I imagine I could easily edit fstab to mount it to /var/.../drive3 (as it is in the 3rd drive bay.) drive4 has 1TB of data (and rising) already migrated to it via share pooling. If I were to edit fstab and mount it as /etc/.../drive2, then run a greyhole -fsck, would that fix everything proper? Or would I essentially ruin all the past 3 days of work i've done?
2. Is there an easier way to remove user folders from samba shares than editing the samba.conf? i.e. After logging in via ssh, the user folder /home/username/ is created and automatically shared via samba. It does not show up in the amahi dashboard anywhere as such, I cannot enable pooling, and I see no reason to have it shared. (I'm running a headless server, so local logins won't happen.) I edited the user folder bits out of the samba.conf file, but I was wondering if there was an easier way to handle this.
3. Will having a newly added file constantly accessed keep greyhole from moving it out of the landing zone? Say I were to download the latest ubuntu iso via torrent file and have my client store it on the network share, would greyhole go ahead and move the file and create the symlink, or would it wait until the file was no longer being accessed?
4. Is it safe to delete the greyhole log file? I see there are several logs that have been gzip'd as grehole.log.1.gz, mysql.log.1.gz. Can these be deleted? Does it happen automatically?
FYI: I installed Ubuntu Server 12.04.2 LTS 64-bit without any issues.