Red_Hat_Enterprise_Linux-7-Storage_Administration_Guide-en-US.pdf
(
6250 KB
)
Pobierz
Red Hat Enterprise Linux 7
Storage Administration Guide
Deploying and configuring single-node storage in Red Hat Enterprise
Linux 7
Red Hat Subject Matter ExpertsJosef Bacik
Kamil Dudka
Hans de Goede
Doug Ledford
Daniel Novotny
David Wysochanski
Contributors
Sachin Prabhu
Rob Evers
David Lehman
Jeff Moyer
Mike Snitzer
Harald Hoyer
Nathan Straz
Michael Christie
David Howells
Eric Sandeen
Red Hat Enterprise Linux 7 Storage Administration Guide
Deploying and configuring single-node storage in Red Hat Enterprise
Linux 7
Jo sef Bacik
Server Develo pment Kernel File System
jwhiter@redhat.co m
Disk Quo tas
Kamil Dudka
Base Operating System Co re Services - BRNO
kdudka@redhat.co m
Access Co ntro l Lists
Hans de Go ede
Base Operating System Installer
hdego ede@redhat.co m
Partitio ns
Harald Ho yer
Engineering So ftware Engineering
harald@redhat.co m
File Systems
Do ug Ledfo rd
Server Develo pment Hardware Enablement
dledfo rd@redhat.co m
RAID
Daniel No vo tny
Base Operating System Co re Services - BRNO
dno vo tny@redhat.co m
The /pro c File System
Nathan Straz
Quality Engineering QE - Platfo rm
nstraz@redhat.co m
GFS2
David Wyso chanski
Server Develo pment Kernel Sto rage
dwyso cha@redhat.co m
LVM/LVM2
Michael Christie
Server Develo pment Kernel Sto rage
mchristi@redhat.co m
Online Sto rage
Sachin Prabhu
So ftware Maintenance Engineering
sprabhu@redhat.co m
NFS
Ro b Evers
Server Develo pment Kernel Sto rage
revers@redhat.co m
Online Sto rage
Legal Notice
David Ho wells
Copyright © 2013 Red Hat Inc. and others.
Server Develo pment Hardware Enablement
dho wells@redhat.co m
T his document is licensed by Red Hat under the
Creative Commons Attribution-ShareAlike 3.0 Unported
FS-Cache
License.
If you distribute this document, or a modified version of it, you must provide attribution to Red
Hat, Inc. and
David Lehman
provide a link to the original. If the document is modified, all Red Hat trademarks must be
Base Operating System Installer
removed.
4d of CC-BY-SA to the fullest extent permitted by applicable law.
Jeff Mo yer
dlehman@redhat.co m
Sto rage co
as the licensor of this document, waives the right to enforce, and agrees not to assert, Section
Red Hat,
nfiguratio n during installatio n
Server Develo pment Kernel File System
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo,
jmo yer@redhat.co m
and RHCE
Disks
trademarks of Red Hat, Inc., registered in the United States and other countries.
So lid-State
are
Eric Sandeen
Linux ® is the registered trademark of Linus T orvalds in the United States and other countries.
Server Develo pment Kernel File System
esandeen@redhat.co m
trademark of Oracle and/or its affiliates.
Java ® is a registered
ext3, ext4 , XFS, Encrypted File Systems
XFS
Snitzer
trademark of Silicon Graphics International Corp. or its subsidiaries in the United States
® is a
Mike
and/or
Develo pment Kernel Sto rage
Server
other countries.
msnitzer@redhat.co m
MySQL ® is
Limits
I/O Stack and
a registered trademark of MySQL AB in the United States, the European Union and other
countries.
Red Hat Subject Matter Experts
Node.js ® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or
Co ntributo rs
endorsed by the official Joyent Node.js open source or commercial project.
Edited by
T he OpenStack ® Word Mark and OpenStack Logo are either registered trademarks/service marks or
Jacquelynn East
trademarks/service marks of the OpenStack Foundation, in the United States and other countries and
Engineering Co ntent
OpenStack Foundation's permission. We are not affiliated with, endorsed or
are used with the
Services
jeast@redhat.co m
sponsored by the OpenStack Foundation, or the OpenStack community.
Do n Do mingo
All other trademarks are the property of their respective owners.
Engineering Co ntent Services
ddo mingo @redhat.co m
Abstract
T his guide provides instructions on how to effectively manage storage devices and file systems on Red
Hat Enterprise Linux 7. It is intended for use by system administrators with basic to intermediate
knowledge of Red Hat Enterprise Linux or Fedora.
Table of Contents
Table of Contents
C . . . . . . . Overview
. .hapter. 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
.
1.1. What's New in Red Hat Enterprise Linux 7
7
eCryptfs . . . . . . . . .
. . . . . . . . .not. included. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
.
System Storage . . . . . . . .
. . . . . . . . . . . . . . . Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
.
XFS is the . . . . . . . . . System
. . . . . . . . . .default .File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
.
File . . . . . . . . . . . . . . . .
. . . . system. restructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
.
Snapper
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7. . . . . . . .
.
BT . . . . . . . . . . . . . . . . . . . . .
. . . RFS. (T echnology .Preview). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
.
NFSv2 . . longer . . . . . . . . .
. . . . . . .no . . . . . . .supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
.
P . . . . . . . . . . . . .
. .art .I. File. Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 . . . . . . . .
.
C . . . . . . . File . . . . . . . . . . . . . . . and . . . . . . . . . . .
. .hapter. 2. . . . . System Structure. . . . . Maintenance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 . . . . . . . .
.
2.1. Why Share a Common Structure?
9
2.2. Overview of Filesystem Hierarchy Standard (FHS)
9
2.3. Special Red Hat Enterprise Linux File Locations
16
2.4. T he /proc Virtual File System
17
2.5. Discard unused blocks
17
C . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. .hapter. 3. Btrfs. (T echnology.Preview). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 . . . . . . . .
..
3.1. Creating a btrfs File System
19
3.2. Mounting a btrfs file system
19
3.3. Resizing a btrfs file system
20
Enlarging a . . . . . . . . . . . . .
. . . . . . . . . . . btrfs.File .System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 . . . . . . . .
..
Shrinking a . . . . . . . System
. . . . . . . . . . . btrfs .File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 . . . . . . . .
..
Set . . . File . . . . . . . Size
. . . . the . . . . System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 . . . . . . . .
..
3.4. Integrated Volume Management of Multiple Devices
21
3.5. SSD Optimization
25
3.6. btrfs references
26
C . . . . . . T . . Ext3 . . . . . . . . .
. .hapter. 4 . . .he . . . . . File .System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 . . . . . . . .
..
4 .1. Creating an Ext3 File System
28
4 .2. Converting to an Ext3 File System
28
4 .3. Reverting to an Ext2 File System
29
C . . . . . . . T . Ext4 . . . . . . . . .
. .hapter. 5. . .he. . . . . . File .System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 . . . . . . . .
..
5.1. Creating an Ext4 File System
32
5.2. Mounting an Ext4 File System
33
Write . . . . . . .
. . . . . .Barriers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 . . . . . . . .
..
5.3. Resizing an Ext4 File System
34
5.4. Other Ext4 File System Utilities
34
C . . . . . . . T . XFS File . . . . . . .
. .hapter. 6. . .he. . . . . . . . . System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 . . . . . . . .
..
6.1. Creating an XFS File System
37
6.2. Mounting an XFS File System
38
Write . . . . . . .
. . . . . .Barriers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 . . . . . . . .
..
6.3. XFS Quota Management
38
1
Plik z chomika:
sergei33
Inne pliki z tego folderu:
Red_Hat_Enterprise_Linux-7-Logical_Volume_Manager_Administration-en-US.pdf
(7564 KB)
Red_Hat_Enterprise_Linux-7-Developer_Guide-en-US.pdf
(5614 KB)
Red_Hat_Enterprise_Linux-7-Desktop_Migration_and_Administration_Guide-en-US.pdf
(3097 KB)
Red_Hat_Enterprise_Linux-7-DM_Multipath-en-US.pdf
(1378 KB)
Red_Hat_Enterprise_Linux-7-Global_File_System_2-en-US.pdf
(1972 KB)
Inne foldery tego chomika:
Notes
Zgłoś jeśli
naruszono regulamin