How to remap/remount drives for better configuration

vladgur
Posts: 6
Joined: Sun Mar 25, 2012 1:28 pm

How to remap/remount drives for better configuration

Postby vladgur » Fri Mar 30, 2012 6:05 pm

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?

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: How to remap/remount drives for better configuration

Postby ciscoh » Fri Mar 30, 2012 6:52 pm

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.

vladgur
Posts: 6
Joined: Sun Mar 25, 2012 1:28 pm

Re: How to remap/remount drives for better configuration

Postby vladgur » Sun Apr 01, 2012 12:22 am

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

User avatar
ciscoh
Posts: 158
Joined: Thu Mar 10, 2011 1:53 pm

Re: How to remap/remount drives for better configuration

Postby ciscoh » Sun Apr 01, 2012 11:04 am

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.

Who is online

Users browsing this forum: Bing [Bot] and 1 guest