根分区预留不宽裕,du -sh /home 发现home分区占比较大,于是将home目录迁移到新的分区
#添加硬盘后触发扫描
echo '- - -' > /sys/class/scsi_host/host2/scan
[389][root@liyong: etc]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 40G 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 39G 0 part
├─cl-root 253:0 0 35.1G 0 lvm /
└─cl-swap 253:1 0 3.9G 0 lvm [SWAP]
sdb 8:16 0 100G 0 disk
sr0 11:0 1 7.7G 0 rom
#分区
gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present
Creating new GPT entries.
Command (? for help): p
Disk /dev/sdb: 209715200 sectors, 100.0 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): AAB88154-BBA6-4134-9D99-E2168AF3B8F6
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 209715166
Partitions will be aligned on 2048-sector boundaries
Total fre