1. [root@zookeeper1 ~]# free
    2. total used free shared buff/cache available
    3. Mem: 3863564 199312 3475688 11880 188564 3428644
    4. Swap: 4063228 0 4063228
    5. [root@zookeeper1 ~]# cat /proc/cpuinfo | grep svm
    6. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc art rep_good nopl tsc_reliable nonstop_tsc extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero ibpb arat npt svm_lock nrip_save vmcb_clean flushbyasid decodeassists pku ospke overflow_recov succor
    7. flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc art rep_good nopl tsc_reliable nonstop_tsc extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero ibpb arat npt svm_lock nrip_save vmcb_clean flushbyasid decodeassists pku ospke overflow_recov succor
    8. [root@zookeeper1 ~]# mkfs.ext4 /dev/sdb
    9. mke2fs 1.42.9 (28-Dec-2013)
    10. /dev/sdb is entire device, not just one partition!
    11. Proceed anyway? (y,n) y
    12. Filesystem label=
    13. OS type: Linux
    14. Block size=4096 (log=2)
    15. Fragment size=4096 (log=2)
    16. Stride=0 blocks, Stripe width=0 blocks
    17. 3276800 inodes, 13107200 blocks
    18. 655360 blocks (5.00%) reserved for the super user
    19. First data block=0
    20. Maximum filesystem blocks=2162163712
    21. 400 block groups
    22. 32768 blocks per group, 32768 fragments per group
    23. 8192 inodes per group
    24. Superblock backups stored on blocks:
    25. 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    26. 4096000, 7962624, 11239424
    27. Allocating group tables: done
    28. Writing inode tables: done
    29. Creating journal (32768 blocks): done
    30. Writing superblocks and filesystem accounting information: done
    31. root@zookeeper1 ~]# blkid /dev/sdb
    32. /dev/sdb: UUID="4c752ad1-cc63-4542-9f03-65a139253c31" TYPE="ext4"
    33. [root@zookeeper1 ~]# mkdir /kvm_data
    34. [root@zookeeper1 ~]# mount /dev/sdb /kvm_data/
    35. [root@zookeeper1 ~]# vim /etc/fstab
    36. /dev/sdb /kvm_data ext4 defaults 0 0
    37. [root@zookeeper1 ~]# systemctl stop firewalld
    38. [root@zookeeper1 ~]# systemctl disable firewalld
    39. [root@zookeeper1 ~]# iptables -nvL
    40. Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
    41. pkts bytes target prot opt in out source destination
    42. Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    43. pkts bytes target prot opt in out source destination
    44. Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
    45. pkts bytes target prot opt in out source destination