linux下查看所有磁盘状态命令为:lsblk
[[email protected] lamp]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 50G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 0 49.5G 0 part ├─VolGroup-lv_root (dm-0) 253:0 0 45.6G 0 lvm / └─VolGroup-lv_swap (dm-1) 253:1 0 4G 0 lvm [SWAP] sdb 8:16 0 170G 0 disk sr0 11:0 1 1024M 0 rom
时间: 2024-10-20 15:46:00