• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

vm conversion

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
4 Solutions
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
did you convert all the disks?

where were the previous partitions what device (disk)?

were they on /dev/sda1 on the physical server?
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


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)
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.
KseanAuthor Commented:
I used the latest enterprise cold boot disk and worked fine. I appreciate all your help. I would like to give you still credits

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Tackle projects and never again get stuck behind a technical roadblock.
Join Now