查看Linux分区格式
2024-08-28 23:28:59
第一种方法: 使用mount
[root@ol6-121-rac1 ~]# mount
/dev/mapper/vg_ol6121rac1-lv_root on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
/dev/sr0 on /media/OL6.4 x86_64 Disc 1 20130225 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=0,gid=0,iocharset=utf8,mode=0400,dmode=0500)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
/dev/sr0 on /media/OL6.4 x86_64 Disc 1 20130225 type iso9660 (ro,nosuid,nodev,uhelper=udisks,uid=0,gid=0,iocharset=utf8,mode=0400,dmode=0500)
第二种方法:使用parted ---> p
[root@ol6-121-rac1 ~]# parted
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 12.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 12.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4 boot
2 525MB 12.9GB 12.4GB primary lvm
第三种方法:df命令
[root@ol6-121-rac1 ~]# df -lhT
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/vg_ol6121rac1-lv_root
ext4 9.4G 3.9G 5.1G 43% /
tmpfs tmpfs 499M 100K 499M 1% /dev/shm
/dev/sda1 ext4 485M 55M 405M 12% /boot
/dev/sr0 iso9660 3.5G 3.5G 0 100% /media/OL6.4 x86_64 Disc 1 20130225
/dev/mapper/vg_ol6121rac1-lv_root
ext4 9.4G 3.9G 5.1G 43% /
tmpfs tmpfs 499M 100K 499M 1% /dev/shm
/dev/sda1 ext4 485M 55M 405M 12% /boot
/dev/sr0 iso9660 3.5G 3.5G 0 100% /media/OL6.4 x86_64 Disc 1 20130225
最新文章
- the import android cannot be resolved
- PHP数组函数: array_walk()
- Sharepoint学习笔记—习题系列--70-576习题解析 -(Q36-Q39)
- ecshop Admin后台删除(Ajxa删除,无跳转连接)
- sql2008日志文件截断
- CSS3魔法堂:背景渐变(Gradient)
- HDU 5389 Zero Escape
- sqlserver 大文件脚本执行
- jvm 漫谈 笔记
- 关于ligerui 中 grid 表格的扩展搜索功能在远程数据加载时无法使用的解决办法
- java新手笔记22 接口示例2
- BZOJ 1717: [Usaco2006 Dec]Milk Patterns 产奶的模式
- 使用min-device-pixel-ratio媒体功能实现真正的1像素border
- FTP服务器配置和管理
- chrome下调试安卓app 之 ionic
- Class 'com.mchange.v2.c3p0.ComboPooledDataSource' not found [config set
- (转)【深度长文】循序渐进解读Oracle AWR性能分析报告
- js 报错检查顺序
- MySQL数据库以及其Python用法
- Debian 8 Jessie desktop on arm