Ko te kawemai me te whakapiki i nga kopae SCSI mai i te NAS

I roto i taku Whare Mahi inaianei kei a maatau SAN e whakamahia ana a MAORI mai i tenei wa ki tenei wa me uru atu ahau ki te tiki mai ki te tuku moni ranei.

Hei whakahaere me te tohatoha i nga rauemi NAS e whakamahia ana e maatau HauoraNAS, e taea ai e maatau te uru atu ki nga kōpaki toha atu CIFS, NFS, FTP o TFTP. Engari tera ano tetahi atu huarahi ki te "whakapiri" i tetahi o nga wawahanga i hangaia hei kopae a rohe i runga i ta maatau rorohiko.

Mo tenei me whakamahi e maatau te kohinga tuwhera-iscsi.

I tenei waa e hiahia ana ahau ki te whakamarama ehara i taku kaupapa te whakamarama he aha ra iSCSI, SCSI me etahi atu kupu kaare pea he hou ki etahi kaiwhakamahi. Koina au ka waiho i nga hononga ki Wikipedia

Na inaianei ka tiimata te ngahau:

1- Whakauruhia te kohinga tuwhera-iscsi

$ sudo aptitude install open-iscsi

2- Kati te ratonga:

$ sudo /etc/init.d/open-iscsi stop

3- Mahia kia penapena te konae /etc/iscsi/iscsid.conf ka whakatika ai:

$ sudo cp /etc/iscsi/iscsid.conf /etc/iscsi/iscsid.conf.origin $ sudo nano /etc/iscsi/iscsid.conf

4- Whakauruhia nga mea e whai ake nei ki roto i taua konae:

node.startup = automaticnode.leading_login = No node.session.auth.authmethod = BAB node.session.auth.username = [chap_user] node.session.auth.password = [chap_password] kitenga.sendtargets.auth.authmethod = tutukitanga .sendtargets.auth.username = [chap_user] kitenga.sendtargets.auth.password = [chap_password] node.session.timeo.replacement_timeout = 120 node.conn [0] .timeo.login_timeout = 15 node.conn [0] .timeo .logout_timeout = 15 node.conn [0] .timeo.noop_out_interval = 5 node.conn [0] .timeo.noop_out_timeout = 5 node.session.err_timeo.abort_timeout = 15 node.session.err_timeo.lu_reset_timeout = 30 node.session. err_timeo.tgt_reset_timeout = 30 node.session.initial_login_retry_max = 8 node.session.cmds_max = 128 node.session.queue_depth = 32 node.session.xmit_thread_priority = -20 node.session.iscsi.InitialR2mediaT = No node.siste Ae kōpuku.session.iscsi.FirstBurstLength = 262144 node.session.iscsi.MaxBurstLength = 16776192 node.conn [0] .iscsi.MaxRecvDataSegmentLengt h = 262144 node.conn [0] .iscsi.MaxXmitDataSegmentLength = 0 kitenga.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768 node.session.nr_sIONS = 1 node.session.iscsi.FastAbort = Ae

5- Ka tiimata ka tiimata ano te ratonga ka tiimata ranei:

$ sudo /etc/init.d/open-iscsi restart

6- Na kia kite i nga waahanga o te SAN ka tukuna e matou:

# iscsiadm --mode discovery --type sendtargets --portal [IP del SAN]

Ki ahau nei ko:

# iscsiadm --mode discovery --type sendtargets --portal 192.168.24.20

7- Ko tana mahi he rarangi i nga pukapuka SAN me a raatau IQN, ana ka whakahokia mai he penei:

iqn.2002-10.com.infortrend:raid.sn7817070.001

8- Na ka uru atu maatau me te whakahau:

# iscsiadm --mode node --targetname iqn.2002-10.com.infortrend:raid.sn7817070.001 --portal 192.168.24.20:3260 --login

Mai i tera wa, mena ka mahi maatau i te tauranga:

# fdisk -l

Ka kite taatau ka waatea katoahia e tatou nga waahanga me nga waahanga o te SAN, ka taea e taatau te whakatakoto me te mea he kopae pakeke he maumahara ranei.

Ka mutu ana taatau, ka wehehia e maatau nga mea katoa i whakamahia e maatau ka aukati i te ratonga:

$ sudo /etc/init.d/open-iscsi stop


Ko nga korero o te tuhinga e piri ana ki o maatau kaupapa o matatika whakatika. Ki te ripoata i tetahi paatene paato Here.

3 korero, waiho maau

Waiho to korero

Ka kore e whakaputaina tō wāhitau īmēra.

*

*

  1. He kawenga mo nga raraunga: Miguel Ángel Gatón
  2. Te kaupapa o te raraunga: Whakahaerehia te SPAM, te whakahaere korero.
  3. Ture: To whakaae
  4. Whakawhitinga korero: Kaore nga korero e tukuna ki nga taha tuatoru engari ma te ture herenga.
  5. Rokiroki raraunga: Paetukutuku e whakahaerehia ana e Occentus Networks (EU)
  6. Tika: I nga wa katoa ka taea e koe te whakaiti, te whakaora me te muku i o korero.

  1.   eliotime3000 ka mea

    He tino whaihua ki te hiahia koe ki te whakauru ki runga i nga kaiwhakarato. Kua taapirihia ki nga makau.

  2.   Whakamatau ka mea

    He ao tino pai tenei i konei i te JCCE kua oti taatau te whakamatau i etahi momo momo whanui openmediavault, nas4free, freenas, glusterfc, tae atu ki a drbd + openmediavault ki te tiki i te ranunga o te san engari kaore o maatau rauemi mo tena me nga zfs …… .. pai iti iho i te iti ... Salu2s

  3.   JP ka mea

    Kua roa ahau e whakamahi ana i a Frenas a ka whakamahi ahau i te iSCSI i roto i te Raarangi Matapihi 2008 HA Cluster, tae noa ki nga taahiraa o tenei tuhinga kaore tonu e taea e au te hono atu i enei kopae ki a Linux, he tino kite a Matapihi ka whakaeke me Linux Ka rite tonu taku hapa:

    iscsiadm: I tutuki te motuhēhēnga whakauru me te taumata
    iscsiadm: i tutuki te takiuru ki te xxxx, ka hoatu he 5
    iscsiadm: Kare i taea te mahi i te kitenga SendTargets: kua tutuki i te kore e taea te whakauru hee ano he whakaekenga iSCSI

bool(pono)