vm conversion

Posted on 2011-05-02
Last Modified: 2012-05-11
I have converted a fedora 14 64bit physical server to vm using cold clone boot disk. Everything seems to be OK. I can ssh in and see all files but I cannot see any partitions running df -k. It only shows /dev/mapper/vg_vmtest-lv-root 13% /,  tmpfs 1 % /dev/shm, /dev/sda1 15% /boot.
How do I get /boot, /, /home, /var, /usr, etc format?
Thanks in advance
Question by:Ksean
    LVL 116

    Accepted Solution

    did you convert all the disks?

    where were the previous partitions what device (disk)?

    were they on /dev/sda1 on the physical server?
    LVL 26

    Assisted Solution

    How do I get /boot, /, /home, /var, /usr, etc format?

    df -k only lists your partition NOT directories. Unless you mount some directory to partition.

    all of these directories /boot, /home,/var /usr, /etc are under /, which is root.

    Other command to list your partition is

    fdisk -l


    LVL 4

    Assisted Solution

    You use lvm, and seems to use one partition for all logical disk..

    /dev/mapper/ here's your disk <-

    so vg_vmtest-lv-root only one LVM partition found, and mounted.

    you can manualy check thats this is realy all partition by

    ls /dev/mapper
    (send output here)
    LVL 38

    Assisted Solution

    As root,
    # fdisk -l
    will should all the partitions. Id 83 is ext3/4 and Id 82 is swap and Id 8e is LVM.

    # df -k /var
    # df -k /boot
    and it will show you which partition(or logic volume) /var, /boot is. From the information you give, your VM using LVM and there is one logic volume.

    Author Comment

    I used the latest enterprise cold boot disk and worked fine. I appreciate all your help. I would like to give you still credits

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
    VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
    Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
    This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now