专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Linux/Unix

suse11 怎么查看硬盘的数目,以及每个硬盘的格式、大小、挂载点

发布时间:2011-06-27 17:42:18 文章来源:www.iduyao.cn 采编人员:星星草
suse11 如何查看硬盘的数目,以及每个硬盘的格式、大小、挂载点?
suse11 如何查看硬盘的数目,以及每个硬盘的格式、大小、挂载点?
如题。方法或者命令都行。谢了!

------解决方案--------------------
fdisk -l
smartctl
hdparm
cat /proc/partitions
mount
...
X-Window下应该有设备管理器之类的东西吧?
------解决方案--------------------
[root@RHEL6B ~]# fdisk -l

Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 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: 0x0007c6c1

Device Boot Start End Blocks Id System
/dev/sda1 * 1 32 256000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 32 294 2097152 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sda3 294 3917 29103104 83 Linux
[root@RHEL6B ~]# df -h
文件系统 容量 已用 可用 已用%% 挂载点
/dev/sda3 28G 12G 15G 43% /
tmpfs 590M 0 590M 0% /dev/shm
/dev/sda1 243M 37M 194M 16% /boot
.host:/ 69G 66G 2.7G 97% /mnt/hgfs
------解决方案--------------------
df / 
fdisk -l
cat /etc/fstab
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: