KVM View partition content for virtual machines (4)

Source: Internet
Author: User

To view the partitioning of a vm01 virtual machine [[email protected] ~]# virt-filesystems -d vm01 /dev/sda1/dev/ Volgroup/lv_root mount the/DEV/SDA1 partition of the VM01 virtual machine to/mnt/1[[email protected] ~]# guestmount -a / Home/kvm/vm01/vm01.img -m /dev/sda1 --rw /mnt/1[[email protected] ~]# cd  /mnt/1[[email protected] 1]# lsconfig-2.6.32-573.el6.x86_64  grub                                   lost+found                          System.map-2.6.32-573.el6.x86_64efi                             Initramfs-2.6.32-573.el6.x86_64.img  SYMVERS-2.6.32-573.EL6.X86_64.GZ  VMLINUZ-2.6.32-573.EL6.X86_64 mounting The/dev/volgroup/of a vm01 virtual machine Lv_root Partition to/mnt/2[[email protected] ~]# guestmount -a /home/kvm/vm01/vm01.img -m  /dev/volgroup/lv_root --rw /mnt/2[[email protected] ~]# cd /mnt/2[[email  protected] 2]# lsbin  boot  dev  etc  home   Lib  lib64  lost+found  media  mnt  opt  proc   root  sbin  selinux  srv  sys  tmp   Usr  var


This article is from the "Xiao Mo" blog, please be sure to keep this source http://xiaofengmo.blog.51cto.com/10116365/1743901

KVM View partition content for virtual machines (4)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.