全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 12196|回复: 2

[Windows VPS] 关于分区问题

[复制链接]
发表于 2017-10-1 02:17:05 | 显示全部楼层 |阅读模式
300金钱
前不久买的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


最佳答案

查看完整内容

不如把mysql的目录移动到/home下面去还简单易操作点,网上的教程也比较多,比如 http://**blogs.com/awinlei/archive/2013/03/14/2958777.html
发表于 2017-10-1 02:17:06 | 显示全部楼层
不如把mysql的目录移动到/home下面去还简单易操作点,网上的教程也比较多,比如 http://**blogs.com/awinlei/archive/2013/03/14/2958777.html
发表于 2017-10-1 07:50:05 | 显示全部楼层
我都是boot分区跟SWAP分区分完了之后,直接全部分给/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-6-4 13:43 , Processed in 0.062161 second(s), 6 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表