1, yum install scsi-target-utils
2, pv_create, vg_create, lv_create
3, vi /etc/tgt/targets.conf
append :
<target netboot.target.lvol0>
backing-store /dev/netboot/lvol0
allow-in-use yes
</target>
4, /etc/init.d/tgtd restart
1, yum install scsi-target-utils
2, pv_create, vg_create, lv_create
3, vi /etc/tgt/targets.conf
append :
<target netboot.target.lvol0>
backing-store /dev/netboot/lvol0
allow-in-use yes
</target>
4, /etc/init.d/tgtd restart