该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
感觉RHEL7跟大家的系统好不一样,好多东西我在书上都找不到。
最近在学习分区和文件系统挂载。我知道了/dev/sda1是/boot,但是我不知道/dev/sda2里面是什么。而且fdisk -l命令显示内容多了一些东西,能看明白,但是找不到/dev/sda2
有晓得的同学能帮我看下/dev/sda2的结构么?
[root@localhost /]# uname -a
Linux localhost.localdomain 3.10.0-123.el7.x86_64 #1 SMP Mon May 5 11:16:57 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost /]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@localhost /]# fdisk -l
Disk /dev/sda: 250.1 GB, 250059350016 bytes, 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000a91b7
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1026047 512000 83 Linux
/dev/sda2 1026048 486410239 242692096 8e Linux LVM
Disk /dev/mapper/rhel-root: 87.0 GB, 87031808000 bytes, 169984000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/rhel-swap: 4194 MB, 4194304000 bytes, 8192000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/rhel-home: 157.3 GB, 157286400000 bytes, 307200000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@localhost /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/rhel-root 82G 4.7G 77G 6% /
devtmpfs 871M 0 871M 0% /dev
tmpfs 881M 0 881M 0% /dev/shm
tmpfs 881M 8.8M 872M 1% /run
tmpfs 881M 0 881M 0% /sys/fs/cgroup
/dev/mapper/rhel-home 147G 367M 147G 1% /home
/dev/sda1 497M 122M 376M 25% /boot