/* fdisk 可以查看磁盘的信息*/
[root@pub-host /]# fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdf77df77
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 38914 312057856 8e Linux LVM
Disk /dev/mapper/vg_pubhost-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_pubhost-lv_swap: 4160 MB, 4160749568 bytes
255 heads, 63 sectors/track, 505 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_pubhost-lv_home: 261.7 GB, 261695209472 bytes
255 heads, 63 sectors/track, 31815 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
/*df 可以查看设备挂载点*/
[root@pub-host /]# df -hl
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_pubhost-lv_root 50G 7.9G 39G 17% /
tmpfs 922M 340K 922M 1% /dev/shm
/dev/sda1 485M 40M 420M 9% /boot
/dev/mapper/vg_pubhost-lv_home 240G 3.8G 224G 2% /home
阅读(943) | 评论(0) | 转发(0) |