Yadda ake sanin idan rumbun kwamfutarka yana gab da "mutuwa" yana nazarin shi tare da fsck da kuma yin adreshin tare da umarnin tar

 

Hard Drive kayan aikin komputa ne kuma kamar kowane abu a wannan duniyar zai kawo karshen rayuwarsu, saboda haka mahimmancin yin kwafin bayananmu a kai a kai har ma fiye da haka saboda bamu san lokacin da zai faru ba kuma munyi asara bayani; Hakanan ba abu ne mai sauƙi a hango lokacin da rumbun kwamfutar mu zai gaza ba, amma idan muka kula da wasu alamun cutar zamu iya ɗaukar matakan da suka dace kada mu rasa bayanai.

kyauta sararin diski

Wasu daga waɗannan alamun da na yi sharhi a kansu sune masu zuwa:


M surutu.

Kwamfutocinmu, duk yadda suka yi shuru, koyaushe zasu yi ta hayaniya don duk abin da ya faru a cikin lamarin, amma galibi sautunan da muka sani ne kuma zamu iya gano cewa "na al'ada ne"

Don haka idan muka ji karar da ba ta kowa ba za mu iya fara damuwa, tunda yana iya yiwuwa wasu daga Hard drive buga kwallo da kai an lalata Wata hanyar kuma na iya kasancewa motar da ke juya faya-fayan ba ta aiki yadda ya kamata. Don haka dole ne mu yi hankali idan waɗannan sautunan suna yawaita kuma suna faruwa da sauri, muna iya samun ɗan lokaci kaɗan yadda muke tsammani.

Bacewar Bayani.

Aya daga cikin mahimman alamun bayyanar kuma wannan yana ba mu bayyananniyar alama cewa abu ba daidai bane, shine lokacin da muke da matsala idan yazo aje takardu ka bude su. Zai yiwu ma takardun da muka adana a kwanakin baya ba za mu iya samun su ba har ma da alama ba mu taɓa adana su ba. Abu na gaba da zamu iya samu shine cewa wani lokacin shirin da yake aiki kullum yana dakatar da aiki dare ɗaya. Wasu ƙwayoyin cuta ko kwari na iya zama dalilin, amma ba koyaushe ba; mafi kyau shine yi ajiyar waje na bayanan da muke son adana su da kuma yin nazari sosai don kau da duk dalilan da ka iya haifar.

pc-hotuna-disk-dur

Kwamfutarmu ba ta san faifai ba.

Wani lokaci kwamfutarmu ba za ta iya samun faifan diski da aka girka a ciki ba, wani lokacin ana iya samun babban dalilin a cikin faifan diski ɗaya kuma ba a cikin wani ɓangaren ba, amma ba koyaushe lamarin yake ba, mafi kyawun abin da za mu iya yi shi ne shigar da faifan diski akan wata kwamfutar kuma ta haka ne aka yanke hukuncin cewa matsalar tana can ko kuma a cikin wani ɓangaren.

Kwamfutarmu tana yawan lalacewa.

Idan munga fiye da yadda muka saba gani yadda kwamfutarmu take lalacewa ko idan zata sake kunnawa ko kuma idan ta rufe yayin da muke kan aiwatar, wannan alama ce da ke nuna cewa wani abu baiyi daidai ba kuma dole ne mu dauki mataki kafin lokaci ya kure. abu mafi sauki ga dukkan abinda yake bata mana lokaci, shine dalilin komai shine a cikin disk din mu.

Lokaci mai jinkiri sosai.

Wani mai nuna alama cewa rumbun kwamfutarka ya gaza shine lokacin muna ƙoƙari mu sami damar bincika mai binciken fayil ɗinmu kuma lokacin da yake ɗauka don isa gareshi na har abada ne ko kuma lokacin da muke ƙoƙarin shiga sharanmu kuma yana ɗaukar komai har abada don zubar da shi, abu mafi aminci shine a cikin lokaci ɗaya ko wata biyu zamu maye gurbin rumbun kwamfutarka. Kuma kar a manta, yana da kyau koyaushe a sami madadin don kauce ma munanan abubuwa.

clip_image fsck

