SEU COSC 513 Presentation Linux File Management Systems

  • Slides: 13
Download presentation
SEU COSC 513 Presentation Linux File Management Systems Student: Bo Ling Instructor: Prof. Mort

SEU COSC 513 Presentation Linux File Management Systems Student: Bo Ling Instructor: Prof. Mort Anvari Quarter: Spring, 2001

Introduction n File management systems n Linux

Introduction n File management systems n Linux

File System Architecture User Program Pile Sequenti Indexed Hashed al sequenti al Logical I/O

File System Architecture User Program Pile Sequenti Indexed Hashed al sequenti al Logical I/O Basic I/O Supervisor Basic File System Disk Device Driver Tape Device Driver

Server Market Share 1996 1999 2003 Windows 23. 8 36. 8 44. 5 Linux

Server Market Share 1996 1999 2003 Windows 23. 8 36. 8 44. 5 Linux 6. 0 23. 8 36. 7 Netware 29. 9 18. 0 9. 5 Unix 18. 6 14. 8 8. 9 Source: IDC, 2000

Linux File System History n n n Minix filesystem Virtual File System (VFS) Extended

Linux File System History n n n Minix filesystem Virtual File System (VFS) Extended filesystem Second extended filesystem (Ext 2 fs) Xia filesystem

Features of Different File Systems Max FS size Minix Ext FS FS 64 MB

Features of Different File Systems Max FS size Minix Ext FS FS 64 MB 2 GB Ext 2 FS Xia FS 4 TB 2 GB Max File size 64 MB 2 GB 64 MB Max file name 16/30 255 248 Extensible No No Yes No Var. block size No No Yes No

File System Supported in Linux n n n n Second extended filesystem Extended filesystem

File System Supported in Linux n n n n Second extended filesystem Extended filesystem Minix filesystem Xia filesystem Network File System UMSDOS filesystem MS-DOS filesystem HPFS filesystem

(cont. ) n n n n /proc filesystem ISO 9660 filesystem Xenix filesystem System

(cont. ) n n n n /proc filesystem ISO 9660 filesystem Xenix filesystem System V filesystem Coherent filesystem Novell filesystem SMB filesystem

User process System calls interface VFS Minix DOS FS Ext 2 FS Linux Kernel

User process System calls interface VFS Minix DOS FS Ext 2 FS Linux Kernel Buffer cache Device drivers I/O request Disk Controller Hardware

Ext 2 fs Features n n n Max filesystem size to 4 TB. Max

Ext 2 fs Features n n n Max filesystem size to 4 TB. Max file name size 255 char, extendable to 1012 char. File attributes Preallocation techniqu Fast symbolic links. Keeps track of the filesystem status.

Ext 2 fs Features (cont. ) n n buffer cache management Block groups

Ext 2 fs Features (cont. ) n n buffer cache management Block groups

Second Extended FS Performance Unix BSD Ext 2 fs Char write (KB/s) 710 Block

Second Extended FS Performance Unix BSD Ext 2 fs Char write (KB/s) 710 Block Write (KB/s) 684 Rewrit e (KB/s) 401 Char Read (KB/s) 721 Block Read (KB/s) 888 452 1237 536 397 1033

REFERENCE n n http: //www. linuxmag. com/backissues. html http: //step. polymtl. ca/~ldd/ext 2 fs_1.

REFERENCE n n http: //www. linuxmag. com/backissues. html http: //step. polymtl. ca/~ldd/ext 2 fs_1. html http: //e 2 fsprogs. sourceforge. net/ext 2 intro. html http: //aeschi. ch. eu. org/efs/