Changes

From Amahi Wiki
Jump to: navigation, search
==All Shares==
Host '''ALL''' shares on the new hard drive by moving all the shares data to the new drive.<br/>
Mount points will be created (drive1, drive2, etc) and hard drive(s) mounted automatically. [[Open Terminal as root|In a Terminal, as root]], type execute the following command:<div style="border: 1px solid #A3B1BF; padding: .5em 1em; background-color: #E6F2FF; margin: 3px 3px 1em 3px;"> hda-diskmount</div><br /> :EXAMPLE: **************************************************************** Ignoring /dev/sda1 - already in /etc/fstab or mounted **************************************************************** Mounted /dev/<strong style="color:green">sdb1</strong> as '<strong style="color:red">/var/hda/files/drives/drive1</strong>' (read-write) You may want your system to mount it every time you boot. Replace To do so, add this line VERY CAREFULLY to /etc/fstab and reboot: <strong style="color:blue">UUID=547b073d-e591-4913-b4fb-7c5084353979 /var/hda/files/drives/drive1 ext4 defaults 1 2</strong> **************************************************************** All Linux, Windows and Mac partitions on non-removable disks have been mounted Move all the shares data to the new drive by executing the following command (replace path in <span style="color: red ;">RED</span> with the path you received when you ran 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>
12,424

edits