阿里云CentOS 7.5添加新磁盘
由于之前阿里云服务器空间快满了,需要新增一块磁盘,现将操作步骤记录如下: 登陆阿里云,创建一块云盘,创建成功后,“云盘状态” 为“使用中”: 登陆CentOS系统,运行 fdisk -l [ root@iZ8vb2zp3hb2pskrfnjcrbZ ~ ] # fdisk -l .. . 磁盘 /dev/vdb:107.4 GB, 107374182400 字节,209715200 个扇区 .. . 找到对应的磁盘字符节点 /dev/vdb 使用fdisk命令对磁盘进行分区 [ root@iZ8vb2zp3hb2pskrfnjcrbZ ~ ] # fdisk /dev/vdb .. . 命令操作 a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition g create a new empty GPT partition table G create an IRIX ( SGI ) partition table l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p