A
A
Anatol Khmialeuski2015-04-24 17:41:23
linux
Anatol Khmialeuski, 2015-04-24 17:41:23

How to create a partition like /dev/dm-0pX?

I execute the commands
parted -s -- /dev/dm-0 unit GB mklabel gpt
parted -s -- /dev/dm-0 unit GB mkpart primary 1 -1
udevadm settle
As a result I get:
ls /dev/dm-* -all
brw-rw---- 1 root disk 253, 0 Apr 24 08:20 /dev/dm-0
brw-rw---- 1 root disk 253, 1 Apr 24 08:20 /dev/dm-1
ls / Dev / Mapper / * -all
LRWXRWXRWX 1 Root Root 7 Apr 24 08:20 / Dev / Mapper / 360001FF0902FA00000000038884C000000038884C0000 -> ../dm-0
LRWXRWXRWX 1 root root 7 Apr 24 08:20 / Dev / Mapper / 360001FF0902FA000000038884C000000038884C000000038884C00000003884C0000338884C000033884C0000P1 -> ./dm-1
How do I create a partition like /dev/dm-0pX?
System Red Hat Enterprise Linux Server release 6.5 (Santiago)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question