cancel
Showing results for 
Search instead for 
Did you mean: 
SrinathP
Cadet
Cadet
  • 1,695 Views

Unable to load ISCSI partition as block device

While loading Blocks (Targetcli--> Backstores-->Block), i was not able to load the VG and LV created.
Error Statement - "Block device is already in use"

This error is only observed during RHCE exam setup. I have observed this particular error during months of practice session and there is no solution to rule out this error.

Can someone help with this error please

Labels (1)
0 Kudos
4 Replies
Jayadev
Flight Engineer Flight Engineer
Flight Engineer
  • 1,674 Views

@SrinathP  

I guess both the examiner and the examinee are bound by the NDA and discussing an exam related issue may violate it. If you are an examiner then you should contact the hotline for support. If you are an examinee and think that this is a bug in the exam then you can contact the exam support team by submitting the form at below link

https://www.redhat.com/rhtapps/services/comments/

We should not be discussing exam related issues in this forum.

Thanks,

Jayadev

0 Kudos
NunoMartins
Flight Engineer Flight Engineer
Flight Engineer
  • 1,665 Views

not to discuss anything possibly exam related - however, im interested in the issue - 

What does running a lvscan show you before configuring the backstore block ?

0 Kudos
SrinathP
Cadet
Cadet
  • 1,604 Views

Hi Martin, Apologies for the delayed response. I haven't had a look on email for quite a long time that i missed this request.

 

When running the lvscan/lvdisplay, it shows the configured lv with provided volume. Even i can see the PV/VG and LV complete path and  no erros observed in that part. But when i tried to load the LV in block, it popped two types of error (given below).

1. This block device is already in use.

2. This device is not a block device 

and i was not able to add it in the block --> backstores

0 Kudos
Tracy_Baker
Starfighter Starfighter
Starfighter
  • 1,595 Views

I've seen this with my students in the classroom when teaching iSCSI. I just tried it myself, and using an LV as a block-based backing storage worked fine (CentOS 7.6 - since I'm at home).

I'm pretty certain the the problem may be:

1. The LV either had a file system on it and / or was mounted. I left mine unformatted / unmounted.

2. There was a typo when specifying the device file name. I used /dev/<vg_name>/<lv_name>

Program Lead at Arizona's first Red Hat Academy, est. 2005
Estrella Mountain Community College
0 Kudos
Join the discussion
You must log in to join this conversation.