Changes

From Amahi Wiki
Jump to: navigation, search
no edit summary
That's it. Your share(s) are now on your new hard drive.
 
===Use the hard drive in your Greyhole storage pool===
If you want to add your new hard drive to your Greyhole storage pool, here's how to do that.
 
First, you'll need to make the mount permanent. [[Open Terminal as root|In a Terminal, as root]], type the following command:
 
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
umount /var/hda/files/drives/sdb1<br/>
nano /etc/fstab
</div>
 
In nano, you'll need to add a new line at the bottom. Take the line that hda-diskmount gave you (the blue one), and change the first value only.<br/>
Instead of /dev/sdb1, enter '''UUID=''' followed by the UUID you found earlier.
 
In nano, you'll need to add a new line at the bottom. Take the line that hda-diskmount gave you (the blue one), and add it as-is:
 
hda-diskmount gave me:
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
<strong style="color:blue">/dev/sdb1 /var/hda/files/drives/sdb1 ext4 defaults 1 2</strong>
</div>
 
So I should add this:
 
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
<strong>UUID=9d972abc-1639-44df-a60e-668618d40236</strong> /var/hda/files/drives/sdb1 ext4 defaults 1 2
</div>
 
Save and exit nano (CTRL-X, Y, ENTER), and try your new mount:
 
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
mount -a
</div>
 
Finally, you'll need to configure Greyhole to select your new partition.
 
In Greyhole storage pool options, you'll see a list of mounted partitions, with checkboxes next to each, allowing you to include those partitions in your storage pool.
 
You should now have a new row in there, referring to /var/hda/files/drives/sdb1.<br/>
Select it (click the checkbox).
 
That's it. Your new hard drive just increased your Greyhole storage pool capacity.