欢迎来到天天文库
浏览记录
ID:20064677
大小:21.50 KB
页数:4页
时间:2018-10-09
《linux查看分区命令和根分区扩容方法》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、Linux查看分区命令和根分区扩容方法df查看文件系统磁盘空间的使用情况df[选项].[FILE]...当我们指定文件参数FILE时,将会显示该文件所在系统的信息-a显示出所有的文件系统,包括大小只有0blocks的文件系统;-h以人们容易理解的格式显示;-i显示出inode点;-l只显示本地文件系统-B显示时,指定的单位是字节-m显示时,指定的单位是MB-k显示时,指定的单位是KB-T显示文件系统类型bash-2.05$df-a/ (/dev/dsk/c1t0d0s0):
2、19983624blocks1208993files/usr (/dev/dsk/c1t0d0s6):13328590blocks1125017files[root@localhostusr]#df-h文件系统 容量已用可用已用%挂载点/dev/sda1 7.2G2.1G4.8G30%/tmpfs 253M 0253M 0%/dev/shm[root@localhostproc]#df-h/etc
3、/init.d文件系统 容量已用可用已用%挂载点/dev/sda1 7.2G2.1G4.8G30%/[root@localhostusr]#df-l文件系统 1K-块 已用 可用已用%挂载点/dev/sda1 7477228 2111168 498010030%/tmpfs 258652 0 258652 0%/dev/shm[root
4、@localhostusr]#df-B512文件系统 512B-块 已用 可用已用%挂载点/dev/sda1 14954456 4222336 996020030%/tmpfs 517304 0 517304 0%/dev/shm[root@localhostproc]#df-T文件系统 类型 1K-块 已用 可用已用%挂载点/dev/sda1 ex
5、t3 7477228 2110928 498034030%/tmpfs tmpfs 258652 0 258652 0%/dev/shmbash-2.05$df-hlFilesystem size usedavailcapacityMountedon/dev/dsk/c1t0d0s0 9.6G 93M 9.4G 1% //dev/dsk/c1t0d0s6 9.6G 3.3G 6.3G 35%
6、 /usrdf-hl显示格式为:文件系统容量已用可用已用%挂载点/dev/hda5487M120M342M27%/good,noloosening.6.5.2DCSsidewiringtocompletetheenclosureandtheothersideafterthewiringiscompleted,DCSwithintheenclosurewhenthepowermoduleshouldbeloosenedorthepowergoesout.6.6lowvoltagecableterminal
7、making6.6.1first/dev/hda1981M21M911M3%/boot/dev/hdb275G75G0100%/,以此为例,表示的意思为:HD硬盘接口的第二个硬盘(b),第二个分区(2),容量是75G,用了75G,可用是0,因此利用率是100%,被挂载到根分区目录上(/) 分区信息:[root@localhostactive]#fdisk-lDisk/dev/sda:81.9GB,81964302336bytes255heads,63sectors/track,9964cylindersU
8、nits=cylindersof16065*512=8225280bytesDeviceBoot Start End BlocksId System/dev/sda1* 1 1049 8426061c W95FAT32(LBA)挂载点:[root@localhostactive]#mount/dev/sda9on/typeext3(rw)硬件信息:[root@local
此文档下载收益归作者所有