网站大量收购独家精品文档,联系QQ:2885784924

quota操作过程.doc

  1. 1、本文档共8页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
quota操作过程

1、先用df(disk free)命令查看磁盘空间 [root@teacher ~]# df 文件系统 1K-块 已用 可用 已用% 挂载点 /dev/hda3 5080828 4287588 530980 89% / /dev/hda5 2030736 67548 1858368 4% /tmp /dev/hda2 5080828 141692 4676876 3% /home /dev/hda1 101086 18396 77471 20% /boot tmpfs 221820 0 221820 0% /dev/shm none 221732 104 221628 1% /var/lib/xenstored /dev/hdc 2936954 2936954 0 100% /media/RHEL_5.4 i386 DVD 2、创建新的分区,大小为500M,文件系统为/dev/hda7 [root@teacher ~]# fdisk /dev/hda The number of cylinders for this disk is set to 2610. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): m(注:查看可用命令) Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partitions system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): n(注:新建分区) First cylinder (1712-2610, default 1712): 1712(注:初始扇区) Last cylinder or +size or +sizeM or +sizeK (1712-2610, default 2610): +500M(注:扇区大小) Command (m for help): p(注:显示硬盘分区表) Disk /dev/hda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 13 104391 83 Linux

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档