-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
66 lines (51 loc) · 1.98 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
The iSCSI boot driver for FreeBSD
This driver provides iSCSI boot feature to FreeBSD.
It can be used with the bootable initiator such as the Intel NICs and iPXE/gPXE.
It connects with the iSCSI target specified by iBFT automatically.
Therefore, a diskless machine is also simply possible.
Installation:
1. extract the archive:
# tar zxvf isboot-x.x.x.tar.gz
2. compile the module:
# cd isboot-x.x.x/src
# make
3. install the compiled module to the kernel directory:
# make install
4. edit /boot/loader.conf, and add the following line:
isboot_load="YES"
Note:
If you want use isboot with VIMAGE kernel, add CFLAGS+= -DVIMAGE to Makefile.
The boot device may change after installation.
It may be necessary to edit /etc/fstab in single mode.
IP address and gateway are reflected in the boot device.
You can see the boot device information by sysctl(8).
The following is an example with FreeBSD 10.0 and iPXE.
# sysctl net.isboot
net.isboot.version: 0.2.7
net.isboot.nic: em0
net.isboot.device: da1
# sysctl hw.ibft
hw.ibft.initiator_name: iqn.2010-04.org.ipxe:dn2800mt
hw.ibft.initiator_address: 172.18.0.139
hw.ibft.target_name: iqn.2007-09.jp.ne.peach:aria:dn2800mt-boot
hw.ibft.target_address: 172.18.0.26
hw.ibft.target_port: 3260
hw.ibft.target_lun: 0
hw.ibft.nic_prefix: 16
hw.ibft.nic_gateway: 172.18.0.1
# camcontrol inquiry da1
pass1: <FreeBSD iSCSI DISK 0001> Fixed Direct Access SCSI-5 device
pass1: Serial Number 10002800
pass1: 300.000MB/s transfers
Tested targets and initiators:
o istgt-20121123 (NAS4Free bundled version: http://www.nas4free.org/)
o iPXE/USB with Intel DN2800MT. (old test at blog: http://shell.peach.ne.jp/aoyama/archives/2100)
Tested OS versions:
o FreeBSD 7.1-7.3 (no longer supported)
o FreeBSD 8.0-8.4 (no longer supported)
o FreeBSD 9.0-9.3
o FreeBSD 10.0-10.2
For more information, go to Japanese blog at:
http://shell.peach.ne.jp/aoyama/
Author:
Daisuke Aoyama <aoyama@peach.ne.jp>