Using Disks and Other Storage Media Next: Two kinds of devices
Up: Linux System Administrators' Guide Previous: The /proc filesystemUsing Disks and Other Storage MediaOn a clear disk you can seek forever.When you install or upgrade your system, you need to do a fair
amount of work on your disks. You have to make filesystems on
your disks so that files can be
stored on them and reserve space for the different parts of
your system.This chapter explains all these initial activities. Usually,
once you get your system set up, you won't have to go through
the work again, except for using floppies. You'll need to come
back to this chapter if you add a new disk or want to fine-tune
your disk usage.The basic tasks in administering disks are:Format your disk. This does various things to prepare it for
use, such as checking for bad sectors. (Formatting is nowadays
not necessary for most hard disks.)Partition a hard disk, if you want to use it for several
activities that aren't supposed to interfere with one another.
One reason for partitioning is to store different operating
systems on the same disk. Another reason is to keep user
files separate from system files, which simplifies back-ups
and helps protect the system files from corruption.Make a filesystem (of a suitable type) on each disk or partition.
The disk means
nothing to Linux until you make a filesystem; then files can
be created and accessed on it.Mount different filesystems to form a single tree structure, either
automatically, or manually as needed. (Manually mounted filesystems
usually need to be unmounted manually as well.)Chapter 5 contains information about virtual memory
and disk caching, of which you also need to be aware when using
disks.This chapter explains what you need to know for hard disks,
floppies, CD-ROM's, and tape drives. Two kinds of devicesHard disksFloppiesCD-ROM'sTapesFormattingPartitionsThe MBR, boot sectors and partition tableExtended and logical partitionsPartition typesPartitioning a hard diskDevice files and partitionsFilesystemsWhat are filesystems?Filesystems galoreWhich filesystem should be used?Creating a filesystemMounting and unmountingChecking filesystem integrity with fsckChecking for disk errors with badblocksFighting fragmentationOther tools for all filesystemsOther tools for the ext2 filesystemDisks without filesystemsAllocating disk spacePartitioning schemesSpace requirementsExamples of hard disk allocationAdding more disk space for LinuxTips for saving disk space Next: Two kinds of devices
Up: Linux System Administrators' Guide Previous: The /proc filesystemLars WirzeniusSat Nov 15 02:32:11 EET 1997
Wyszukiwarka
Podobne podstrony:
node288 2I5D2N5RZRB6CGYEMZRHQCC7ATOUO3IRSOX574Qnode282 WOVP4BK63MCGNM5GTHT3EEHALDUBFYJD4USEYBInode284 32VLTUD5CYE3KTEH2TFABQIRF27HE4C27KLHZ6Ynode28 PKGCYJXJI5EANQDANU752M6HF646JXMM7AS4XHAnode281 DCENVS4LIUWKF7REGZCZXAOFCLUIXMLV3S3XDRYnode28node283 TV2JNOLYIKW3V6KKIYBUMQKCHOSEJY25YB2QWPQnode287 TIIPRQU5MEOY6QZ7C2ZOE5NXBHNUZONKBFFTVGAnode28node28 OXUPJNFXUT2I2PDQ2EVXKR3RSP5N5AFSB2JWRZInode285 S723HOGRZ7UQCUBD44SASX6UAC57PN54RZO3UGAnode289 WA5XXFEHCW2F2LFAY5I73B6RP32YV6PBKXZV6VYnode280 IPZIWUD7GZ2FGPDFXDGFKSPQ6WZ7WJSX5GK4ZGQnode28node286 WMY2LOWEUT5INMKWDK6UUXHFFD2AGJMN2ZXTQ6Ynode28node28więcej podobnych podstron