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

swap space mandatory?

Discussion in 'Plesk for Linux - 8.x and Older' started by Crazy_lenny, May 25, 2006.

  1. Crazy_lenny

    Crazy_lenny Guest

    Hi Dear plesk friends,

    Does the pelsk installer require any swap space? Or is there a minimum amount of memory that it requires?

    I am using software raid in dell 1 u server and as a result i can only mirror one partition. I am using the linux md driver.

    Do any of you have any experience on the subject?

    Any help is much apreciated


  2. dm__@

    dm__@ Guest


    Linux since prehistoric ages allow using regular file as swap space, just as easy as

    dd if=/dev/zero of=/swap bs=1K count=1M
    mkswap /swap
    swapon /swap
    and add the /swap to fstab.
  3. Crazy_lenny

    Crazy_lenny Guest

    Thanks dm_! : D

    You rock mate :)
  4. Redah

    Redah Guest

    Am I missing something? I have all of my partitions mirrored...

    /dev/md0 /boot ext3 defaults 1 2
    /dev/md1 swap swap defaults 0 0
    /dev/md2 / ext3 defaults,usrquota,grpquota 1 1
    /dev/md3 /tmp ext3 noexec,nosuid,rw 1 2
    /dev/md4 /home ext3 defaults,usrquota,grpquota 1 2
    /dev/devpts /dev/pts devpts gid=5,mode=620 0 0
    /dev/shm /dev/shm tmpfs noexec,nosuid 0 0
    /dev/proc /proc proc defaults 0 0
    /dev/sys /sys sysfs defaults 0 0

  5. Crazy_lenny

    Crazy_lenny Guest

    Hi redah,

    Thanks for your reply. How do you create multiple partitions on a harddisk when using sofware raid? (linux md driver)

    I tried it several times on different distributions with regular tools such as fdisk and cfdisk but perhaps I am doing something wrong.

    *maybe an idea i just thought of*
    Perhaps the problem is that i create a single partition with software raid filesystem and naturally i can only mirror one partition. Can i create several software raid partitions on a single disk and than mirror them?

    All answers are really appreciated! :)


  6. Redah

    Redah Guest

    Sorry for the late reply..

    Yes, when you install your Linux distribution (I use Fedora) it let's you choose how to partition your harddisks. You have to create all the partitions on your 1st harddisk as RAID partitions (don't create normal partitions!) and then you can mirror them all...

    If you want detailed instructions on how to do it during a Fedora installation I can tell you how, just let me know.