From: Arne R. <ag...@po...> - 2006-03-22 17:44:41
|
K.Prakash Kulandaivelu wrote: > Greetings All, > to be frank i got poor english knowledge. > this is my new config file > arget iqn.2009-08.local.fog:storage.lvm > # Users, who can access this target > # (no users means anyone can access the target) > #IncomingUser > #OutgoingUser > # Lun definition > # (right now only block devices are possible) > Lun 0 Path=/dev/hda5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Either - use a recent IET version and it will work with this line, or - if you really want to use 0.4.1, change this line to "Lun 0 /dev/hda5" I'd *strongly* recommend using the first approach, i.e. going for a more recent version of IET. > # Alias name for this target > Alias iSCSI > # various iSCSI parameters > # (not all are used right now, see also iSCSI spec > > i have mounted the device still i get the problem > This is another no-no: don't have a volume mounted while also exporting it via iSCSI! As a final note, I'd suggest using a file as iSCSI volume, i.e. dd if=/dev/zero of=/path/to/some/file.img bs=1M count=$whatever_size_you_want and using this one instead of a real disk: IET 0.4.1 -> Lun 0 /path/to/some/file.img recent IET -> Lun 0 Path=/path/to/some/file.img Arne > Mar 22 22:52:19 iSCSI kernel: iSCSI Enterprise Target Software - version 0.4.1 > Mar 22 22:52:19 iSCSI kernel: iotype_init(92) register fileio > Mar 22 22:52:20 iSCSI kernel: iet_target_param_set(127) d 1 8192 > 262144 65536 2 20 8 0 > Mar 22 22:52:20 iSCSI iscsid: failed to add volumePath=/dev/hda5 > > I fhad done any mistake plz excuse me.. > i am beginer and tell how to clear this problem > Prakash > > On 22/03/06, Ming Zhang <mi...@el...> wrote: > >> On Wed, 2006-03-22 at 18:13 +0100, Arne Redlich wrote: >> >>> Ming Zhang wrote: >>> >>>> On Wed, 2006-03-22 at 17:42 +0100, Arne Redlich wrote: >>>> >>>> >>>>> Ming Zhang wrote: >>>>> >>>>> >>>>>> On Wed, 2006-03-22 at 16:02 +0100, Miroslav Pragl wrote: >>>>>> >>>>>> >>>>>> >>>>>>> is it reasonable to share complete disc you boot from :-O ? >>>>>>> >>>>>>> try sharing file or USB disc (will be somethingg like /dev/sd*) first, >>>>>>> better make sure you specify type >>>>>>> >>>>>>> Lun 0 Path=/dev/sdc,Type=fileio (case sensitive!) >>>>>>> >>>>>>> MP >>>>>>> >>>>>>> >>>>>>> >>>>>> yes, case sensitive. Type=fileio is optional. but no blankspace after >>>>>> that for some old iet version. new code fixed that bug. >>>>>> >>>>>> >>>>>> >>>>> Nope, that's not the problem here - 0.4.1 still has the old syntax >>>>> "Lun 0 /dev/hdX", IIRC. >>>>> >>>>> >>>> yes, u are right. syntax is different. >>>> >>>> but he said he followed that link (which introduce how to use .4.13), so >>>> i assumed that is a typo. since no reason to use .4.1 when .4.13 is out >>>> already. :P >>>> >>>> ming >>>> >>>> >>> Yep, but there's also no reason to use the old Ardis code but he tried >>> that too, didn't he? ;-) >>> >> ;) >> >> that was from another guide, though that guide has a fine print text. >> >> >>> Ironically, the original Fedora Wiki article erroneously used the old >>> syntax, but luckily this apparently got fixed recently, otherwise this >>> could have nuked Prakash's system disk. ;-) >>> >> i contacted the author of that that fedora wiki and got it fixed. :P >> >> yes, export hda is awful. also this is why i like to have hda as my >> system disk, even i use too many sdX and sda can be ruined thousands of >> times! >> >> >> >>> Arne >>> >>> >>> >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 > _______________________________________________ > Iscsitarget-devel mailing list > Isc...@li... > https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel > > |