Although creating an iSCSI target is important it's also important to be able to remove any piece of data in the configuration. In this way, you can remove targets or backingstores so you can recreate them differently.
- [Instructor] We're going to spend a moment…talking about undoing what we've done.…If we want to remove a drive from a target…there are a few steps to follow…in order to get the job done correctly.…For this video make sure both rhhost1…and rhhost2 VMs are booted,…log into RH host two and open a terminal.…In order to remove a drive from a target…we need to remove all references to the device…on both the initiator and target.…First remove the device from the initiator…and then remove the device from the target.…It might be worth noting that we need to think about…what is using the iSCSI device.…
If the device is part of an LVM volume group…we would need to move the data off of it with pvmove…before doing a VG reduce or data will be lost.…If the raw device was included in a RAID…we need to add a drive and fail the raw device…so the RAID would rebuild on the new drive.…In the case of a raw device that's not used in LVM…or mounted, we might need to run sudo space…blockdev space dash dash flushbufs…space and the device name to flush all outstanding IO…
- What is iSCSI?
- Creating iSCSI backstores
- Configuring ACL and firewall credentials
- Configuring targets and initiators
- Partitioning and mounting drives
- Creating iSCSI LUNs