最近使用netapp%20的disk%20array,%20了解下相关磁盘查看的命令。
->%20/usr/sbin/pvs
PV%20VG%20Fmt%20Attr%20PSize%20PFree
disk /dev/mapper/vg_livecd-lv_root doesn't contain a validpartition table。disk /dev/mapper/vg_livecd-lv_swap doesn't contain a validpartition table。[root@kaola mapper]# resize2fs /dev/mapper/vg_kaola-lv_root。
-> /usr/bin/lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.1T 0 disk
|-sda1 8:1 0 6G 0 part /
|-sda2 8:2 0 6G 0 part
|-sda3 8:3 0 1K 0 part
|-sda5 8:5 0 2G 0 part /var
|-sda6 8:6 0 2G 0 part
|-sda7 8:7 0 4G 0 part [SWAP]
|-sda8 8:8 0 64G 0 part
稍后查看下每一项输出的定义
上一个教程:Linux:PS命令详解与使用
下一个教程:Linux wc命令详解