Kevin Pattison
2009-Jan-02 15:28 UTC
[zfs-discuss] ZFS iSCSI (For VirtualBox target) and SMB
Hey all, I''m setting up a ZFS based fileserver to use both as a shared network drive and separately to have an iSCSI target to be used as the "Hard disk" of a windows based VM runninf on another machine. I''ve built the machine, installed the OS, created the RAIDZ pool and now have a couple of questions (I''m pretty much new to Solaris by the way but have been using Linux for some time). In my attempt to create the iSCSI target to be used and the VM disk I created (through the web frontend) a new dataset under the main pool of type "Volume" and gave it 30GB of space and called it iTunesVM. I then tried to run: zfs set shareiscsi=on tank/iTunesVM but got the error: cannot share ''tank/iTunesVM'': iscsitgtd failed request to share cannot share ''tank/iTunesVM at zfs-auto-snap:weekly-2009-01-02-15:02'': iscsitgtd failed request to share I''ve checked and my iSCSI target service is on and running. With regards a network share accessible to both Windows, Linux and Mac OS machines on the network, what protocol would be best to use (NFS or SMB). I would then like to set up a locally hosted headless windows VM to run a Windows Media Player/iTunes share over the network for access to the music from my xbox/PS3. All help appreciated, Kevpatts -- This message posted from opensolaris.org
I''ve seen this error often, but mostly the volume is shared. I think it happens as soon ay the volume has snapshots. To check if the volume is exposed or not, you can run: iscsitadm list target -v If the volume shows up, it''s OK and you should ignore the message. K -- This message posted from opensolaris.org
Sanjeev Bagewadi
2009-Jan-05 04:58 UTC
[zfs-discuss] ZFS iSCSI (For VirtualBox target) and SMB
Kevin, Kevin Pattison wrote:> Hey all, > > I''m setting up a ZFS based fileserver to use both as a shared network drive and separately to have an iSCSI target to be used as the "Hard disk" of a windows based VM runninf on another machine. > > I''ve built the machine, installed the OS, created the RAIDZ pool and now have a couple of questions (I''m pretty much new to Solaris by the way but have been using Linux for some time). In my attempt to create the iSCSI target to be used and the VM disk I created (through the web frontend) a new dataset under the main pool of type "Volume" and gave it 30GB of space and called it iTunesVM. I then tried to run: > zfs set shareiscsi=on tank/iTunesVM > but got the error: > cannot share ''tank/iTunesVM'': iscsitgtd failed request to share > cannot share ''tank/iTunesVM at zfs-auto-snap:weekly-2009-01-02-15:02'': iscsitgtd failed request to share >This needs to be investigated. From what I see all the snapshots on that volume inherit the shareiscsi property. And hence when we set it we try to share the snapshots as well and that is failing here. Thanks and regards, Sanjeev.> I''ve checked and my iSCSI target service is on and running. > > With regards a network share accessible to both Windows, Linux and Mac OS machines on the network, what protocol would be best to use (NFS or SMB). I would then like to set up a locally hosted headless windows VM to run a Windows Media Player/iTunes share over the network for access to the music from my xbox/PS3. > > All help appreciated, > Kevpatts >
Kevin Pattison
2009-Jan-05 10:12 UTC
[zfs-discuss] ZFS iSCSI (For VirtualBox target) and SMB
Thanks Sanjeevb, By the way, this only seems to fail when I set up a volume instead of a file system. Should I be setting up a volume in this case, or will a file system suffice? If I turn off snapshots for this then it should work. I''ll try this. Regards, Kevin -- This message posted from opensolaris.org
Reasonably Related Threads
- iscsitgtd failed request to share on zpool import after upgrade from b104 to b134
- Does iSCSI target support SCSI-3 PGR reservation ?
- why is zpool import still hanging in opensolaris 2009.06 ??? no fix yet ???
- iscsi target problems on snv_97
- CrossOver license