Presentation is loading. Please wait.

Presentation is loading. Please wait.

COP 4343 Unix System Administration

Similar presentations


Presentation on theme: "COP 4343 Unix System Administration"— Presentation transcript:

1 COP 4343 Unix 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 make via
ext2 evolution make via mkfs –t ext3 mkfs.ext3 make options: -L and –m change parameters: tune2fs

4 other File Systems reiserfs xfs jfs 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 soft limit hard limit strictly enforced
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


Download ppt "COP 4343 Unix System Administration"

Similar presentations


Ads by Google