首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

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

2012-02-06 
suse11 如何查看硬盘的数目,以及每个硬盘的格式、大小、挂载点?suse11 如何查看硬盘的数目,以及每个硬盘的格

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

热点排行