1 / 9

COP 4343 Unix System Administration

COP 4343 Unix System Administration. Unit 6: file systems /etc/fstab swap space quotas. File System Tasks. prepare partition with fdisk make file system mkfs check file system fsck options: -a -n -i mount file system mount vs. umount add to system setup /etc/fstab.

roy
Download Presentation

COP 4343 Unix System Administration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. COP 4343Unix System Administration Unit 6: file systems /etc/fstab swap space quotas

  2. File System Tasks • prepare partition with fdisk • make file system • mkfs • check file system • fsck • options: -a -n -i • mount file system • mount vs. umount • add to system setup • /etc/fstab

  3. ext3 File Systems • journaling file system • ext2 evolution • make via • mkfs –t ext3 • mkfs.ext3 • make options: -L and –m • change parameters: • tune2fs

  4. other File Systems • reiserfs • reiserfs-utils • fast, sponsored by DARPA • xfs • xfsprogs • SGI, 64 bit • jfs • jfsutils • IBM, high-end servers

  5. /etc/fstab • Fields • Device name or volume label • Mount point • Filesystem type • Mount options • defaults, rw, ro, suid, user • usrquota, grpquota • frequency (for dump command) • pass number (for fsck)

  6. Swap Space • create area for additional virtual memory • can be: disk partition or file • dd if=/dev/zero of=swapfile bs=1024 count=... • prepare via mkswap • partition or file • add to swap space • swapon • /etc/fstab

  7. Quotas • allows to set limits on • diskspace used by user or group • number of blocks • number of inodes • soft limit • allows temporary overage • has grace period • hard limit strictly enforced • needs kernel support

  8. enabling quotas • check & possibly recompile kernel • label filesystem in fstab • usrquota or grpquota • create and check setup • quotacheck –va • creates control files • aquota.user or aquota.group • turn quotas on • quotaon -av

  9. quota utilities • set soft and hard limit for blocks and inodes • edquota username • setquota • set grace period • edquota –t • check quota for user • quota

More Related