KPARTX(8) Linux Administrator's Manual KPARTX(8)NAME
kpartx - Create device maps from partition tables
SYNOPSIS
kpartx [-a | -d | -l] [-v] wholedisk
DESCRIPTION
This tool, derived from util-linux' partx, reads partition tables on specified device and create device maps over partitions segments
detected. It is called from hotplug upon device maps creation and deletion.
OPTIONS -a Add partition mappings
-d Delete partition mappings
-l List partition mappings that would be added -a
-p set device name-partition number delimiter
-g force GUID partition table (GPT)
-v Operate verbosely
SEE ALSO multipath(8)multipathd(8)hotplug(8)AUTHORS
This man page was assembled By Patrick Caulfield for the Debian project. From documentation provided by the multipath author Christophe
Varoqui, <christophe.varoqui@free.fr> and others.
July 2006 KPARTX(8)
Check Out this Related Man Page
KPARTX(8) Linux Administrator's Manual KPARTX(8)NAME
kpartx - Create device maps from partition tables
SYNOPSIS
kpartx [-a | -d | -l] [-v] wholedisk
DESCRIPTION
This tool, derived from util-linux' partx, reads partition tables on specified device and create device maps over partitions segments
detected. It is called from hotplug upon device maps creation and deletion.
OPTIONS -a Add partition mappings
-r Readonly partition mappings
-r Read-only partition mappings
-d Delete partition mappings
-u Update partition mappings
-l List partition mappings that would be added -a
-p set device name-partition number delimiter
-f force creation of mappings; overrides 'no_partitions' feature
-g force GUID partition table (GPT)
-v Operate verbosely
-s Sync mode. Don't return until the partitions are created
EXAMPLE
To mount all the partitions in a raw disk image:
kpartx -av disk.img
This will output lines such as:
loop3p1 : 0 20964762 /dev/loop3 63
The loop3p1 is the name of a device file under /dev/mapper which you can use to access the partition, for example to fsck it:
fsck /dev/mapper/loop3p1
When you're done, you need to remove the devices:
kpartx -d disk.img
SEE ALSO multipath(8)multipathd(8)hotplug(8)AUTHORS
This man page was assembled By Patrick Caulfield for the Debian project. From documentation provided by the multipath author Christophe
Varoqui, <christophe.varoqui@opensvc.com> and others.
July 2006 KPARTX(8)
Hi all,
I am running xen virtual machine on centos 5 and xen gust o.s is centos.
I cannot boot my xen vm machine it saying cannot find /bin/sh to execute.
I want to go to rescue mode of my xen vm machine.
I know how to do on actual physical machine but how i can enter in rescue mode of... (6 Replies)
hi every one ,
Wondering if any of you experienced this During "Centos5.6" Boot .. !
1)NOT USING MMCONFIG
2)insmod Error inserting `/lib/raid456.ko` -1 File Exist
Dell PowerEdge T110 with 4sata Controllers with Centos2.6.18-238.9.1.el5xen installed .
/boot on /dev/md0
/ on ... (18 Replies)
Hi,
Firstly, I created a 50MB image using:
dd if=/dev/zero of=./disk.img bs=1MiB count=48
Then I formatted it using:
mkfs.ufs ./disk.img
This worked correctly as stated by the output of:
raphaelsc@debian:~/Desktop/FFS$ file disk.img
disk.img: Unix Fast File system (little-endian)... (1 Reply)
Hi,
I installed RHEL 6.0 OS on vmware with CREATE CUSTOM LAYOUT option. And I gave the space to different mount points as mentioned below:
/ 15360MB
/boot 200MB
/tmp 3072 MB
swap 1024 MB
fdisk -cul command shows the disk size as 64.4 GB. But when I try to create partion of 10 GB with... (1 Reply)
I did an upgrade on Jan 3,2014 from CentOS 6.4 to 6.5 and noticed that there hasnt been any updates since then
Jan 03 11:45:05 Updated: 12:dhcp-common-4.1.1-38.P1.el6.centos.i686
Jan 03 11:45:06 Updated: hwdata-0.233-9.1.el6.noarch
Jan 03 11:45:11 Updated:... (4 Replies)
I have installed FreeBSD onto a raw image file using QEMU Emulator successfully. I have formatted the image file using the ZFS file system (ZFS POOL).
Using the following commands below I have successfully mounted the image file ready to be opened by zpool
sudo losetup /dev/loop0 .img sudo... (1 Reply)