Difference between revisions of "Adding a second hard drive to your HDA"

From Amahi Wiki
Jump to: navigation, search
(New page: TBA)
 
Line 1: Line 1:
TBA
+
'''ADD MORE STORAGE (SECONDARY HARD DRIVE)'''
 +
 
 +
A secondary hard drive (fat32, ntfs, etc) can be added for additional storage and configured to mount permanently using the ''diskmounter'' script (thanks to Dennis Kaarsemaker).  Execute the script as ''root'' and answer YES to the prompt to make the drive writable to all users.  Once complete, reboot and the secondary drive should automatically mount. 
 +
 
 +
As user ''root'', edit '''''/etc/fstab''''' to change location of shared ''//hda'' folders to the secondary drive. 
 +
 
 +
This is what the script added for my drive:
 +
 
 +
''Added by diskmounter utility''
 +
 
 +
''/dev/sdb1 /var/hda/files vfat rw,user,fmask=0111,dmask=0000 0 0''
 +
 
 +
I changed second path to '''''/var/hda/files''''' to enable all shared files to be stored on the secondary hard drive.  This is the default path for ''//hda'' file storage system

Revision as of 01:31, 16 July 2008

ADD MORE STORAGE (SECONDARY HARD DRIVE)

A secondary hard drive (fat32, ntfs, etc) can be added for additional storage and configured to mount permanently using the diskmounter script (thanks to Dennis Kaarsemaker). Execute the script as root and answer YES to the prompt to make the drive writable to all users. Once complete, reboot and the secondary drive should automatically mount.

As user root, edit /etc/fstab to change location of shared //hda folders to the secondary drive.

This is what the script added for my drive:

Added by diskmounter utility

/dev/sdb1 /var/hda/files vfat rw,user,fmask=0111,dmask=0000 0 0

I changed second path to /var/hda/files to enable all shared files to be stored on the secondary hard drive. This is the default path for //hda file storage system