4 cov lus txib kom paub cov ntaub ntawv los ntawm peb HDD lossis muab faib

Kuv tsis tau tshaj tawm ntawm no ntev ntev, qhov no tsis txhais tau tias kuv tau hnov ​​qab FromLinux txhua lub sijhawm, tsis yog txhua lub sijhawm ... nws tsuas yog qee yam tau hloov ntawm tus kheej theem thiab kuv lub sijhawm tam sim no tsawg dua li nws tau ua ntej.

Txawm li cas los xij, lub sijhawm no kuv tau kawm txog qee cov lus txib tshiab, cov lus txib uas kuv xav qhia rau koj 🙂

Kuv yuav pib nrog ob qhov ntawd raws li lub npe ntawm cov ntawv tshaj tawm hais tias, lawv qhia peb cov ntaub ntawv hais txog peb lub hard drive thiab muab faib.

Hais kom ua sudo lsscsi

Tus thawj yog: sudo lsscsi (lawv yuav tsum tau teeb tsa cov pob no rau cov lus txib kom muaj)

Tshooj lej:
Nrog Rau Lub Chaw Nres Loj: Qhov Loj thiab Qhov Chaw Hais Lus

Hais kom ua sudo lsblk -fm cov

Tus ob yog: sudo lsblk -fm cov

Ntawm no yog ib lub screenshot ntawm cov zis tawm ntawm ib qho: Muaj ntau txoj hauv kev los muab cov no thiab lwm cov ntaub ntawv los ntawm peb cov partitions thiab HDDs, lawv tsis yog ob nqe lus txib no nkaus xwb ... tab sis, raws li kuv tus kheej tau pom me ntsis hais txog lawv, vim li ntawd kuv thiaj txiav txim siab los faib rau lawv 🙂

Zoo li no kuv tawm koj lwm cov lus txib uas tuaj yeem muab koj ntau cov ntaub ntawv zoo sib xws:

Hais lus sudo fdisk -l

 

Ntawm no yog qhov screenshot: Lwm lo lus txib yog qhov raug df -h

Tshooj lej:
Yuav ua li cas tua cov txheej txheem tau yooj yim

Hais kom ua df -h

Ntawm no yog qhov screenshot:

Txawm li cas los xij, Kuv vam tias nws muaj txiaj ntsig zoo rau koj 🙂

Koj puas paub lwm lo lus txib twg uas muab cov ntaub ntawv hais tias cov no tsis? ...

regards


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

