Howdy,
When I attempt to create a new target with iscsitadm, I keep getting the
error "iscsitadm: Error Failed to create target directory":
$ zfs create -s -V 1g concat/vol01
$ zfs list concat/vol01
NAME USED AVAIL REFER MOUNTPOINT
concat/vol01 22.5K 7.06G 22.5K -
$ ls -la /dev/zvol/rdsk/concat/vol01
lrwxrwxrwx 1 root root 39 Oct 16 13:34
/dev/zvol/rdsk/concat/vol01 -> ../../../../devices/pseudo/[EMAIL PROTECTED]:1c,raw
$ iscsitadm create target -b /dev/zvol/rdsk/concat/vol01 rangervol01
iscsitadm: Error Failed to create target directory
When I truss iscsitgtd, it looks like iscsitgtd is passed a directory that
contains NULL characters:
$ truss -leaf -t mkdir -p 101084
101084/1: psargs: /usr/sbin/iscsitgtd
101084/1: mkdir(0x00000000, 0777) Err#14 EFAULT
Does anyone happen to know what is going on? Also -- the manual page on
opensolaris.org mentions that "-d" is the short hand for the backing
store:
"The short form of the --backing-store option is -d."
Shouldn't this actually be "-b"?
Thanks,
- Ryan
--
UNIX Administrator
http://prefetch.net
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss