当前位置: 技术问答>linux和unix
suse11 如何查看硬盘的数目,以及每个硬盘的格式、大小、挂载点?
来源: 互联网 发布时间:2017-01-22
本文导语: suse11 如何查看硬盘的数目,以及每个硬盘的格式、大小、挂载点? 如题。方法或者命令都行。谢了! | fdisk -l smartctl hdparm cat /proc/partitions mount ... X-Window下应该有设备管理器之类的东西吧?...
suse11 如何查看硬盘的数目,以及每个硬盘的格式、大小、挂载点?
如题。方法或者命令都行。谢了!
如题。方法或者命令都行。谢了!
|
fdisk -l
smartctl
hdparm
cat /proc/partitions
mount
...
X-Window下应该有设备管理器之类的东西吧?
smartctl
hdparm
cat /proc/partitions
mount
...
X-Window下应该有设备管理器之类的东西吧?
|
df /
fdisk -l
cat /etc/fstab
fdisk -l
cat /etc/fstab
|
[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
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