Skip to content

Commit 64801ca

Browse files
author
Vladimir Kotal
committed
translate the fsck slide
1 parent 66c8942 commit 64801ca

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

files.tex

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -507,39 +507,38 @@
507507
\pdfbookmark[1]{filesystem consistency check and repair}{fsck}
508508

509509
\begin{slide}
510-
\sltitle{Oprava konzistence souborového systému}
510+
\sltitle{Filesystem consistency check and repair}
511511
\setlength{\baselineskip}{0.8\baselineskip}
512512
\begin{itemize}
513513
\setlength{\itemsep}{0ex}
514-
\item pokud není filesystém před zastavením systému korektně
515-
odpojen, mohou být data v nekonzistentním stavu.
516-
\item ke kontrole a opravě svazku slouží příkaz \texttt{fsck}.
517-
Postupně testuje možné nekonzistence:
514+
\item If a filesystem is not correctly unmounted before the system is halted,
515+
the data can be inconsistent.
516+
\item The \texttt{fsck} command is used to check and correct file system.
517+
It tests progressively tests possible inconsistencies:
518518
\begin{itemize}
519519
\setlength{\itemsep}{0ex}
520-
\item vícenásobné odkazy na stejný blok
521-
\item odkazy na bloky mimo rozsah datové oblasti systému souborů
522-
\item špatný počet odkazů na i-uzly
523-
\item nesprávná velikost souborů a adresářů
524-
\item neplatný formát i-uzlů
525-
\item bloky které nejsou obsazené ani volné
526-
\item chybný obsah adresářů
527-
\item neplatný obsah superbloku
520+
\item multiple references to the same block
521+
\item references to blocks outside of data region of given file system
522+
\item incorrect number of inode references
523+
\item incorrect size of files and directories
524+
\item invalid inode format
525+
\item blocks that are neither used or free
526+
\item invalid directory contents
527+
\item invalid superblock contents
528528
\end{itemize}
529-
\item operace \texttt{fsck} je časově náročná.
530-
\item žurnálové (např. XFS v IRIXu, Ext3 v Linuxu) a transakční (ZFS)
531-
systémy souborů nepotřebují \texttt{fsck}.
529+
\item the \texttt{fsck} operation is time consuming.
530+
\item journaling (e.g. XFS in IRIXu, Ext3 in Linux) a transactional (ZFS)
531+
filesystems do not need \texttt{fsck}.
532532
\end{itemize}
533533
\end{slide}
534534

535535
\begin{itemize}
536-
\item data se přepisují na disky z vyrovnávacích pamětí se
537-
zpožděním. Uložení všech vyrovnávacích pamětí lze vynutit systémovým
538-
voláním \texttt{sync()}. Periodicky vyrovnávací paměti ukládá
539-
zvláštní systémový proces (démon).
540-
\item \texttt{fsck} kontroluje pouze metadata. pokud došlo k poruše dat
541-
samotných, nepozná to, natož aby s tím něco mohl udělat.
542-
\item zde je ukázka \texttt{fsck} na \emsl{odpojený} filesystém:
536+
\item The data is written to the drives from the memory with some delay.
537+
To save all file system buffers the \texttt{sync()} syscall can be used.
538+
The buffers are saved periodically by special system process (or daemon).
539+
\item The \texttt{fsck} command only checks metadata. If a data corruption
540+
happened it cannot tell, let alone do something about it.
541+
\item Exaple of \texttt{fsck} run on \emsl{unmounted} filesystem:
543542
\begin{verbatim}
544543
toor@shewolf:~# fsck /dev/ad0a
545544
** /dev/ad0a

0 commit comments

Comments
 (0)