Chinaunix首页 | 论坛 | 博客
  • 博客访问: 749090
  • 博文数量: 215
  • 博客积分: 291
  • 博客等级: 二等列兵
  • 技术积分: 1031
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-12 18:17
文章分类

全部博文(215)

文章存档

2016年(16)

2015年(16)

2014年(123)

2013年(60)

分类: LINUX

2014-05-08 14:28:58

/* 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


阅读(891) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~