# Boot Volume 查看磁盘信息
- lsblk
# 进行分区
- parted fixed partition
- fdisk /dev/sda
- reboot
- mkfs -t ext4 /dev/sda4
- mount /dev/sda4 /u01
- mkdir /u01/home
- cp -R /home/opc /u01/home
- chown -R opc:opc /u01/home/opc
- usermod -d /u01/home/opc opc
- fstab /dev/sda4 /u01 ext4 defaults 0 0
# usermode: user opc is currently used by process
- you must kill currently used process first. But this process probably is your SSH connection. So, in this case you need to run this commands on nohup.
- nohup kill 23795;sleep 2; usermod -d /u01/home/opc opc&
# VM 修改hostname
# oci 打开ping功能
0.0.0.0/0 ICMP 8 ICMP traffic for: 8 Echo