Merhaba
iqn tabiki olsuturuyorum. Mac ile nasil yapilabilir ?
# cat /etc/iet/ietd.conf
# Example iscsi target configuration
#
# Everything until the first target definition belongs
# to the global configuration.
#
# "iSNSServer" is the iSNS server you want your portal to register
# with.
#
# "iSNSAccessControl" is for enabling initiator access control
# through the iSNS server.
#
# "IncomingUser" specifies credentials the initiator has to provide -
# several of these are supported. If mutual CHAP shall be employed,
# "OutgoingUser" specifies the user/pass combination the target will
# provide - only one is supported.
#
# Leave them alone (keep them commented out) if you don't want to use
# authentication for discovery sessions.
#iSNSServer 192.168.1.16
#iSNSAccessControl No
#IncomingUser joe secret
#OutgoingUser jack 12charsecret
# Targets definitions start with "Target" and the target name.
# The target name must be a globally unique name, the iSCSI
# standard defines the "iSCSI Qualified Name" as follows:
#
# iqn.yyyy-mm.<reversed domain name>[:identifier]
#
# "yyyy-mm" is the date at which the domain is valid and the identifier
# is freely selectable. For further details please check the iSCSI spec.
#Target iqn.2001-04.com.example:storage.disk2.sys1.xyz
# CHAP Users
#
# The same rules as for discovery users apply here.
#
# Don't set them if you don't want to use CHAP authentication.
#
#IncomingUser joe secret
#OutgoingUser jim 12charpasswd
#
# Logical Unit definition
#
# Block devices, regular files (fileio only), LVM, and RAID
# can be offered to the initiators as a block device.
#
# Lun numbers MUST start with zero (each target needs a Lun 0)
#
#Lun 0 Path=/dev/sdc,Type=fileio,ScsiId=xyz,ScsiSN=xyz
#
# Alias name for this target (Not Used)
#
#Alias Test
#
# Various iSCSI parameters
# (not all are used right now, see also iSCSI spec for details)
#
# Outgoing SCSI data (initiator to target user data or command
# parameters) is sent as either solicited data or unsolicited data.
# Solicited data is sent in response to R2T PDUs. Unsolicited data
# can be sent as part of an iSCSI command PDU sequence
# ("Immediate Data") or as a separate iSCSI data PDU sequence.
#
#MaxConnections 1 # Number of connections/session
# We only support 1
#MaxSessions 0 # Number of sessions/target
# 0 = no explicit limit
#InitialR2T Yes # Wait first for R2T
# Yes = no unsolicited data
#ImmediateData Yes # Data can accompany command
# Yes = cmnd/data in same PDU
#MaxRecvDataSegmentLength 8192 # Max data per PDU to receive
#MaxXmitDataSegmentLength 8192 # Max data per PDU to transmit
#MaxBurstLength 262144 # Max data per sequence (R2T)
#FirstBurstLength 65536 # Max unsolicited data sequence
#DefaultTime2Wait 2 # Secs to wait for ini to logout
# also secs for ini to wait
# before logging back in
# Not implemented, but settable
#DefaultTime2Retain 0 # Secs keep session after logout
# We only support 0
#MaxOutstandingR2T 1 # Max outstanding R2Ts per cmnd
#DataPDUInOrder Yes # Data in PDUs is ordered
# We only support ordered
#DataSequenceInOrder Yes # PDUs in sequence are ordered
# We only support ordered
#ErrorRecoveryLevel 0 # We only support level 0
#HeaderDigest None,CRC32C # PDU header checksum algo list
# None or CRC32C
# If only one is set then the
# initiator must agree to it
# or the connection will fail
#DataDigest None,CRC32C # PDU data checksum algo list
# Same as above
#MaxSessions 0 # Maximum number of sessions to
# this target - 0 = unlimited
#NOPInterval 0 # Send a NOP-In ping each after
# that many seconds if the conn
# is otherwise idle - 0 = off
#NOPTimeout 0 # Wait that many seconds for a
# response on a NOP-In ping
# If 0 or > NOPInterval, NOPInterval
# is used!
#
# Various target parameters
#
#Wthreads 8 # Number of IO threads
#QueuedCommands 32 # Number of queued commands
Target iqn.1991-05.com.microsoft:ewrewr-pc
Lun 0 Path=/srv/iscsi/storagelun0,Type=fileio,ScsiId=lun0,ScsiSN=lun0
Lun 1 Path=/srv/iscsi/storagelun1,Type=fileio,ScsiId=lun0,ScsiSN=lun1
Target iqn.1991-05.com.microsoft:win7-pc
Lun 0 Path=/srv/iscsi/storagelun2,Type=fileio,ScsiId=lun0,ScsiSN=lun2
2013/1/2 <[email protected]>
> Linux listesi mesajlarını şu adrese gönderin:
> [email protected]
>
> World Wide Web ile üye olmak veya üyelikten çıkmak için şu sayfayı
> ziyaret edin:
> https://liste.linux.org.tr/mailman/listinfo/linux
> veya e-posta yoluyla konusunda veya gövdesinde 'help' yazan bir mesajı
> şu adrese gönderin:
> [email protected]
>
> Bu listeyi yöneten kişiye şu adresten ulaşabilirsiniz:
> [email protected]
>
> Yanıt yazarken, lütfen Konu satırını düzenleyerek şu tür bir şekilden
> daha belirli olmasını sağlayın: "Ynt: Linux toplu mesajının
> içeriği..."
>
>
>
> Günün Konuları:
>
> 1. Re: iscsistorage (Hasan Akgöz)
> 2. Re: dd komutu (Hasan Akgöz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 2 Jan 2013 10:30:15 +0200
> From: Hasan Akgöz <[email protected]>
> Subject: [Linux] Re: iscsistorage
> To: "'Linux'" <[email protected]>
> Message-ID: <001e01cde8c3$64e2bbe0$2ea833a0$@ru>
> Content-Type: text/plain; charset="iso-8859-9"
>
> Merhaba Gökhan bey;
>
>
>
> Normalde kullandığınız storage üzerinden iqn oluşturmanız ve sonrasında şu
> IP adresli ve ya şu MAC adresli bilgisayar buna ulaşsın diye belirtmeniz
> gerekiyor. Bu tip işlemler kullanılan storage göre değişebiliyor Bazı
> storage bir grup oluşturuyor onun içine erişebilecek bilgisayarları
> tanımlıyorsunuz ya da disk shared özellğini kapatabiliyorsunuz vb..
> işlemler
> uygulanabiliyor. CHAP sadece strorage üzerindeki veriler için ekstra bir
> güvenlik katmanıdır. Ben tam olarak anlamadım MS işletim sistemi üzerinden
> iqn oluşturup dd ile yaptığınız diskleri atamak derken MS'e ait bir storage
> işletim sistemi üzerinden mi yapıyorsunuz belirtebilir misiniz ? dd ile
> disk
> oluşturmanız gerekmiyor normalde.
>
>
>
>
>
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Gokan Atmaca
> Sent: Monday, December 10, 2012 5:03 AM
> To: [email protected]
> Subject: [Linux] iscsistorage
>
>
>
> Merhaba
>
>
> iscsitarget ile Ms. isletm sis. üzerinden aldıgım Iqn. numaralarına gore
> hedefler olusturup dd ile yaptıgım diskleri atadım. İki farkli makinaya
> atadım. Ancak ikiside biribirlerinin Iqn gorduler. Ben gormelerini
> istemiyorum. CHAP kullanmadım. Sorun bundan kaynaklanıyor olabilir mi ?
> Tabiki ilgili OS. icin connect ediyroum. Ancak gormemeleri daha güzel
> olurdu.
>
>
> Tesekkürler.
>
> -------------- sonraki bölüm --------------
> Bir HTML eklentisi temizlendi...
> URL:
> http://liste.linux.org.tr/pipermail/linux/attachments/20130102/2dad6edc/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 2 Jan 2013 10:38:24 +0200
> From: Hasan Akgöz <[email protected]>
> Subject: [Linux] Re: dd komutu
> To: "'Linux'" <[email protected]>
> Message-ID: <002901cde8c4$89d25770$9d770650$@ru>
> Content-Type: text/plain; charset="iso-8859-9"
>
> Merhaba Gökhan bey;
>
>
>
> MBR'ninde yedeğini aldıysanız önce MBR'yi yazdırtıktan sonra boot
> edebilirsiniz.
>
>
>
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Gokan Atmaca
> Sent: Friday, December 14, 2012 9:13 AM
> To: [email protected]
> Subject: [Linux] dd komutu
>
>
>
> Merhaba
>
> DD ile "dd if=/dev/sda2 of=/mnt/haricidiskim/sistemimajım.img " / mount
> oldugu partition imajını alıyorum. Ama daha denemeye fırsat bulamadım. KVM
> üzerinden bu aldıgım imajı boot etirebilirmiyim. ?
>
>
>
> Saygılarımla...
>
> -------------- sonraki bölüm --------------
> Bir HTML eklentisi temizlendi...
> URL:
> http://liste.linux.org.tr/pipermail/linux/attachments/20130102/7ce99107/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> Linux mailing list
> [email protected]
> https://liste.linux.org.tr/mailman/listinfo/linux
> Liste kurallari: http://liste.linux.org.tr/kurallar.php
>
>
> Son: Linux Toplu Mesajı, Sayı 100, Konu 1
> *****************************************
>
--
Gokhan Atmaca | MCP | MCTS | Linux System Administrator |
System&Network Specialist
_______________________________________________
Linux E-Posta Listesi
[email protected]
Liste kurallari: http://liste.linux.org.tr/kurallar.php
Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1
dakika içinde üyeliğinizi sonlandırabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux