Yadda ake lalata abubuwa a cikin Linux

Defrag banner akan Linux

Kodayake akwai jita-jita game da wannan tsarin fayilolin Linux, musamman dangane da sigar ƙara ko wasu tsarin tare da mujallar kamar JFS, ZFS, XFS ko ReiserFS, ba sa buƙatar ɓarna, gaskiya ne cewa a kan lokaci ayyukanta yana zama a hankali saboda watsewar bayanan. Kodayake tasirinta bai taɓa zama na ban mamaki kamar na tsarin FAT da tsarin NTFS ba, abu ne wanda zamu iya warware shi cikin tsarin idan muka yi amfani da kayan aiki kamar e4 zuw.

E4defrag kayan aiki ne wanda ke cikin yawancin rarraba Linux, gami da Ubuntu, a cikin fakitin majin_sark. Akwai wasu da yawa da ke aiki a irin wannan hanyar, amma mun zaɓi wannan domin saukin amfani. Don shigar da shi a cikin tsarinmu, kawai ya zama dole mu yi kira da umarnin mai zuwa:

sudo apt-get install e2fsprogs

Da zarar an shigar da kunshin, zamu iya kiran mai amfani daga layin umarni ta aiwatar da bayanin nan:

sudo e4defrag -c

A sakamakon haka zamu sami hoto kwatankwacin mai zuwa wanda ke nuna darajar rarrabuwa na sashinmu. Idan wannan adadi ya kai maki sama da 30 zai iya zama Yana da kyau a gwada rage shi ta amfani mai amfani cewa mun nuna, kuma idan ya wuce darajar 56 zai zama dole ayi aiki da wuri-wuri.

Duba kayan amfani e4defrag

Don lalata yanki dole ne mu nemi aikace-aikacen tare da jerin masu zuwa:

sudo e4defrag /ruta

Ko wannan ɗayan idan muna son aiki akan ɗaukacin na'urar:

sudo e4defrag /dev/device

Kamar koyaushe, muna tunatar da ku cewa yana da kyau a kwance na'urori ko abubuwan tafiyarwa na tsarinku wanda zakuyi aiki dashi da wannan mai amfani ko makamancin hakan don gujewa lalata bayanan.

A ƙarshe, koMuna ƙarfafa ku da ku bar ra'ayoyinku kuma ku gaya mana menene Wannan aikace-aikacen yayi aiki sosai a gare ku kuma idan kun lura da wani ci gaba a cikin kwamfutocinku bayan kunna shi.


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

