前不久买的sys 4T 用面板自带的centos装系统后根目录大小只有20G,但mysql是在根目录,目前已经挤满了
网上看到的扩容都是写lvm的,linux新手实在找不到办法,求大牛点解
求挂载或合并方法 (在不损坏mysql数据的情况)
20G根目录
1.8T挂在/home/
2T未挂载
[root@ns327 ~]# fdisk -l
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 3C6B8814-B838-43AC-9462-334FBA971105
# Start End Size Type Name
1 40 2048 1004.5K BIOS boot parti bios_grub-sda
2 4096 40962047 19.5G Linux RAID primary
3 40962048 3905974271 1.8T Linux RAID primary
4 3905974272 3907020799 511M Linux swap primary
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 099A1151-F420-4CE0-9C88-154CCCEAAAEF
# Start End Size Type Name
1 40 2048 1004.5K BIOS boot parti bios_grub-sdb
2 4096 40962047 19.5G Linux RAID primary
3 40962048 3905974271 1.8T Linux RAID primary
4 3905974272 3907020799 511M Linux swap primary
Disk /dev/md3: 1978.9 GB, 1978886193152 bytes, 3865012096 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 21.0 GB, 20970405888 bytes, 40957824 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
|