Commit b7e65c61 authored by Tobias Stein's avatar Tobias Stein
Browse files

Add info about filesystems

parent 01b8ab35
......@@ -374,11 +374,12 @@ lvresize -l +100%FREE $LOG_VOL
Features
\begin{itemize}
\setlength\itemsep{0em}
\item Copy on write
\item Online resizeable
\item Multidisk-support (Offers RAID 0,1,10,5,6)
\item Redirect on write filesystem
\item Online grow and shrink
\item Multidisk-support (Offers JBOD, RAID 0,1,10,5,6)
\item Offers subvolumes and snapshots
\item compression, out-of-band deduplication (\texttt{duperemove})
\item Quota support on subvolume level
\item Compression, out-of-band deduplication (\texttt{duperemove})
\end{itemize}
\subsection{xfs}
......@@ -386,29 +387,79 @@ Features
Features
\begin{itemize}
\setlength\itemsep{0em}
\item Not shrinkable
\item Online grow, not shrinkable
\item Fast, no slow recovery
\item Original btree-fs
\end{itemize}
\subsection{ext4}
\subsection{ext3}
Features
\begin{itemize}
\setlength\itemsep{0em}
\item Shrinkable (offline)
\item Classical extendbased, journaling filesystem
\item Shrinkable (offline), Growable (online)
\item journaling filesystem
\item indirect, block mapping (lists of blocks)
\item inode size 128bit
\item Offers fs-crypto
\item 32bit block addressing
\begin{itemize}
\item maximum filesystem size: 16 TiB
\item maximum file size: 2 TiB
\item maximum possible number of sub directories in a single directory: 32000
\end{itemize}
\end{itemize}
\subsection{ext4}
\section{S.M.A.R.T.}
Features
\begin{itemize}
\setlength\itemsep{0em}
\item Shrinkable (offline), Growable (online)
\item journaling filesystem with fast fsck and checksumming
\item online defragmentation \texttt{e4defrag}
\item Larger inode size 256bit, nanosecond timestamps, fast extended attributes, inodes reservation
\item extend based (contiguous physical blocks)
\begin{itemize}
\item more efficient and faster
\item less fragmentation
\end{itemize}
\item Offers fs-crypto
\item 48-bit block addressing
\begin{itemize}
\item maximum possible number of sub directories in a single directory: unlimited
\item maximum filesystem size: 1 EiB
\item maximum file size: 16 TiB
\end{itemize}
\end{itemize}
\section{S.M.A.R.T.}
\section{Analyse Diskusage}
\subsection{Find large files}
Tools
\begin{itemize}
\item \texttt{ncdu} (ncurses)
\item \texttt{baobab}
\item \texttt{du}
\end{itemize}
Some useful commands
\begin{verbatim}
### list directory (long, sort by size, human-readable, reverse)
ls -lShr
### Show disk usage of every element in the current directory
### (summary, human-readable, don't cross fs boundaries,
### sort by size)
du -hsx * |sort -h
### Create tape-archive and compress it in parallel
tar cf - SOURCE_DIR1 SOURCE_DIR2 \
|pigz -c > /var/backups/backup_$(date +%F).tar.gz
\end{verbatim}
% \section{Document classes}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment