Raspbery Pi: wedzera hupenyu hweiyo SD kadhi

Flash memory chip uye "hupenyu" zvakanyorwa

Sezvatinoziva, Flash memory vane hupenyu hwakaganhurirwa, sezvavanodzikira nedata vanonyora mushure mezviuru zvishoma Pamwechete, pakushandisa zvakajairwa izvi hazvifanirwe kuratidza dambudziko hombe, asi kana tikashandisa zvakanyanya SD, zvinogona kukonzera matambudziko (kunyanya kana tiri kushandisa Raspi sevhavha).

Saka isu tinogona kuwedzera hupenyu hwekadhi redu reS SD mune Raspberry Pi uye zvese nekuda kweLinux. Chinangwa ndechekuderedza huwandu hwekunyora pane yedu SD kadhi kuti pamper zvimwe ndangariro uye kuti zvikanganiso hazvioneke nekukurumidza kudaro.

Kune izvi pane mamwe maitiro akanaka atinofanirwa kuita, sekushandisa SD mune yekuverenga-chete maitiro, sekunge iri LiveCD. Imwe sarudzo yaizove yekudzora huwandu hwekunyora kunoitwa SD yekutenda kune RAM.

Izvi zvingaitwa sei? Zvakanaka nechombo tmpfs. Kuti kernel inyore ku RAM pese pazvinogoneka uye nekudzivirira zvisina basa SD inonyora, isu tinofanirwa kushandura iyo / etc / fstab faira. Kune izvi isu tinowedzera mutsara:

tmpfs /var/log tmpfs defaults,noatime,nosuid,mode=0755,size=100m 0 0

El kernel iwe unozogona kukwira / var / log mu RAM uye woishandisa kunyora ipapo kudzivirira izvi zvinyore zvaizoenda SD. Kana iyo data isingadiwe, iyo RAM inoshandiswa ichaburitswa. Saka chete iyo inodiwa RAM ndiyo inoshandiswa uye nemazvo.

Sekuona kwedu, mumutsetse tashandisa "size = 100m" kuitira kuti 100MB ishandiswe, asi iwe unogona kugadzirisa saizi kwaunoda, uchigara uchichenjerera kuti usapedza zvese RAM. Isu takashandisawo / var / log, asi kune mamwe mafaera uko kernel inowanzo nyora vazhinji, saka tinogona kuwedzera mimwe mitsara senge yapfuura asi nemamwe mafaira akadai: / tmp, / var / tmp, / var / kumhanya, / var / spool, ...

Ndinovimba wakafarira hunyengeri uye ukaona zvichibatsira.

Mamwe mashoko - OpenSuSE 13.1: yeiyo Raspberry Pi


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako