My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

XEN: Howto migrate loopback file based disk images to blktap tap:aio

This document (7000716) is provided subject to the disclaimer at the end of this document.

Environment

Novell SUSE Linux Enterprise Server 10 Service Pack 2

Situation

Migrate a loopback file based disk image to a blktap tap:aio disk image without reinstalling the DomU.

Resolution

  1. Backup current DomU configuration:
    xm list <DomU_ID> -l > /tmp/vm1.conf
  2. Edit disk device section of the configuration file:
    vi /tmp/vm1.conf

    # Configuration example

    (device
    (vbd
    (unamefile:/xen/vm1/disk0)
    (uuid d2cb4a14-ecbd-6034-3d4c-7866bfd4b60e)
    (mode w)
    (devxvda:disk)
    (backend 0)
    (bootable 1)
    )
    )

    # Change to

    (device
    (tap
    (uname tap:aio:/xen/vm1/disk0)
    (uuid d2cb4a14-ecbd-6034-3d4c-7866bfd4b60e)
    (mode w)
    (dev xvda:disk)
    (backend 0)
    (bootable 1)
    )
    )

  3. Delete old DomU
    xm delete <DomU_ID>
  4. Load new configuration
    xm new -F /tmp/vm1.conf
  5. Start new DomU
    xm start <DomU_ID>

Additional Information

The advantage of the blktap is a better performance compared to disk images accessed through loopback.  The blktap driver is supported as of SLES10 SP2, however for NetWare this should only be used on NW65SP8.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7000716
  • Creation Date:20-JUN-08
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center