Zamu iya yin duba halin rumbun kwamfutarka ta amfani da umarni fsck amma dole ne mu yi hankali tunda saboda dalilan tsaro na bayanan da ke kan faifai, ba shi da shawarar farawa fsck A kan wani bangare da aka ɗora, mafi kyawun aikin kafin amfani da wannan umarnin shine cire kayan ɓangaren kafin aiwatar dashi.

Don aiwatar da fsck a cikin sake sakewa na gaba dole ne mu aiwatar da umarnin shutdown kuma mun ƙara siga -f:

rufewa -r -F yanzu

Hakanan zamu iya ƙirƙirar fayil ɗin dannasun kai tsaye a cikin tushen tsarin:

Taɓa / tilasta ƙarfi

Lokacin da tsarin ya sake farawa za a bincika rumbun kwamfutarka kuma za a share fayil / forcefsck.

25014593936_fe73fb0b28_b

Don haka idan kuna buƙatar yin ajiyar bayananku, hanya mai sauƙi don yin shi kuma da hannu yana amfani da umarnin kwalta wanda za'a kirkiri fayil mai matsi kuma hakan yana da sauƙin amfani.

Wannan shine tsarin gabatarwar da zamuyi amfani da umarnin kwalta:

kwalta [sigogi]

Waɗannan su ne wasu ayyukan da aka fi amfani da su tare da umarnin kwalta:

-z: don damfara fayiloli ta amfani da gzip

-c: don ƙirƙirar fayil ɗin

-v: Yanayin Verbose. (Yana nuna mana ci gaba yayin da ake ƙirƙirar fayil ɗin)

-f: Don ƙayyade sunan fayil

-p yana bamu damar kula da izinin fayil

-x don cire fayil din

Yanzu, bari mu tafi tare da misali ta amfani da umarnin tar

Idan muna son damfara kundin adireshi gaba daya zamuyi amfani da wadannan:

tar -zcvf madadin-home.tar.gz / gida / *  

Amfani da wannan umarnin yana yin madadin duk fayilolin da suke cikin kundin adireshin gida.

Amma idan abin da muke buƙata shine yin cikakken tsarin tsarin, wanda zamu iya ci gaba da shirye-shirye, bayanai, saituna, da sauransu, ta yadda zamu iya dawo da duk abin da muke da shi akan kwamfutarmu idan anyi asara gaba ɗaya, dole ne mu aiwatar mai zuwa:

tar cvpzf /backup-full.tar.gz –exclude = / proc –exclude = / rasa + samu –exclude = / madadin-full.tar.gz –exclude = / mnt –exclude = / sys –exclude = dev / pts /

Abubuwan "kebewa" wadanda suke cikin umarnin sune, ware wasu kundayen adireshi wadanda basu da mahimmanci kuma tsarin yana dauke da fayiloli masu motsi, wanda zai haifar da matsaloli da kuma samar da kurakurai lokacin da muke yin ajiyar.

sassan Linux-disk-

Dawo da madadin:

Lokacin da zamu dawo da ajiyar waje, zamuyi amfani da umarnin –x

Tare da wannan umarnin aka fitar da abubuwan da ke cikin kundin adireshi na yanzu, suna kiyaye izini (-p).

tar -zxvpf /fullbackup.tar.gz

Idan ba mu son kiyaye izini amma kawai cire abubuwan da ke ciki a cikin kundin adireshi na yanzu za mu yi amfani da wannan umarnin.

tar -zxvf madadin-home.tar.gz

Don cire fayilolin da ke cikin / gida

tar -zxvf madadin-home.tar.gz / gida


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

3 comments, bar naka

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Llorenc Garcia m

    Ba abin mamaki bane in karanta game da lafiyar rumbun kwamfutarka ba tare da ambaton SMART ba. Zamu iya ganin matsaloli kafin su shafi tsarin fayiloli (fsck).

  2.   Oscar m

    Yayi kyau! Shin akwai aikace-aikacen da ke ba da damar waɗannan nazarin daga zane-zane?

    Gracias!

  3.   la45HD m

    Akwai mutane, ina ganin faifina zai mutu ba da daɗewa ba, ya ce akwai matsala tare da diski na kuma ya ce don ƙirƙirar madadin ko tuntuɓi mai haɗa pc