Project

General

Profile

Actions

Bug #2843

closed

Fails to create dm device via dmsetup

Added by tkusumi about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/28/2015
Due date:
% Done:

0%

Estimated time:

Description

There seems to be an issue with device mapper on dfly.
This happens with dm-error target as well.
I'll try to investigate and fix when possible (since I want dm-flakey on dfly).


  1. uname
    Linux
  2. dmsetup create zero1 --table '0 100 zero'
  3. ls -l /dev/mapper/zero*
    lrwxrwxrwx 1 root root 7 Sep 29 00:14 /dev/mapper/zero1 -> ../dm-3
  4. dmsetup create zero2 --table '0 100 zero'
  5. ls -l /dev/mapper/zero*
    lrwxrwxrwx 1 root root 7 Sep 29 00:14 /dev/mapper/zero1 -> ../dm-3
    lrwxrwxrwx 1 root root 7 Sep 29 00:14 /dev/mapper/zero2 -> ../dm-4

  1. uname
    DragonFly
  2. kldload dm
  3. dmsetup create zero1 --table '0 100 zero'
  4. ls l /dev/mapper/zero*
    crw-r----
    1 root operator 66, 0x1e110007 Sep 29 00:01 /dev/mapper/zero1
  5. dmsetup create zero2 --table '0 100 zero'
    ioctl create call failed: File exists
Command failed
  1. ls l /dev/mapper/zero*
    crw-r----
    1 root operator 66, 0x1e110007 Sep 29 00:01 /dev/mapper/zero1
Actions

Also available in: Atom PDF