Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

203 hava a iSCSI target named poolA that I am trying to log into using this command:

iscsiadm -m node -T poolA -p 192.168.0.203 -l

I am trying to use it as a vg. Secondly, I create two lvs on this vg, and lastly, I logout:

iscsiadm -m node -T poolA -p 192.168.0.203 -u

After I execute lvs, the following error occurs:

/dev/dm-2: read failed after 0 of 4096 at 0: Input/output error
/dev/dm-5: read failed after 0 of 4096 at 0: Input/output error

Can I get around this error without a reboot? Thanks!

share|improve this question

migrated from stackoverflow.com Sep 28 '12 at 17:35

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 0 down vote accepted

You may try to remove the devices that no longer exist with

  dmsetup remove /dev/dm-2 
  dmsetup remove /dev/dm-5
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.