Page 1 of 1

How to remap/remount drives for better configuration

Posted: Fri Mar 30, 2012 6:05 pm
by vladgur
Hi there!
I finally have configured my HP Mediasmart-driven Amahi server to 95 of where I like it.
dev/sda1 on /boot type ext4 (rw)
/dev/sda3 on /var/hda/files type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw)

when I add a new disk and run hda-diskmount, it mounts it under /var/hda/files/drives/driveX folder, for example:
/dev/sdc1 as '/var/hda/files/drives/drive4'

So in the end, I have first disk mounted as a "parent" folder /var/hda/files and other drives mounted underneath this folder as
/var/hda/files/drives/drive1
/var/hda/files/drives/drive2
etc

Which completely screws up Amahi web console available storage calculation and god knows what else.

What is your or COMMON disk mounting scheme, and how do I fix mine?

Re: How to remap/remount drives for better configuration

Posted: Fri Mar 30, 2012 6:52 pm
by ciscoh
The configuration you describe is the correct way of doing it.

Think of the "parent" as the landing zone for greyhole. This is where all the symlinks for your files reside. The drives mounted under drives are the copies of those files represented by the symlinks.

Re: How to remap/remount drives for better configuration

Posted: Sun Apr 01, 2012 12:22 am
by vladgur
with the following disk mounting configuration:

/dev/sda1 on /boot type ext4 (rw)
/dev/sda3 on /var/hda/files type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw)


Where do you recommend placing a Time Machine backup file? I read that it should be outside of greyhole

Re: How to remap/remount drives for better configuration

Posted: Sun Apr 01, 2012 11:04 am
by ciscoh
with the following disk mounting configuration:

/dev/sda1 on /boot type ext4 (rw)
/dev/sda3 on /var/hda/files type ext4 (rw)
/dev/sdb1 on /var/hda/files/drives/drive1 type ext4 (rw)


Where do you recommend placing a Time Machine backup file? I read that it should be outside of greyhole
For me Greyhole manages my entire storage pool. So my backups are not "outside" of Greyhole. I do, however, not have Greyhole making "extra copies" of anything in my "backups" share.