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

I am using Linux, and was wondering, if I could put LVM directly on a iSCSI target without a LUN?

share|improve this question

3 Answers 3

up vote 4 down vote accepted

When the iSCSI Target (iscsi server) presents a "disk" to a a client (initiator) it is presented as a SCSI LUN. The LUN can then be imported into LVM and used however you want.

On the Reverse of this question can you present an LVM volume to a client as a LUN then yes. You can create an LVM volume, or use an existing one and present that to the iSCSI clients. But on the client side it will still be presented as a LUN

share|improve this answer

[i]SCSI must identify a target with both ID and LUN. You tipically have three (or four) numbers to identify a target in [i]SCSI: controller number, [bus number,] ID number and LUN number.

If you have a single hard disk on a SCSI copper bus, the LUN of the hard disk is zero and is "transparent" for the user.

Don't confuse LUN with partition: partition is simply a logical area within a LUN.

http://en.wikipedia.org/wiki/Logical_Unit_Number

share|improve this answer

But on the client side it will still be presented as a LUN you can create an LVM volume, or use an existing one and present that to the iSCSI clients

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.