Changes

From Amahi Wiki
Jump to: navigation, search
==All Shares==
Host '''ALL''' shares on the new hard drive.
Move all the shares data to the new drive by executing the following command (replace path in ''unmount'<span style="color: red;">RED</span>' '' with the path from the ''hda-diskmount'' output):<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;"> mv /var/hda/files/* <strong style="color:red">/var/hda/files/drives/drive1/</strong></div> '''NOTE:''' There may be a '''WARNING''' indicating ''/var/hda/files/drives cannot be moved to a subdirectory of itself'' which should be ignored. Unmount the new hard drive:
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
umount /var/hda/files/drives/drive1/
</div>
To mount Mount the new hard drive permanentlyas ''/var/hda/files'', use using the ''nano'' command line editor:
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
nano /etc/fstab
:EXAMPLE OUTPUT(Modified):
UUID=547b073d-e591-4913-b4fb-7c5084353979 <strong>/var/hda/files</strong> ext4 defaults 1 2
 
'''NOTE:''' <u>DO NOT</u> change anything else from the '''<span style="color: blue;">BLUE</span>''' line in the ''hda-diskmount'' output.
<span style="color:#0000FF">'''UUID=547b073d-e591-4913-b4fb-7c5084353979 /var/hda/files ext4 defaults 1 2'''</span>
Finally , execute the following:
<div style="border: 1px solid #A3B1BF; padding: .5em 1em; color: #000; background-color: #E6F2FF; margin: 3px 3px 1em 3px;">
mount -a
12,424

edits