Results 1 to 4 of 4

Thread: Partitioning with SSD and SATA?

  1. #1
    Kilo Poster
    Join Date
    Nov 2011
    Posts
    16

    Default Partitioning with SSD and SATA?

    I have a new server with a 60 GB SSD and 2* 1 TB SATA with RAID 1.

    How should I get the standard partitions configured for a Virtuozzo install for multiple containers? In particular I was thinking of requesting my friend and technical support to put a /vz partition on the SSD drive as well as a /vz partition on the SATA. Does anyone know if this would work, i.e. would I be able to manage containers on both SSD and SATA from the same Virtuozzo HW node? (In this scenario I would also put the / root partition on the SATA, and the swap, I think I have read, would be good on the SSD?)

    Any help appreciated.



  2. #2
    Parallels Team MakcyD's Avatar
    Join Date
    Nov 2008
    Location
    NSK
    Posts
    124

    Default Hi BenKet

    Quote Originally Posted by BenKet View Post
    I have a new server with a 60 GB SSD and 2* 1 TB SATA with RAID 1.

    How should I get the standard partitions configured for a Virtuozzo install for multiple containers? In particular I was thinking of requesting my friend and technical support to put a /vz partition on the SSD drive as well as a /vz partition on the SATA. Does anyone know if this would work, i.e. would I be able to manage containers on both SSD and SATA from the same Virtuozzo HW node? (In this scenario I would also put the / root partition on the SATA, and the swap, I think I have read, would be good on the SSD?)

    Any help appreciated.
    Actually there is no difference for Parallels Virtuozzo Containers in managing containers placed on different physical drives, while /vz is placed over LVM volume or RAID.

    I would suggest to place /vz on a RAID device and the rest on SSD drive.
    Having swap on SSD drive will boost the performance a bit, since there is no performance degradation caused by HDD head jumping back and forth on regular HDDs.

    Also it is possible to place separate containers (with highest disk i\o activity, e.g. with database servers) on SSD drive, e.g., assuming you have /vz2 placed on SSD drive and you need to move CT 3147 to that drive:
    Code:
    [18:22:06][~]# mkdir /vz2
    [18:22:27][~]# mkdir /vz2/private
    [18:22:40][~]# mkdir /vz2/root
    [18:22:43][~]# rsync -au /vz/private/3147 /vz2/private/
    [18:23:18][~]# ls -la /vz2/private/
    total 12
    drwxr-xr-x 3 root root 4096 Feb  6 18:23 .
    drwxr-xr-x 4 root root 4096 Feb  6 18:22 ..
    drwxr-xr-x 7 root root 4096 Feb  6 17:02 3147
    [18:24:19][~]# cd /etc/vz/conf/
    [18:24:21][/etc/vz/conf]# rm 3147.conf
    [18:24:31][/etc/vz/conf]# ln -s /vz2/private/3147/ve.conf 3147.conf
    [18:25:28][/etc/vz/conf]# vim /vz2/private/3147/ve.conf
    [18:27:11][/etc/vz/conf]# grep -E "ROOT|PRIVATE" /vz2/private/3147/ve.conf
    VE_ROOT="/vz2/root/$VEID"
    VE_PRIVATE="/vz2/private/$VEID"
    [18:28:02][/etc/vz/conf]# vzctl start 3147
    Starting the Container ...
    Container is unmounted
    Container is mounted
    Setting permissions 20002 dev 0x7d00
    Adding offline management to Container(1): 8443 4643
    Adding IP addresses: 10.20.30.40
    Starting the Container ...
    [18:28:05][/etc/vz/conf]#
    Hope it helps,
    Max Sudyin
    Corporate Trainer
    || Parallels

    Knowledge Base: http://kb.parallels.com


    1 out of 1 members found this post helpful.

  3. #3

    Default

    I also have done
    thank you
    www.baocaosu3S.com



  4. #4

    Default

    I would suggest to place /vz on a RAID device and the rest on SSD drive.
    Having swap on SSD drive will boost the performance a bit, since there is no performance degradation caused by HDD head jumping back and forth on regular HDDs.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •