Hi everybody, I'm exploring the target functionality of freebsd FreeBSD. My goal is to attach a Mac to a FreeBSD box with Firewire 800 to "export" the storage (a zpool of drives) of the box. I've read some documentation about it and I've tried to set up a test box without success.
Here are the steps that I've done:
* first attempt:
* second attempt:
After googling I found that the generic kernel may not have all the components that I need so I've rebuilt the kernel making sure that these lines are present in my config:
Rebooted and re-done the same steps in the first attempt and I've got the same results.
What am I missing?
Thank you.
Here are the steps that I've done:
* first attempt:
Code:
# ### Load the necessary kernel bits:
# kldload aio
# kldload sbp_targ
### Build the target utility
# cd /usr/share/examples/scsi_target/
# make
# make install
# ### Create a ramdisk
# mdconfig -a -t malloc -s 10m
md0
### Attach the ramdisk tho the firewire bus:
# scsi_target 7:1:1 /dev/md0; echo $?
scsi_target: Tried to open 1 devices, none available
1
After googling I found that the generic kernel may not have all the components that I need so I've rebuilt the kernel making sure that these lines are present in my config:
Code:
device scbus
device da
device targ
device targbh
options CAMDEBUG
options VFS_AIO
What am I missing?
Thank you.