device-mapper: reload ioctl on cache1 failed: Device or resource busy
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
When I run the below command while setting up dm-cache on my CentOS system, I receive the error:
device-mapper: reload ioctl on cache1 failed: Device or resource busy
Command failed
Command is:
dmsetup create 'cache1' --table '0 195309568 cache /dev/sdb /dev/sda 512 1 writethrough default 0'
Does anyone have idea about this error or have faced this error while setting up dm-cache?
My dmesg output is
[1907480.058991] device-mapper: table: 253:3: cache: Error opening metadata device
[1907480.058996] device-mapper: ioctl: error adding target to table
linux centos cache device-mapper
add a comment |Â
up vote
1
down vote
favorite
When I run the below command while setting up dm-cache on my CentOS system, I receive the error:
device-mapper: reload ioctl on cache1 failed: Device or resource busy
Command failed
Command is:
dmsetup create 'cache1' --table '0 195309568 cache /dev/sdb /dev/sda 512 1 writethrough default 0'
Does anyone have idea about this error or have faced this error while setting up dm-cache?
My dmesg output is
[1907480.058991] device-mapper: table: 253:3: cache: Error opening metadata device
[1907480.058996] device-mapper: ioctl: error adding target to table
linux centos cache device-mapper
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
When I run the below command while setting up dm-cache on my CentOS system, I receive the error:
device-mapper: reload ioctl on cache1 failed: Device or resource busy
Command failed
Command is:
dmsetup create 'cache1' --table '0 195309568 cache /dev/sdb /dev/sda 512 1 writethrough default 0'
Does anyone have idea about this error or have faced this error while setting up dm-cache?
My dmesg output is
[1907480.058991] device-mapper: table: 253:3: cache: Error opening metadata device
[1907480.058996] device-mapper: ioctl: error adding target to table
linux centos cache device-mapper
When I run the below command while setting up dm-cache on my CentOS system, I receive the error:
device-mapper: reload ioctl on cache1 failed: Device or resource busy
Command failed
Command is:
dmsetup create 'cache1' --table '0 195309568 cache /dev/sdb /dev/sda 512 1 writethrough default 0'
Does anyone have idea about this error or have faced this error while setting up dm-cache?
My dmesg output is
[1907480.058991] device-mapper: table: 253:3: cache: Error opening metadata device
[1907480.058996] device-mapper: ioctl: error adding target to table
linux centos cache device-mapper
linux centos cache device-mapper
edited Apr 19 '16 at 0:02
Jeff Schaller
32.6k849110
32.6k849110
asked Apr 18 '16 at 23:08
arpit joshi
1901312
1901312
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The cache target requires 3 devices, but you have only specified two. I believe the devices also must be dm devices, not a scsi disk.
well the cache is the name of the cache and /dev/sdb(cache device ,ssd) and /dev/sda(my hardisk ,source device) .Am i missing something here?
â arpit joshi
Apr 19 '16 at 0:00
@asj177, according to Documentation/device-mapper/cache.txt in the linux kernel sources, the cache target takes <metadata dev> <cache dev> <origin dev>.
â psusi
Apr 19 '16 at 1:59
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The cache target requires 3 devices, but you have only specified two. I believe the devices also must be dm devices, not a scsi disk.
well the cache is the name of the cache and /dev/sdb(cache device ,ssd) and /dev/sda(my hardisk ,source device) .Am i missing something here?
â arpit joshi
Apr 19 '16 at 0:00
@asj177, according to Documentation/device-mapper/cache.txt in the linux kernel sources, the cache target takes <metadata dev> <cache dev> <origin dev>.
â psusi
Apr 19 '16 at 1:59
add a comment |Â
up vote
0
down vote
The cache target requires 3 devices, but you have only specified two. I believe the devices also must be dm devices, not a scsi disk.
well the cache is the name of the cache and /dev/sdb(cache device ,ssd) and /dev/sda(my hardisk ,source device) .Am i missing something here?
â arpit joshi
Apr 19 '16 at 0:00
@asj177, according to Documentation/device-mapper/cache.txt in the linux kernel sources, the cache target takes <metadata dev> <cache dev> <origin dev>.
â psusi
Apr 19 '16 at 1:59
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The cache target requires 3 devices, but you have only specified two. I believe the devices also must be dm devices, not a scsi disk.
The cache target requires 3 devices, but you have only specified two. I believe the devices also must be dm devices, not a scsi disk.
answered Apr 18 '16 at 23:43
psusi
13.2k22439
13.2k22439
well the cache is the name of the cache and /dev/sdb(cache device ,ssd) and /dev/sda(my hardisk ,source device) .Am i missing something here?
â arpit joshi
Apr 19 '16 at 0:00
@asj177, according to Documentation/device-mapper/cache.txt in the linux kernel sources, the cache target takes <metadata dev> <cache dev> <origin dev>.
â psusi
Apr 19 '16 at 1:59
add a comment |Â
well the cache is the name of the cache and /dev/sdb(cache device ,ssd) and /dev/sda(my hardisk ,source device) .Am i missing something here?
â arpit joshi
Apr 19 '16 at 0:00
@asj177, according to Documentation/device-mapper/cache.txt in the linux kernel sources, the cache target takes <metadata dev> <cache dev> <origin dev>.
â psusi
Apr 19 '16 at 1:59
well the cache is the name of the cache and /dev/sdb(cache device ,ssd) and /dev/sda(my hardisk ,source device) .Am i missing something here?
â arpit joshi
Apr 19 '16 at 0:00
well the cache is the name of the cache and /dev/sdb(cache device ,ssd) and /dev/sda(my hardisk ,source device) .Am i missing something here?
â arpit joshi
Apr 19 '16 at 0:00
@asj177, according to Documentation/device-mapper/cache.txt in the linux kernel sources, the cache target takes <metadata dev> <cache dev> <origin dev>.
â psusi
Apr 19 '16 at 1:59
@asj177, according to Documentation/device-mapper/cache.txt in the linux kernel sources, the cache target takes <metadata dev> <cache dev> <origin dev>.
â psusi
Apr 19 '16 at 1:59
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f277394%2fdevice-mapper-reload-ioctl-on-cache1-failed-device-or-resource-busy%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password