31 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   Carper said

    Ua tsaug ntau rau cov ntaub ntawv, txais tos.
    PS: koj twb xiam lawm.
    XD

    1.    KZKG ^ Gaara said

      hahahahaha ua tsaug 🙂
      Yog lawm ... Kuv tsis tshua muaj lub sijhawm tsis ntev los no, zoo li Perseus tau hais hauv ib qho tweet ... "bro, koj tau hnov ​​cov nkauj sirens hu nkauj thiab peb tau ploj koj vim yog lawv, ib pliag ntsiag to rau tus phooj ywg poob TT"

      Lol !!!

      1.    Hugo said

        Ah, yog li ntawd puas yog hu nkauj ntawm zaj nkauj uas ua rau koj tsis khoom? 😉

        1.    elav ua said

          Txom nyem tus me nyuam .. nws tsis muaj pob ntseg zoo hahaha

          1.    Hugo said

            Zoo, qhov tshuaj tiv thaiv yog nkag siab, muaj mermaids tias ib tus neeg poob rau, hehe

            1.    elav ua said

              Kuv twb qhia koj lawm !! 😀


  2.   Hugo said

    Qhov hais kom ua lsblk zoo li muaj txiaj ntsig zoo, ua tsaug vim tias tsawg kawg yog kuv yeej tsis paub txog nws.

    Ntawm lwm cov lus txib, vim tias hauv Linux, koj ib txwm pom yam muaj txiaj ntsig:

    sudo blkid
    sudo cat /proc/partitions
    sudo cat /etc/mtab
    sudo lshw -short -class storage -class disk
    sudo lshw -class storage -class disk | less
    sudo hwinfo --disk | less
    sudo parted /dev/sda print
    sudo hdparm -I /dev/sda | less
    sudo smartctl -a /dev/sda | less

    Rau LVM-hom partitions muaj lwm cov lus qhia muaj txiaj ntsig:
    sudo pvdisplay
    sudo lvdisplay

    Koj tseem tuaj yeem pom cov ntawv sau xav paub, zoo li qhov no uas siv tsuas yog cov cuab yeej zoo li nrhiav thiab grep:

    for file in \
    $(find /sys/block/[sh][dr]*/device/ /sys/block/[sh][dr]*/ -maxdepth 1 2>/dev/null |
    egrep '(vendor|model|/size|/sys/block/[sh][dr]./$)'| sort)
    do
    [ -d $file ] && \
    echo -e "\n -- DEVICE $(basename $file) --" && \
    continue
    grep -H . $file | \
    sed -e 's|^/sys/block/||;s|/d*e*v*i*c*e*/*\(.*\):| \1 |' | \
    awk '{
    if($2 == "size") {
    printf "%-3s %-6s: %d MB\n", $1,$2,(($3 * 512)/1048576)
    } else {
    printf "%-3s %-6s: ", $1,$2
    for(i=3;i<NF;++i) printf "%s ", $i; print $(NF)
    }
    }'
    done

  3.   Hugo said

    Los ntawm txoj kev, df tuaj yeem tso tawm cov ntaub ntawv me ntsis ntxiv invoked zoo li no:

    df -hT

  4.   Hugo said

    Tsis tau lwm lo lus txib rau tus sau:

    sudo systool -c block -v | less

    1.    KZKG ^ Gaara said

      O_O… damn, ua tsaug rau ntau qhov lus txib LOL !!!

  5.   RudaMacho said

    Zoo heev lsblk, tsaug!

    1.    KZKG ^ Gaara said

      Ua tsaug koj tuaj teb 🙂

  6.   dhunter said

    sudo faib -l

    1.    KZKG ^ Gaara said

      Zoo heev, Kuv tsis paub tias nov
      Ua Tsaug 😉

  7.   qis kie said

    Zoo heev, Kuv tsuas paub "fdisk -l". Qhov ib uas kuv nyiam tshaj plaws yog "lsblk", nws yog qhov uas zoo tshaj qhia cov ntaub ntawv.

    1.    KZKG ^ Gaara said

      Tsaug rau commenting 🙂

  8.   tsis lees paub said

    Kuv ib txwm ua nrog df -h / thiab disk -l, lwm tus uas kuv tsis quav ntsej.

  9.   Anonymous said

    Coj txawv txawv uas tsis muaj leej twg paub txog hais txog:
    # blkid -o sau
    muab cov ntaub ntawv zoo tabulated thiab tau kawg lsblk uas kuv tau ua ib qho kev cai hauv kuv .bashrc
    $ miv .bashrc | grep -i aliases
    alias lsblk = »lsblk -o RM, RO, QAUV, NPE, LABEL, FSTYPE, MOUNTPOINT, LOJ, PHY-SEC, LOG-SEC, MODE, TSWV, GROUP, UUID

    Tsaug rau tej kev koom tes.

  10.   Ruam said

    Ua tsaug rau cov lus txib, txhua txhua hnub ntawm tsawg kawg 20 feeb ntawm kev nyeem ntawv, yog ib hnub siv

    1.    KZKG ^ Gaara said

      Ua tsaug koj tuaj teb 😀

  11.   Rodolfo said

    Zoo heev, nws yuav zoo yog tias koj pom zoo kom paub meej ntxiv saib ntawm nplooj ntawv txiv neej ntawm txhua cov lus txib, txais tos.

  12.   Victor said

    Yuav kom paub qhov kub thiab txias ...
    hauv paus @ tsaus ntuj nti: / tsev / khaws # smartctl -A / dev / sdc | grep '194' | awk '{luam $ 10}'
    34

  13.   woqer ua said

    zoo «lsblk», tsis paub nws! Siv tau zoo txij li thaum twg los xij Kuv xav nkag mus rau cov ntaub ntawv no Kuv xaus siv fdik -l uas yog ntau dua qhov tsis yooj yim, thiab rau UUID kuv ua qhov "ls -lha / dev / disk / by-UUID" thiab kuv pib txheeb xyuas kuv tus kheej. Nrog «lsblk» txhua yam sib koom ua ke thiab huv nyob rau hauv ib qho kev hais kom ua thiab coj thaj chaw me me hauv lub davhlau ya nyob twg 🙂 Ua tsaug rau kev koom tes

  14.   Marcos_tus said

    genial

  15.   fedex5 ua said

    zoo kawg li!

    pab tau thiab yooj yim ua tsaug

  16.   Edison quisiguina said

    Ua tsaug ntau pab tau ncej 🙂

    Koob Hmoov.

  17.   Fausto Fabian Garcete said

    Kev koom tes zoo heev. Nws yeej tau pab kuv zoo heev. tsab xov xwm qhia tawm.

  18.   Miguel Loj said

    Ua tsaug ntau, cov lus txib tau pab kuv.

  19.   Miguel said

    Ua tsaug ntau rau koj sib qhia cov lus qhia no.

    Nws los rau kuv zoo.

  20.   Predatux said

    Nyob zoo txhua tus, Kuv xav paub yog tias muaj cov lus txib kom paub cov ntu ntawm daim foos (0,2), (4,3), thiab lwm yam.
    Kuv muaj teeb meem me ntsis pib Remix OS los ntawm kev faib tawm ntawm sde6 nyuaj tsav, uas kuv nkag siab yog (4,6), tab sis khau raj nco ntsoov ua rau kuv hais tias nws tsis raug.

    Ua tsaug thiab zoo tshaj plaws.

  21.   Diego said

    Nyob zoo txhua tus, Kuv xav nug koj li hauv qab no, kuv muaj lub computer uas kuv muaj virtualized linux thiab ib qho ntawm cov disks uas nws tau teeb tsa kuv yuav tsum muab tawm ntawm qhov chaw uas muaj, ntawd tsis ua li cas tab sis kuv yuav tsum txuas lub faib vim tias ntawm linux koj tseem tuaj yeem pom qhov chaw nyob yav dhau los uas kuv muaj thiab tsis yog qhov chaw tshiab, yog li kuv nkag siab tias koj yuav tsum txuas lub ntu kom qhov cuam tshuam tom qab thaum koj mount nws dua ntawm Linux. Lub ntsiab lus yog tias kuv muaj thaub qab rau ntawd thiab kuv yuav tsum tsis txhob plam cov ntaub ntawv los ntawm qhov ntawd. Koj puas tuaj yeem pab kuv los ntawm qhia kuv tias qhov twg yog qhov tseeb hais kom nthuav tawm cov kev faib tawm txij li nws mus los ntawm muaj 128 GB rau 1 TB, thiab thaum ua tiav lawm, muab nws tso rau ntawm linux. Cov hom muab faib tshwm rau kuv ua ext3, Kuv tos koj cov lus, Ua tsaug ua ntej.