Trouble adding device extent

Status
Not open for further replies.

RussJ

Cadet
Joined
Aug 9, 2012
Messages
3
I have a server that I want to use as an ISCSI target, and I'm new to freenas. It seems pretty straightforward, but when I go to Add Extent under Device Extents and I add my intended drive (which is da1), it acts like it is going to add, but then it shows up as added da0. If I add da3, it does the same thing - it adds da2 instead.

The server is an HP ML370, set up with hardware raid with 2 controllers. da0 and 1 are on controller 1, da2 and 3 are on controller 2. da0 and 2 are set up as the first set of disks which are 72G drives in a RAID1 config, and da1 and 3 are the 2nd set of disks (6x146G set up in a R5).

It's really weird - I'm wondering if it's not fully seeing these 2nd set of disks? (Even though they are an option in the drop down.)

Now the odd thing is if I configure the 2nd disks as my extents, then if I go to add extent the only ones that show up are the first set (So it's like it really is using them, it's just not showing correctly on the main page.) So is this a bug? And is there a way to know if the extent that shows a path of /dev/da0 is actually /dev/da1?
 
J

jpaetzel

Guest
Can you post a screenshot of your device extents page as well as the output of:


cat /usr/local/etc/istgt/istgt.conf

Sounds like it could be a bug.
 

RussJ

Cadet
Joined
Aug 9, 2012
Messages
3
I will recreate and give you the info.

Sorry, what I did for the time being was to just remove the da0 and da2 completely and that let me add the disks I wanted to add. As soon as I'm done testing what I needed to test, I'll set them back and see if I have the same experience. (But I'm almost sure I can recreate it.)

Thanks!

Can you post a screenshot of your device extents page as well as the output of:


cat /usr/local/etc/istgt/istgt.conf

Sounds like it could be a bug.
 

RussJ

Cadet
Joined
Aug 9, 2012
Messages
3
Response with screen shots...

So I go to add a Disk2 - selecting disk device da1...

Capture1.JPG

Then I hit OK and this shows up on the next page...

Capture2.JPG

Here's the conf file:

[root@freenas] ~# cat /usr/local/etc/istgt/istgt.conf
# Global section
[Global]
NodeBase "iqn.2012.08.com.simpson:freenas"
PidFile "/var/run/istgt.pid"
AuthFile "/usr/local/etc/istgt/auth.conf"
MediaDirectory /mnt
Timeout 30
NopInInterval 20
MaxR2T 32
DiscoveryAuthMethod None
MaxSessions 16
MaxConnections 8
FirstBurstLength 65536
MaxBurstLength 262144
MaxRecvDataSegmentLength 262144
MaxOutstandingR2T 16
DefaultTime2Wait 2
DefaultTime2Retain 60

[UnitControl]

# PortalGroup section
[PortalGroup1]
Portal DA1 0.0.0.0:3260

# InitiatorGroup section
[InitiatorGroup1]
InitiatorName "ALL"
Netmask 192.168.50.0/24

# LogicalUnit section
[LogicalUnit1]
TargetName "vmware"
TargetAlias "VMWareServers"
Mapping PortalGroup1 InitiatorGroup1
AuthMethod Auto
UseDigest Auto
ReadOnly No
UnitType Disk
UnitInquiry "FreeBSD" "iSCSI Disk" "0123" "10000001"
UnitOnline yes
BlockLength 512
QueueDepth 32
LUN0 Storage /dev/da0 auto
LUN0 Option Serial 100000010
[root@freenas] ~#




Sorry, what I did for the time being was to just remove the da0 and da2 completely and that let me add the disks I wanted to add. As soon as I'm done testing what I needed to test, I'll set them back and see if I have the same experience. (But I'm almost sure I can recreate it.)

Thanks!
 
Status
Not open for further replies.
Top