Partitioning in action Part 2分析和总结分析和总结.docxVIP

  • 0
  • 0
  • 约8.45千字
  • 约 6页
  • 2023-04-24 发布于上海
  • 举报

Partitioning in action Part 2分析和总结分析和总结.docx

Disclaimer : Disclaimer : The original version of this article was first published on IBM developerWorks, and is property of Westtech Information Services. This document is an updated version of the original article, and contains various improvements made by the Gentoo Linux Documentation team. This document is not actively maintained. Partitioning in action, Part 2 Content: Consolidating data Introduction In my last tip, we successfully moved /home to a new partition. Now, its time to learn how to consolidate often-modified files onto a new partition. Why would we want to do this? Heres an example. Often-modified files contribute heavily to fragmentation. One of the best ways to contain fragmentation is to store often-modified files on their own partition. That way, the other partitions are unaffected by the fragmentation caused by the heavily modified files. In concept, this is easy to understand, but how do you actually go about doing it? First, you must create a new partition for the specific purpose of storing frequently modified files. You might want to locate this partition on a separate disk to enhance performance. Then, Ill walk you through the steps required to move both /tmp and /var to this new partition. Warning: Warning: The following technique describes how to move a partition(s). Although this technique is designed so that you can back out of a failed partition move, it doesnt protect against user error. In other words, any time that you format partitions or copy large numbers of files, theres a possibility that you will type the wrong thing, causing lots of data to be destroyed. For this reason, its highly recommended that you take appropriate steps to back up all critical files before proceeding. Create a filesystem on the new partition The first step of this process is to create a new partition thats big enough to hold /var and /tmp, with a little extra space left over. Youll need either an additional drive, or a spare (unused) partition that wi

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档