Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 09:09:43

Author Topic: How to relocate Home directory to another partition  (Read 3392 times)

0 Members and 1 Guest are viewing this topic.

Offline prgs1971

  • Valuable Member
  • *
  • Posts: 81
  • Karma: +0/-0
    • View Profile
    • http://premium-prestashop-hosting.com
When i install Centos using the Linode Manager i get 2 partitions:
Code: [Select]
[root@server /]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/xvda              5046976   1402416   3388584  30% /
tmwpfs                   761556       124    761432   1% /dev/shm

No i know how to create and mount a new partition, but i don't know how to use it as the Home partition.

In another words i want to relocate the Home directory from /dev/xvda to another partition /dev/xvdc  

How can i accomplish this?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: How to relocate Home directory to another partition
« Reply #1 on: 2013-08-13, 07:08:13 »
if possible you can separate mySQL database on different HD
becase I/O :D
try to separate you mySQL, and feel the speed
 i use this trick on my Dedicated server
sda = 1TB sata
sdb - 512mb SSD
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline prgs1971

  • Valuable Member
  • *
  • Posts: 81
  • Karma: +0/-0
    • View Profile
    • http://premium-prestashop-hosting.com
Re: How to relocate Home directory to another partition
« Reply #2 on: 2013-08-13, 08:10:49 »
I am in a Linode VPS and SSD is not yet included in any plan.

I just have make a trial to a SSD VPS from clustered.net and i know that it is to dam fast ;)

My ideal setup will be:

- xvda - for Centos
- xvdb - swap
- xvdc - home
- xvdd - Kloxo-MR
- xvde - Mysql

But i don't know if Kloxo-MR can be separated to a different partition???
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.024 seconds with 18 queries.

web stats analysis