Re: CentOS 6 x64 - Changing /var folder to raid 1 disk after install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello,

to copy /var I would use

/bin/cp -Rp

Best regards 
Helmut




-----Ursprüngliche Nachricht-----
Von: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] Im Auftrag von Adil BOYUN
Gesendet: Montag, 21. November 2011 13:19
An: CentOS mailing list
Betreff: Re:  CentOS 6 x64 - Changing /var folder to raid 1 disk after install

Hello,

Thanks for your answer. Thing is, I will install plesk on this server and what i imagined was to make document root for vhosts to be on different drive. On one of servers, i made vhost.conf file and changed document root, and later had problems with cgi-bin folder etc.

Thought like, since changing document root with plesk is kinda pain for my experience, what can i configure to have my websites, and later added domains run with no problem?

Linux is installed on sda 120 gb ssd disk, raid one drive ready to be mounted at /dev/md0 3 tb free disk.

Best regards

2011/11/21 Reindl Harald <h.reindl@xxxxxxxxxxxxx>:
>
>
> Am 21.11.2011 12:50, schrieb Adil BOYUN:
>> Hello,
>>
>> I have fresh install CentOS 6 x64 running on my server. I have a raid
>> 1 drive 3 tb ready to be mounted. I want to mount this as var folder, 
>> could achive this but after reboot, server didn't start, maybe i had 
>> problem with command cp -rf.
>>
>> Is this possible to do in a proper manner, with what commands?
>> I used rsync and diff game me like 10+ output.
>
> well as long /var is containing "/var/lib" and "/var/cache" than more 
> applications / services are running more possible changes you will get 
> while the sync is running
>
> i would boot the machine with a live-cd and finalize these changes 
> there on the other hand i would NOT move the whole /var to an own 
> partition
>
> normally "/var/cache" and "/var/log" two own partitions or if it is a 
> virtual machine in two different virtual disks should be enough to 
> prevent fill the root-fs and the different disks makes it much easier 
> resize/replace them if needed
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux