Page 1 of 1

How to move the share to a different disk

Posted: Mon Nov 16, 2015 7:12 pm
by chetmaster12
So I have a HP ProLiant DL320 1u rackmount server that I got for free with a hardware raid card. It has 4GB RAM, and one CPU. So I am running two 750GB disks in raid 1, through the raid card, so it shows up as one disk. I have Amahi installed on a 120GB boot drive, and I would like to keep it on that. So here is the question: I have set up share, and I am wondering how I can move that off the boot drive and onto the raid array.

The share is currently located /var/hda/files/qx6700q

The disk is labeled as /dev/sdb

HELP!

Re: How to move the share to a different disk

Posted: Fri Jan 01, 2016 10:18 am
by jdcangelosi
Same situation here. Not able to find the option to change the path to another HDD.

Re: How to move the share to a different disk

Posted: Fri Jan 01, 2016 10:40 am
by bigfoot65
Recommend you check out storage and file sharing in the wiki.

Changing the path of a share is done via the HDA Dashboard on your server.

Re: How to move the share to a different disk

Posted: Fri Jan 01, 2016 11:01 am
by jdcangelosi
Thx Bigfoot, read the tuto but still i'm stuck.


Here is my situation : sda 160GO for fedora and sdb for storage
/dev/sda1 476 MB 374 MB 72.9 MB (17%) /boot
/dev/sda3 49.1 GB 44.1 GB 2.43 GB (6%) /
/dev/sda5 98.5 GB 93.4 GB 59.6 MB (1%) /home
/dev/sdb1 466 GB 466 GB 79 MB (1%) /var/hda/files/drives/DATA

If i use the path /var/hda/files/drives/DATA/ all datas will still be written on SDA.

I wonder how to change the path to ensure that the datas will be written on SDB.

Thanks in advance,

Re: How to move the share to a different disk

Posted: Fri Jan 01, 2016 11:24 am
by bigfoot65
If i use the path /var/hda/files/drives/DATA/ all datas will still be written on SDA.
Based on what I see, you have /var/hda/files mounted on sdb. If you don't change the path in the shares as shown in the previous link, they will continue to be written on sda.

I presume you followed the Adding a second hard drive to your HDA wiki guidance or used the Amahi Disk Wizard to mount the second drive. Is that correct?

Re: How to move the share to a different disk

Posted: Fri Jan 01, 2016 11:42 am
by jdcangelosi
Yes i used the disk wizard to setup the 2nd hdd.
even if i use the path /var/hda/files mounted on sdb it is still writing one sda ... I really dont understand.

Re: How to move the share to a different disk

Posted: Fri Jan 01, 2016 1:11 pm
by bigfoot65
Please post the URL for the following command:

Code: Select all

fpaste --sysinfo
This will give me the additional info I need to help you.