Results 1 to 1 of 1

Thread: XEN Guest Swap partition problem

  1. #1
    Join Date
    Sep 2008
    Location
    127.0.0.1
    Beans
    21
    Distro
    Ubuntu

    Post XEN Guest Swap partition problem

    Hello all,

    I am trying to configure a domU guest for Xen Hypervisor [HVM - mode - > fully virtualized] , so I follow every instruction on this guide!

    Xen Hypervisor is directly installed on hardware drive /dev/sdd4 with right partitions (with LVM partition for guests) as mentioned on official Ubuntu website

    But I am a bit confused about the mkswap command in order to "Configure the Swap Partition for the Xen Guest System"

    // sda is a hard-drive with Ubuntu - desktop installed (my primary OS)
    // and sdd is another hard-drive has XEN dom0 (installed on Ubuntu Server 12.04.5) and LVM for guests

    -- fdisk - l output for sda and sdd:

    http://i58.tinypic.com/30wwl5e.jpg

    http://i57.tinypic.com/5y7qtf.jpg

    -- cat /etc/fstab output :

    http://i60.tinypic.com/2yp0jye.jpg

    -- swapon -s output :

    http://i58.tinypic.com/zksx2c.jpg

    The error I get when i am trying to : mkswap /dev/sdd2 is : Device or resource busy

    So if I try to unmount /dev/sdd2 will it fix it or i will mess up the system and I will have to format and re-install it again ? ? :-/

    Please ask me if you need further information about my system or problem..

    Thanks in advance !
    Last edited by sklpr; April 9th, 2015 at 01:41 PM. Reason: improved formatting

Tags for this Thread

Bookmarks

Posting Permissions

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