linux中cat dev sda,我就是想知道/dev/sda2里面的结构。。。TAT

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

感觉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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值