How to move the share to a different disk

chetmaster12
Posts: 1
Joined: Mon Nov 16, 2015 7:04 pm

How to move the share to a different disk

Postby chetmaster12 » Mon Nov 16, 2015 7:12 pm

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!

jdcangelosi
Posts: 3
Joined: Fri Jan 01, 2016 10:17 am

Re: How to move the share to a different disk

Postby jdcangelosi » Fri Jan 01, 2016 10:18 am

Same situation here. Not able to find the option to change the path to another HDD.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: How to move the share to a different disk

Postby bigfoot65 » Fri Jan 01, 2016 10:40 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jdcangelosi
Posts: 3
Joined: Fri Jan 01, 2016 10:17 am

Re: How to move the share to a different disk

Postby jdcangelosi » Fri Jan 01, 2016 11:01 am

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,

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: How to move the share to a different disk

Postby bigfoot65 » Fri Jan 01, 2016 11:24 am

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?
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

jdcangelosi
Posts: 3
Joined: Fri Jan 01, 2016 10:17 am

Re: How to move the share to a different disk

Postby jdcangelosi » Fri Jan 01, 2016 11:42 am

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: How to move the share to a different disk

Postby bigfoot65 » Fri Jan 01, 2016 1:11 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 22 guests