19 comments, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  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.   alice nicole saint m

    me ake samu ta hanyar damke wancan !!! gudun ko wani abu?

    1.    Luis Gomez m

      Sannu Alicia, hakika, wurin bayanan ya sanya a cikin wannan wucewar kai kan diski yana ɗaukar bayanan da za'a yi amfani dasu daga baya sabili da haka shafukan shafukan da za'a yi amfani dasu sun buge. Wannan yana fassara zuwa sauri mafi girma.

  2.   alicia nicole san m

    Ta yaya zan lalata ubuntu na idan ana amfani da wannan kayan aikin. Yana cewa dole a wargaje shi, ban fahimta ba

    1.    Luis Gomez m

      Barka dai Alicia, sake bitar umarnin da kayi yanzu sannan kayi amfani dashi akan mashin din da zaka lalata. Misalin misali na umount yana tare da CDROM: umount / dev / cdrom.

      A gaisuwa.

  3.   RioHam Gutierrez Rivera m

    A cikin Windows, lalata abubuwa yana taimakawa don nemo fayiloli da sauri. Ka yi tunanin shiryayye cike da littattafai, gaba ɗaya. Cire ɗayan ya zama fanko. Wannan yana faruwa a kan rumbun kwamfutarka lokacin da muka share fayil. Wannan yana da tasirin cewa tsarin ya ɗan jinkirta saboda gaskiyar lokacin da yake ɓata lokacin bincike, koda kuwa a waɗancan gibin. Rushewa yana aiki don tattara bayanin kuma ba komai. A cikin Linux ba ya haifar da babban tasiri kamar a cikin Windows. Amma zai iya zama da kyau idan mun dade muna amfani da shi.

  4.   alice nicole saint m

    oh ... Na fahimta na gode. idan ina da dan sani amma a windows. amma a cikin Linux yana kama ni da sauri fiye da Linux .. ko da kuwa a kan lokaci ya kan ɗan yi jinkiri kadan ba kamar windos ba yanzu ina da shi a hankali sosai ina tsammanin wannan na eindoes ne 🙂 Na sanya disk win da Linux. godiya ga bayanin

  5.   fedu m

    Ina da memory of usb 3.0 usb Wanda nake girkawa ubuntu, amma wata rana ban san me ya faru ba, idan shine na cire memorin din ba tare da na kwance shi ba ko kuma ban sani ba amma daga wannan ranar ya kasance "karanta kawai" kuma tun daga wannan lokacin na zaga cikin shafukan don ganin ko zan iya dawo da wannan ƙwaƙwalwar (saboda yana da sauri usb 3) amma ba komai, kamar yadda suke faɗa a Spain «na de na», shin wani ya san yadda ake gyarawa shi, ko aƙalla bayyana yadda za a hana wannan sake faruwa?

    1.    Rowland Roja m

      Shin kun gwada share bayananku tare da Gparted?

    2.    dextreart m

      Akwai hanyoyi da yawa da zaku iya amfani da aikace-aikacen da kuka girka mai suna Open Disks kuma sai ku tafi zuwa kebul din da ke ciki kuma ku bashi fomat, wani zabin zai kasance ta hanyar tashar

  6.   Miguel Angel Santamaría Rogado m

    Sannu Luis,

    Yi haƙuri don gaya muku cewa labarin ya ɗan zama mara kyau.

    A gefe guda, lokaci bai yi ba da ke haifar da rarrabuwa a cikin tsarin fayil, amma tsarin amfani: ƙirƙirar dubban ƙananan fayiloli sannan a share wasu bazuwar, rubuta manyan fayiloli sosai a hankali, da sauransu.; da kuma matsayin zama na tsarin fayil, an ambaci amfani sama da 90% a matsayin wurin da tsarin fayil ba zai iya rage yanki ba (kodayake ban taɓa ganin cikakken bayani game da wannan 90% ba).

    A gefe guda, an canza dokokin da kuka sanya: "e4defrag -c / path" yana nuna bayanai (ƙidaya) game da ɓarkewa kuma "e4defrag / path" yana yin ɓarna.

    Don gamawa, na bar nan [1] labarin da ke bayani a hanya mai sauƙi ma'anar maudu'i kamar na fasalin tsarin fayil; Daga shekara ta 2006 ne kuma baya ambaton tsarin ko hanyoyin kamar "kari" ko kuma rarrabuwar kan layi, amma yana da sauƙin fahimta.

    Na gode.

    PS: Ba don son sani ba, don nuna cewa bayan shekara ɗaya da rabi na amfani kuma ba tare da ɓata wani nau'i ba, tsarina yana da sabon rarrabuwa 0% a 79% na amfani (Ubuntu 14.04).

    [biyu]: http://geekblog.oneandoneis2.org/index.php/2006/08/17/why_doesn_t_linux_need_defragmenting

    1.    Luis Gomez m

      Sannu Miguel Ángel, da farko dai, na gode da bayanin. Na gyara jumlar yanzu. Kamar yadda kuka nuna da kyau, tsarin amfani kuma har ma kafin hakan, zaɓin gungu ko girman toshe, daga baya zasu sanya wannan halin a cikin raka'o'in. Kamar yadda ba za a iya hango shi ba idan za mu sami ƙananan fayiloli da yawa ko kaɗan da manyan fayiloli a cikin rukuninmu, ƙimar tsoho da tsarin ke ɗauka yawanci ana ɗauka.

      A gefe guda, nuna cewa ribar rarrabuwa ba ta da yawa a cikin matattarar bayanan kamar yadda yake cikin tsari mai kyau wanda bayanan ke bi. Theananan shugabannin faifan dole su yi tsalle, ƙimar da za mu samu (kuma gabaɗaya yawanci yakan faru ne tare da manyan fayiloli kuma tare da toshe a jere fiye da ƙananan da yawa waɗanda ke kan layi a kan faifai).

      Godiya ga karatu.

  7.   zytumj m

    Gabaɗaya / mafi kyawun kari 276635/270531
    Matsakaicin girman kusan 252 KB
    Sakamakon kashi 0
    [0-30 babu matsala: 31-55 kaɗan da aka rarrabu: 56- yana buƙatar lalatawa]
    Wannan kundin adireshin (/) baya buƙatar rarrabuwa.
    Anyi.
    --------------
    Kwamfutar ta kai kimanin shekaru 3, ba ta da kyau ko kaɗan, daidai?
    Linux Mint 17.2

    1.    Miguel Angel Santamaría Rogado m

      Sannu zytumj,

      Wannan rarrabuwa kusan babu shi al'ada ce a cikin tsarin fayil ɗin da aka yi amfani da su a cikin Linux, "ana tunanin su" don gujewa hakan.

      Ba shi da daraja ƙimar lalatawa a cikin Linux, waɗannan kayan aikin galibi idan kana buƙatar yin wasu nau'ikan sake fasalin sassan, don haka ba ku da fayiloli a ƙarshen ɓangaren da ba ku damar canza girman .

      Na gode.

      PS: Ban ambace shi a baya ba haka ma labarin, amma idan kuna da faifan SSD, lalata shi ɓata lokaci ne ba tare da la'akari da tsarin fayil ɗin da kuka yi amfani da shi ba.

  8.   zytumj m

    Godiya Miguel Ángel.
    A'a, Ina amfani da diski na gargajiya. Hakanan, lokacin da na fara da GNU / Linux a shekarar 2008, tuni na nemi yadda zan yi ɓarna kuma na karanta cewa bai zama dole ba.

    1.    tashar ba a sani ba m

      Tunda sun tabo batun fayilolin da aka rarraba a cikin bangare kuma ana tunanin zai rage rabe. Na nuna cewa amfani da aikace-aikace na zana kamar su Defraggler ko wani daga windows don sassan NTFS akan HDD, sau da yawa basa iya lalata su sosai, kuma idan suka yi hakan, za'a iya samun fayilolin da suka rage zuwa ƙarshen bangare.
      Ina mamakin idan a cikin Linux za'a iya samun rarrabuwa 0% a cikin wani bangare na Ext4, amma kuma akwai fayilolin zuwa ƙarshen ɓangaren, ma'ana, cewa zuwa tsakiyar akwai sarari fanko.

      Ina tsammanin, makasudin adana bayanai a cikin wani bangare, shine cewa za'a adana bayanan zuwa tsakiyar bangare bangare zuwa waje. Me kuke tunani?

  9.   leonardo m

    Barka dai. Kuma ta yaya zan iya lalata NTFS ko FAT32? Godiya

  10.   Patricio m

    Sannun ku! Na kasance ina amfani da Ubuntu tsawon shekaru kuma bai taɓa jinkirta komai ba, ina kaunarsa. 10 seconds don farawa da 3 don rufewa. Gaisuwa!

  11.   elinne m

    Ina aiki tare da firintoci guda uku kuma babu ɗayan ukun da zan iya girkawa a cikin Ubuntu 20.04, tuni na zazzage direbobin kowane ɗayansu. pc sabo ne kuma ubuntu kawai an shigar dashi. da pc na baya wanda yakamata na yar da shi saboda bai fara ba (initramsf) kuma ba wanda ya iya gyara shi, dukkan firintocin uku sun yi aiki sosai. firintocinku empson biyu ne da kuma hop daya.
    lsb babu a cikin ubuntu 20.04

  12.   Enrique m

    Kyakkyawan yamma.
    Don amfani da e4defrag dole ne a ɗora na'urar:

    tushen @Asgar:/media# umount disk1
    tushen @Asgar:/media# e4defrag /dev/sda1
    e4defrag 1.46.6-rc1 (12-Sep-2022)
    Ba a shigar da tsarin fayil ba
    tushen @Asgar:/media#

    Na gode.