您仍然需要调整文件系统和包的层次结构。
You still have to coordinate the filesystem hierarchy and the package hierarchy.
下面尝试使用前面提到的resize2fs实用工具来调整文件系统的大小(请参见清单7)。
Now try to resize the filesystem using the resize2fs utility referenced earlier (see Listing 7).
如果不使用大小选项,所有这些工具将调整文件系统来填满逻辑卷大小,在增加一个逻辑卷时这是很方便的。
When used without size options, these tools all resize the file system to fill the new logical volume size, which is convenient when growing a logical volume.
首先您必须调整文件系统大小(使用resize2fs或者类似工具),然后缩小逻辑卷来匹配新的大小。
You must first resize the file system (using resize2fs or similar tools) and then shrink the logical volume to match the new size.
然而,您要记住多数文本模式工具要么可以调整分区,要么可以调整文件系统大小,但是不能两个同时调整;您必须将两种工具合并到一起来调整一个分区及其文件系统。
Keep in mind, however, that most text-mode tools resize either partitions or file systems, but not both; you must combine both types of tools to resize a partition and its file system.
为了调整文件系统,您必须使用一个特定文件系统工具。比如resize2fs、resizereiserfs、xfs_growfs或者挂载JournaledFileSystem (JFS)时的resize挂载选项。
To adjust the file system, you must use a file system-specific tool, such as resize2fs, resizereiserfs, xfs_growfs, or the resize mount option when mounting Journaled file system (JFS).
调整失败一个常见的原因是文件系统被损坏。
One common cause of resizing failures is a damaged file system.
如果您调整过该文件系统,扇区列表将会无效,导致GRUB不能启动。
If you ever adjust that file system, the sector list may become invalid, resulting in GRUB's inability to boot.
当然,只有文件系统中存在空间让容器增长,自动调整大小组件才开始起作用。
Of course, the auto-resize component will only kick in if there is space in the file system for the container to grow.
虽然在Linux中对分区和文件系统的管理与Windows中有很多类似之处,但是从驱动器字母过渡到完全的分层树可能还需要作一些调整。
Though there are many similarities in how Windows and Linux handle partitions and file systems, moving from drive letters to a completely hierarchical tree will probably take some adjustment.
您可以使用tunefs工具或在创建文件系统时,调整保留的空闲空间的大小。
You can adjust the amount of free space that is reserved (using the tunefs tool), or when creating the file system.
按照这种方式,可以使用现有的根文件系统并根据自己的需要进行调整。
In this way, you can use an existing root file system and tailor it to your specific needs.
即使不考虑分区调整引入的危险,有时候硬盘故障,软件问题都会导致文件系统不可用。
Even aside from the risks involved in partition resizing, hard disks sometimes fail, and software problems can render file systems useless.
实际上,调整一个分区大小通常也需要调整它包含的文件系统。
In practice, resizing a partition also usually requires resizing the file system it contains.
对于文件系统,调整逻辑卷大小比调整分区大小要简单一些,因为LVM以分区的形式避免了预留相邻编号扇区集合。
For file systems, resizing logical volumes can be simpler than resizing partitions because LVM obviates the need to set aside contiguous sets of numbered sectors in the form of partitions.
这些工具可以让您用一个特殊磁盘来引导系统,并可以动态地重新调整分区和文件系统的大小。
These tools allow you to boot your system with a special disk and dynamically resize your partitions and filesystems.
现在,您即将创建调整成最佳性能的XFS测试文件系统。
Now you're ready to create a test XFS filesystem tweaked for optimal performance.
其默认的日志记录方法为预定,且支持以在线调整大小的方式扩展文件系统。
The default method for journaling is ordered and supports online resizing to grow the file system.
为解决这个问题,SGI决定设计一种全新的高性能64位文件系统,而不是试图调整EFS在先天设计上的某些缺陷。
Addressing this problem, SGI decided to design a completely new high-performance 64-bit filesystem rather than attempting to tweak EFS to do something that it was never designed to do.
注意,还可以重新挂载现有的文件系统并设置I/O 处理速率调整,这有助于调整已经在提供服务的磁盘的性能。
Note that you can also remount existing filesystems and set the I/O pacing, which can be helpful if you want to alter the performance of a disk that is already actively providing service.
GNUParted实用工具是一个例外,像它的GUI“近亲”GParted一样,同时可以调整分区及其文件系统的大小。
The GNU Parted utility is an exception to this rule; like its GUI cousin, GParted, Parted resizes partitions and their contained file systems simultaneously.
多亏了我们的mkfs . xfs和mount调整,您的新xfs文件系统比没这么调整时的性能要好得多。
Thanks to our mkfs.xfs and mount tweaks, your new XFS filesystem will perform much better than it would have otherwise.
如果使用的是reiserfs,需要获取reiserfs - utilstar文件,它包含了一个称为“ reiserfs_resize ”的程序——允许对reiserfs文件系统联机调整大小。
If you're using reiserfs, you'll want to grab the reiserfs-utils tarball, which contains a program called "reiserfs_resize" — allowing online resizing of reiserfs filesystems.
AndreasDilger参与了LinuxLVM项目,他有一个看上去不错的联机ext2文件系统大小调整器。
Andreas Dilger is involved with the Linux LVM project and has a nice-looking online ext2 filesystem resizer.
nfs4cl命令还可用于为nfsv 4文件系统设置可调整参数,仅限nfs版本3。
The nfs4cl command can also be used to set tunable parameters for NFS v4 filesystems, only NFS Version 3.
GNUParted是一个用来创建分区、删除分区、调整分区大小、检查分区以及拷贝分区和文件系统内容的工具包。
GNU Parted is a package for creating, destroying, resizing, checking, and copying partitions and the filesystems on them.
如果调整根文件系统的大小,那么只有ext3支持联机调整(这意味着不必安排维护窗口)。
If you resize your root file system, only ext3 is supported for online resizing (which means you don't have to schedule a maintenance window for the system).
该机制还可以通过调整镜像深度,以满足用户对文件系统不同级别的可靠性和可用性要求。
Moreover, the mirror depth can be adjusted (to different) levels based on the requirements of the reliability and availability.
该机制还可以通过调整镜像深度,以满足用户对文件系统不同级别的可靠性和可用性要求。
Moreover, the mirror depth can be adjusted (to different) levels based on the requirements of the reliability and availability.
应用推荐