Changes

Jump to: navigation, search

FreeBSD fiber channel target

848 bytes added, 13:58, 7 November 2018
Check the WWN address
3 YES camtgt isp0 0 0 naa.2100001b321cd5b6
4 YES camtgt isp1 0 0 naa.2101001b323cd5b6
 
== Configure /etc/ctl.conf ==
 
Use this comfig for /etc/ctl.conf
 
target naa.2100001b321cd5b6 {
auth-group no-authentication
port isp0
port isp1
lun 0 {
backend block
path /dev/zvol/tank1/export/fc
}
}
 
Make sure the WWN matches. Next, start the ctld daemon.
 
sudo service ctld start
 
Query the status, to see if everything is working correctly:
 
z800:aram$ sudo ctladm devlist -v
LUN Backend Size (Blocks) BS Serial Number Device ID
0 block 1782579200 512 MYSERIAL 0 MYDEVID 0
lun_type=0
num_threads=14
file=/dev/zvol/tank1/export/fc
ctld_name=naa.2100001b321cd5b6,lun,0
scsiname=naa.2100001b321cd5b6,lun,0
== References ==

Navigation menu