可以扩展 Solaris Volume Manager 卷。但是,不能缩小卷。
无论将卷用于文件系统、应用程序还是数据库,都可以扩展卷。可以扩展 RAID-0(条带化和串联)、RAID-1(镜像)卷以及 RAID-5 卷和软分区。
当现有文件系统处于使用状态时,可以串联包含该文件系统的卷。只要文件系统为 UFS 文件系统,就可以对该文件系统进行扩展(使用 growfs 命令),从而填充更大的空间。扩展文件系统时不会中断对数据的读取访问。
扩展文件系统后,由于 UFS 文件系统中的约束,不能缩小该文件系统。
使用原始设备的应用程序和数据库必须自动增加扩展空间的方法,以便应用程序可以识别它。Solaris Volume Manager 不提供此功能。
将组件添加到 RAID-5 卷时,组件将成为卷的串联体。新组件不包含奇偶校验信息。但是,新组件上的数据将受到对卷执行的整体奇偶校验计算的保护。
通过添加其他组件,可以扩展日志设备。无需运行 growfs 命令,因为在重新引导系统时 Solaris Volume Manager 可以自动识别增加的空间。
通过增加基础卷或片中的空间,可以扩展软分区。通过添加片,可以扩展所有其他卷。