Bug 465533

Summary: netbsd-iscsi X LVM - not working as expected
Product: [Fedora] Fedora Reporter: Itamar Reis Peixoto <itamar>
Component: netbsd-iscsiAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: lkundrak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-21 16:34:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Itamar Reis Peixoto 2008-10-03 18:45:08 UTC
Description of problem:

I have a 10 gb lvm partition in /dev/VolGroup00/backup, if I am put 10gb in target file the netbsd-iscsi fails to start with this error.

Oct  3 15:23:49 vps1 iscsi-target: pid 8892:disk.c:774: ***ERROR*** error writing "target0"
Oct  3 15:23:49 vps1 iscsi-target: pid 8892:disk.c:911: ***ERROR*** error allocating space for "target0"
Oct  3 15:23:49 vps1 iscsi-target: pid 8892:target.c:1544: ***ERROR*** device_init() failed
Oct  3 15:23:49 vps1 iscsi-target: pid 8892:iscsi-target.c:146: ***ERROR*** target_init() failed


but if I put 9gb instead of 10 gb then it works fine.

this is a bug ? can you help me ?



I have this in /etc/iscsi/targets


	# extent        file or device          start           length
	extent0         /dev/VolGroup00/backup      0               10GB

	# target        flags   storage                 netmask
	target0         rw      extent0                 0/0



Version-Release number of selected component (if applicable):

netbsd-iscsi-20071205-3.fc10.x86_64

Comment 1 Lubomir Rintel 2008-10-03 22:15:30 UTC
Thanks for the report -- this is definitely a bug. I attempted to track it down and fix it; please try netbsd-iscsi-20080207-1_fc10 package to see if it fixes things for you [1].

[1] http://koji.fedoraproject.org/koji/taskinfo?taskID=860280

Comment 2 Lubomir Rintel 2008-10-03 22:34:20 UTC
crap; that one did not build.
Hope this does.

http://koji.fedoraproject.org/koji/taskinfo?taskID=860331

Please let me knows if that one works.
zzz

Comment 3 Itamar Reis Peixoto 2008-10-07 22:52:31 UTC
I have tested and is working fine.

thanks alot;