Displaying 20 results from an estimated 900 matches similar to: "kpartx can not detach"
2018 Mar 07
0
kpartx can not detach
On 03/07/2018 04:48 AM, Leon Fauster wrote:
> OS: EL6 - sometimes I use
>
> kpartx -a /mnt/.../lvdisk.img
>
> to map the partitions and mount them via
>
> /dev/mapper/loop0pX
>
> After using the disk (unmounting it) I noticed that
> detaching such mapping via kpartx -d does not result
> in freeing up the loop devices. Results: System reboots
> shows
2008 Jun 12
3
Detach specific partition LVM of XEN
Hi...
I have had a problem when I am going to detach one specific LVM partitions
of Xen, so I have been trying xm destroy <domain>, lvchange -an
<lvm_partition>, lvremove -f.... So I haven''t had sucess. I restarted the
server with init 1 yet and nothing... I have seem two specific process
started xenwatch and xenbus, but I am not sure if this processes have
some action over
2004 Jan 26
0
[ANNOUCE] kpartx-0.0.2
Hello,
here is the second release of kpartx : the shameless perversion of util-linux's
partx.
As before it :
1) compiles against klibc
2) read partitions table like partx
3) drives the device mapper to present the partitions bdevs
Find it at http://dsit.free.fr/kpartx-0.0.2.tar.bz2
This release adds a interesting functionality : it can now read partitions
tables from regular files,
2011 Jul 26
3
Package: virt-goodies - partly solved
For CentOS KVM migrations use the virt-v2v package part of base.
See this link,
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization/chap-Virtualization-v2v-migration.html
Am Freitag, 22. Juli 2011, 13:37:08 schrieb Timothy Kesten:
> Hi Folks,
>
> is here someone who knows where to get the package "virt-goodies" for
> CentOS6 64bit?
>
>
2011 Jul 22
4
VM backup problem
Hai,
I use following steps for LV backup.
* lvcreate -L 5G -s -n lv_snapshot
/dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/VHD-a2db885c-9ad0-46c3-b2c3-a30cb71d83f8
lv_snapshot created*
This command worked properly
Then issue kpartx command
kpartx -av
2011 Jul 22
4
VM backup problem
Hai,
I use following steps for LV backup.
* lvcreate -L 5G -s -n lv_snapshot
/dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/VHD-a2db885c-9ad0-46c3-b2c3-a30cb71d83f8
lv_snapshot created*
This command worked properly
Then issue kpartx command
kpartx -av
2009 Nov 12
24
How to Backup and Restore MBR within Logical Volumes?
Hi All,
I have several Xen virtual machines within logical volumes using LVM2. I did
not use disk images for performance reasons.
Conventionally, if I want to clone my virtual machines, I have to dd the LV
to an image file. But this consumes a lot of time and harddisk space.
So, instead of doing that, I want to use losetup and kpartx with my logical
volumes, which contain operating systems of
2009 Jan 27
6
problems mounting HPFS/NTFS domU partition
Hello,
I''m not able to mount a HPFS/NTFS domU partition.
My system:
dom0 is on a debian (Lenny) machine, using xen-hypervisor-3.2-1-i386 Xen
Hypervisor.
domU is a Windows XP machine, that works well.
My target is to mount file system domU machine (when domU is not active).
In my domU configuration file I have:
disk = [''phy:/dev/virtual_machines/xp_disk,hda,w'',
2009 Dec 21
26
Questions on qcow, qcow2 versus LVM
I''ve been using lvm under centos to create the backing store for domUs and
although the performance seems acceptable it has some shortcomings. The
biggest of which is the LVM bug which prevents me from removing an lv (it
says it is still mounted and it definitely isnt). I thought this was just
a centos bug but it appears to be evident in debian and ubuntu too and I
really can''t
2008 Apr 08
6
howto delete a lvm with windows partition
Hi List,
slightly OT but i have Xen and Windows running (xen 3.2.0, hvm, win
2k3) on top of a lvm volume. Now i want to delete such a volume but i
got the message:
$ lvremove /dev/Xen0/Win2kServer
Can''t remove open logical volume "Win2kServer"
The volume is not in use by any VM, but there is a partition table on
it with 8Megs of free space and a ntfs partition. I also got 2
2008 Jun 24
11
what''s correct way of shrinking LVM based domU?
Hi all
I want to shrink one of my LVM based domU''s, but don''t quite know how to
do it.
I have searched the Wiki & HOWTO''s, and they all show you how expand /
enlarge a LVM based domU, but not shrinking it.
So, I stopped (destroyed) the domU, and then resized it as follows:
lvresize /dev/data/cpanel1 -L10GB (It was 100GB), but when I a started
it up again, I
2014 Jan 23
2
Advice/directions to users of Syslinux
Hi,
Ady:
> > > I would suggest not using the work "disk".
me:
> > I am unhappy with "disk" too.
> > But that change would have a much wider scope in the text.
Ady:
> You can still use a different wording in a linked section. If "disk"
> is not the best choice for the new section, then choose a better
> term.
Two problems:
There are
2006 Mar 10
8
domUloader kernel command line arguments?
domUloader potentially makes my life a lot easier, but from experiments
and looking at the code, it doesn''t seem like there is any way to pass
kernel command line arguments with it. Am I just missing something?
Thanks,
John Byrne
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2009 Jan 15
8
Can you convert Windows LVM domU to sparse img file?
I have a Windows 2000 domU running in an LVM partition. I need to move
it to another host, but none of my other xen servers have lvm or free
space to create an lvm. So I''d like to convert it to a sparse img file.
The file system in the domU is ntfs.
Can anyone suggest how to do this?
Thanks,
James
_______________________________________________
Xen-users mailing list
2009 Sep 26
10
Adding handling for Multipath storage devices
The following patches introduce support for multipath and cciss devices to the ovirt-node and node-image. Comments are appreciated.
These patches assume that the 3 patches (2 node, 1 node-image) from Joey are all incorporated.
Mike
2007 Jul 28
9
Howto install domU CentOS 5 directly on partition
Hi.
I am new to CentOS (Debian user) and I am looking for way how to install
CentOS 5 on domU in the way that I have it directly on dom0 LVM partition.
If I install it with virtual-manager then the installation program takes
that partition as a disk and then creates new partitions on it. I don''t
want it that way because I cannot then mount it from dom0.
Is there some way how to
2014 Feb 06
3
Possible to speed up guestmount?
Hi,
Apparently,
guestmount -o allow_other -a "/path/to/raw_file" -m /dev/sda1
"/path/to/mountfolder"
is much slower than
kpartx -av "/path/to/raw_file"
mount /dev/mapper/loop0p1 /path/to/mountfolder
(Doing lots of read/write inside the image.)
I thought guestmount "only" scripts the above. Seems I was wrong on that.
I am currently using
2011 Sep 02
2
PANIC: early exception 0e rip 10:0 error 10 cr2 0
Hi all,
I installed XEN on a CentOS 6 server, as per these instructions:
http://www.crc.id.au/xen-on-rhel6-scientific-linux-6-centos-6-howto/
And the server now gives this error on reboot: PANIC: early exception
0e rip 10:0 error 10 cr2 0
These are the packages that were installed before the reboot:
Total download size: 33 M
Installed size: 116 M
Is this ok [y/N]: y
Downloading Packages:
2014 Jan 21
2
After USB boot problems on Gigabyte GA-M55Plus-S3G
the closest i have gotten to a consistent way to test a MS-DOS filesystem
setup is:
dd if=/dev/zero of=binary.img bs=1M count=500
i="$(losetup -f --show binary.img )"
parted binary.img mklabel msdos -s -m
dd if=/usr/lib/syslinux/mbr.bin of="${i}"
parted binary.img mkpart primary -a optimal -s -m 0% 100%
parted binary.img set 1 boot on
mkfs.ext4 $(kpartx -savu "${i}"
2013 May 24
1
Failed to create /dev/loop0p* entries for partitions inside loopback devices
centos 6 failed to create entries under /dev for newly created loopback devices. Any one know why? and how to fix/workaround it?
The steps to duplicate is pretty simple
dd if=/dev/zero of=/tmp/deleteme bs=1M count=100
losetup /dev/loop0 /tmp/deleteme
fdisk /dev/loop0?? ## created partitions 1, 2, etc.
fdisk -l /dev/loop0? ## confirmed that the partitions do exist
mkfs.ext3 /dev/loop0p1 ## failed