Displaying 20 results from an estimated 335 matches for "kpartx".
2018 Mar 07
2
kpartx can not detach
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 that the filesystem where lvdisk.img is...
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 ca...
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
*/dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/lv_snapshot
But this command not return any value.
vgscan
Reading all physical volumes. This may take a while...
Found volume group "VG_XenStorage-7b010600-3920-...
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
*/dev/VG_XenStorage-7b010600-3920-5526-b3ec-6f7b0f610f3c/lv_snapshot
But this command not return any value.
vgscan
Reading all physical volumes. This may take a while...
Found volume group "VG_XenStorage-7b010600-3920-...
2009 Nov 12
24
How to Backup and Restore MBR within Logical Volumes?
...ual 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 virtual machines.
I can backup the filesystems of a virtual machine in this way:
# losetup /dev/loop1 /dev/virtualmachines/windows7-x64
virtualmachines is the name of my volume group.
windows7-x64 is the logical volume.
# kpartx -av /...
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
> s...
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
2014 Jan 21
2
After USB boot problems on Gigabyte GA-M55Plus-S3G
...tem
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}" | awk 'NR==1{print "/dev/mapper/"$3 }' )
mount $(kpartx -savu "${i}" | awk 'NR==1{print "/dev/mapper/"$3 }' ) /mnt
extlinux --install /mnt/boot
cp /usr/lib/syslinux/vesamenu.c32 /mnt/boot
cat > /mnt/boot/extlinux.conf <<E...
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
2011 Sep 02
2
PANIC: early exception 0e rip 10:0 error 10 cr2 0
...s this ok [y/N]: y
Downloading Packages:
(1/14): PyXML-0.8.4-19.el6.x86_64.rpm
| 892 kB 00:00
(2/14): SDL-1.2.14-2.el6.x86_64.rpm
| 193 kB 00:00
(3/14): kernel-xen-2.6.32.45-1.x86_64.rpm
| 20 MB 00:12
(4/14): kpartx-0.4.9-31.el6_0.3.x86_64.rpm
| 37 kB 00:00
(5/14): libXdamage-1.1.2-1.el6.x86_64.rpm
| 16 kB 00:00
(6/14): libXfixes-4.0.4-1.el6.x86_64.rpm
| 19 kB 00:00
(7/14): libXxf86vm-1.1.0-1.el6.x86_64.rpm...
2015 May 15
0
CentOS-announce Digest, Vol 123, Issue 5
...rowing the disk image.
The root partition of this image was intentionally placed at the end of
the image so that it could be easily grown. A simple command for growing
the image is listed below
```
sudo sgdisk -e -d4 -n4:0:0 /dev/<your-device>
```
## Examining and editing the image
The kpartx tool is very handy for manipulating disk images. Some example
commands are below. Please read the documentation for kpartx before you
modify the disk image.
* kpartx -l CentOS-7-1503-aarch64.img # List partitions in the image
* kpartx -a -v CentOS-7-1503-aarch64.img # Add partition mappings
*...
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
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 libguestfs 1.18.1-1 (because it comes with Debian
wheezy/stab...
2015 May 14
3
CentOS-7 disk images for AArch64 Platforms
...rowing the disk image.
The root partition of this image was intentionally placed at the end of
the image so that it could be easily grown. A simple command for growing
the image is listed below
```
sudo sgdisk -e -d4 -n4:0:0 /dev/<your-device>
```
## Examining and editing the image
The kpartx tool is very handy for manipulating disk images. Some example
commands are below. Please read the documentation for kpartx before you
modify the disk image.
* kpartx -l CentOS-7-1503-aarch64.img # List partitions in the image
* kpartx -a -v CentOS-7-1503-aarch64.img # Add partition mappings
*...
2015 May 14
3
CentOS-7 disk images for AArch64 Platforms
...rowing the disk image.
The root partition of this image was intentionally placed at the end of
the image so that it could be easily grown. A simple command for growing
the image is listed below
```
sudo sgdisk -e -d4 -n4:0:0 /dev/<your-device>
```
## Examining and editing the image
The kpartx tool is very handy for manipulating disk images. Some example
commands are below. Please read the documentation for kpartx before you
modify the disk image.
* kpartx -l CentOS-7-1503-aarch64.img # List partitions in the image
* kpartx -a -v CentOS-7-1503-aarch64.img # Add partition mappings
*...
2016 Oct 06
1
[PATCH] appliance: add/remove some packages for Arch Linux
Added:
- cdrtools: added as alternative to cdrkit
- multipath-tools: contains kpartx (in AUR)
Removed:
- ntfsprogs: the package is no longer available, it has been completely
replaced by ntfs-3g (already in packagelist.in)
- zfs-fuse: no longer in AUR
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
---
appliance/packagelist.in | 4 ++--
1 file changed, 2 insertio...
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