1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Using the second Hard Disc in Plesk.

Discussion in 'Plesk for Linux - 8.x and Older' started by ullone, Apr 27, 2006.

  1. ullone

    ullone Guest

    0
     
    I have the problem that i have 2 HD and the first is quite full. I would like to use the second HD in Plesk.
    Have you some instructions about using the second HD in plesk ?
    Yes. At the moment. In my experience the second drive , with Plesk, is useful only to store backups. I have not any backup , then, it is useful for nothing. My problem is that with 100 domains , i have in /home/httpd/vhosts/ 25 GB of files php. I do not store any backup at the moment in the second drive. My problem is that if possible i would like to move some domains (the php files) from /home/httpd/vhosts/ in the first hard disk to a location in the second hard disk , but is it possible to change the dir that refer plesk from /home/httpd/vhosts/ to a location in the second server ?
    What is the system to use the second HD in Plesk ? If it is not possible for me to use the second HD in Plesk the second HD is not useful for nothing. Have you some instructions about using the second HD in plesk ?
     
  2. nb__

    nb__ Guest

    0
     
    /opt/psa/bin/transvhosts.pl -h | head -1
    Utility to transfer vhosts content to new place.
     
  3. JoaoCorreia

    JoaoCorreia Guest

    0
     
  4. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    Since you are such a big proponent of Xen what exactly is it and how will it help this user's disk space problem? I looked at the web site and it's not really obvious (to me at least).
     
  5. jens.jensen

    jens.jensen Guest

    0
     
    xen is a slightly different approach to machine virtualization (ala vmware, etc)

    doesnt sound like so much of a plesk problem as a mount point problem. You will need to look at your mount point config. try:

    df -h
    cat /etc/mtab
    cat /etc/fstab

    - to get an idea of how you mount points are being used

    It is possible to move mount points to other disks and/or resize non boot partitions.

    this is NOT for the inexperienced linux admin!

    It would likely require booting into runlevel 1 (maintenance mode?) and dd'ing and remounting partitions.... again - this is not a beginner or even intermediate admin task...

    edit:
    there are several different ways and preferences on partitioning a linux box, but many times, the / (root) and /home (home) and /boot (boot/kernel) partitiosn will be separated

    while im guessing it would be possible to split up the /home mount point, i doubt that it would be adviseable. I would move the /home mount point on a separate disk if necessary (this is adviseable for security & performance reasons anyhow), or look at expanding the size of the partition (and respectively decreasing the size of another unnecessarily large partition?)


    PSS. now that I think of it, it should be possible to shut down all services using /home partition, format and create a big partition on the second drive, dismount and copy (dd) the old /home partition to the new drive, then edit /etc/fstab and /etc/mtab to point to the new partition, then remount the new partition. Other partitions like / (root) and /var will require more delicate handling (can't be done so easily)
     
  6. eugenevdm

    eugenevdm Silver Pleskian

    30
    68%
    Joined:
    Nov 11, 2003
    Messages:
    611
    Likes Received:
    0
    Also bear in mind if you're doing this work on a new install the path to web files changed in Plesk 7.5.4 from /home/http/vhosts to /var/www/vhosts on Plesk 8.0 (on my box at least!)
     
Loading...