磁盘分区centos

磁盘分区centos

我正在设置服务器来托管两个 WordPress,大小约为 70GB。我已经安装了 CentOS 作为操作系统,我想对磁盘进行分区。有什么工具可以帮助我吗?或者有人可以指导我完成这个过程吗?因为我不擅长 SSH 命令。

以下是一些可能有帮助的输出。

操作系统:CentOS 版本 6.3

fdisk -l

Disk /dev/xvdb: 214.7 GB, 214748364800 bytes
255 heads, 63 sectors/track, 26108 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000b91e0

    Device Boot      Start         End      Blocks   Id  System

Disk /dev/xvda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000e542c

    Device Boot      Start         End      Blocks   Id  System
/dev/xvda1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/xvda2              64        2611    20458496   8e  Linux LVM

Disk /dev/mapper/vg_flourish-lv_root: 16.7 GB, 16718495744 bytes
255 heads, 63 sectors/track, 2032 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/mapper/vg_flourish-lv_swap: 4227 MB, 4227858432 bytes
255 heads, 63 sectors/track, 514 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

自由度

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_flourish-lv_root
                      16070076    758184  14495560   5% /
tmpfs                   958500         0    958500   0% /dev/shm
/dev/xvda1              495844     31926    438318   7% /boot

DF-H

Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_flourish-lv_root
                       16G  741M   14G   5% /
tmpfs                 937M     0  937M   0% /dev/shm
/dev/xvda1            485M   32M  429M   7% /boot

谢谢

答案1

如果您不熟悉命令行(我非常推荐),请使用 CentOS LVM GUI 工具:system-config-lvm

可以从命令行安装:yum install system-config-lvm

相关内容