File and Disk Maintenance

Slides:



Advertisements
Similar presentations
Preparing for Installation Reviewing the list of tasks Working with DNS Recording information Backing up files Uncompressing the drive Disabling disk mirroring.
Advertisements

1. HDD Partition Setup Insert Booting Diskette to A: drive and turn on the power. Then it will be boot by floppy diskette. 1 Type FDISK and press Enter.
Chapter 6 File Systems 6.1 Files 6.2 Directories
1 Chapter 12 File Management Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Microsoft®.
Hard Disks Low-level format- organizes both sides of each platter into tracks and sectors to define where items will be stored on the disk. Partitioning:
Tasks in Setting Up a Hard Disk
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 6: Managing Disks and Data Storage.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 6: Managing Disks and Data Storage.
Peripheral Storage Devices
J.Tiberghien Chapitre 9 Organisation des disques et gestion des fichiers.
Hard Disk Drives Chapter 7.
4.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 4: Organizing a Disk for Data.
File Management.
Troubleshooting Startup Problems
Lesson 9 Types of Storage Devices.
Storing Data Chapter 4.
Windows File Systems CGS2564. Who Cares? C:\Documents\Taxes\Tax04.DOC.
Computer Forensic Analysis By Aaron Cheeseman Excerpt from Investigating Computer-Related Crime By Peter Stephenson (2000) CRC Press LLC - Computer Crimes.
Describing Storage Devices Store data when computer is off Two processes –Writing data –Reading data Storage terms –Media is the material storing data.
Types Of Storage Device
1 Lesson 4 Computer Maintenance Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Chapter 6 File Systems 6.1 Files 6.2 Directories
COMP091 – Operating Systems 1
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 5 – Installing Windows XP.
FAT vs NTFS.
Installing Windows XP Professional Using Attended Installation Slide 1 of 30Session 8 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
®® Microsoft Windows 7 for Power Users Tutorial 6 Optimizing Your Hard Disk.
FILE SYSTEMS. File Names 1 to 255 characters in length  This includes the path You can use uppercase and lowercase (case-aware, but not case-sensitive)
Chapter 7: Configuring Disks. 2/24 Objectives Learn about disk and file system configuration in Vista Learn how to manage storage Learn about the additional.
Chapter 7: Configuring Disks. Configuring File Systems Fat32 –First used with Windows 95 OSR2 –Smaller cluster sizes, more efficient storage up to 32.
Wince File systems. File system on embedded File system choice on embedded is important –File system size can be an issue –Different media are used –
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
1 CSCD 496 Computer Forensics Lecture 7 File Systems – Windows Winter 2010.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Five Managing Disks and Data.
1 Chapter Overview Managing Compression Managing Disk Quotas Increasing Security with EFS Using Disk Defragmenter, Check Disk, and Disk Cleanup.
Ch 111 File and Disk Maintenance. Ch 112 Overview How to avert hard drive problems and how to avert conditions that can cause data errors will be discussed.
Hard Drive Formatting 1. Formatting Once a hard drive has been partitioned, there’s one more step you must perform before your OS can use that drive:
1 Using Compressed Files and Folders Applications and operating systems read and write to compressed files. NTFS uncompresses the file before making it.
Implementing Hard Drives Chapter 10
Basic Computer Maintenance Basic Computer Maintenance Clean and Cool Deleting Temporary Files Scandisk Backup Your Data How to.
With Microsoft Windows 7© 2012 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Windows 7.
COMPUTER FUNDAMENTALS David Samuel Bhatti
Utility Programs  A type of system software that is used to solve a particular problem is called utility program. Many operating system provides different.
By: Marideth Bradley. OBJECTIVES Identify problems that can occur if hardware is not properly maintained. Identify routine maintenance that can be performed.
Ch 81 Organizing and Managing Your Hard Disk. Ch 82 Overview Learn how to organize a hard disk efficiently and logically to serve your specific needs.
Objectives Learn what a file system does
Presented to: Sir Ahmad Karim
Disk Structures. CTEC 1102 Formatting a Disk Two parts to formatting a disk:  Low-level (physical) formatting  High level (logical) formatting Low-level.
 FILE S SYSTEM  DIFFERENT FILE SYSTEMS  FILE SYSTEM COMPONENTS  FILE OPERATIONS  LOG STRUCTERD FILE SYSTEM  FILE EXAMPLES.
1 Chapter Overview Floppy Disk Drives Hard Disk Drives.
Window NT File System JianJing Cao (#98284).
Component 4: Introduction to Information and Computer Science Unit 4: Application and System Software Lecture 3 This material was developed by Oregon Health.
Chapter 3 Managing Disk and File Systems. File Storage Basics Windows XP supports two types of storage Basic Dynamic Basic storage system Centers on partitioning.
Disk Fragmentation 1. Contents What is Disk Fragmentation Solution For Disk Fragmentation Key features of NTFS Comparing Between NTFS and FAT 2.
PC Maintenance: Preparing for A+ Certification Chapter 10: Introduction to Disk Storage.
C HAPTER 7 Managing Disk and File System. I NTRODUCING DISK MANAGEMENT 2 types of hard disk storage supported by Windows XP are: basic hard disk & dynamic.
The disk surface is divided into tracks. into tracks. 1.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 15 – The Hard Drive.
Implementing Hard Drives. Partitioning and Formatting Process.
Guide to MCSE , Second Edition, Enhanced 1 File Storage Basics Basic storage Centers on partitioning physical disk Dynamic storage New method supported.
FAT File Allocation Table
FILE SYSTEMS. Presented to: Sir. Ahmad Kareem Presented by: Sadia Rasheed Bsit
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
DIT314 ~ Client Operating System & Administration CHAPTER 7 MANAGING DISKS AND FILE SYSTEM Prepared By : Suraya Alias.
Working with Disks Lesson 4.
Windows XP File Systems
File Management.
File Managements.
Presentation transcript:

File and Disk Maintenance

File Systems A file system defines the structure and the rules used to read, write, and maintain information stored on a disk. Which system used is determined by; Hardware Software Security needs Need for a dual-booting system

FAT??? file allocation table – where the OS records how the disk space is used

File Systems FAT 16 – oldest, created for DOS, supported by most OSs’, cannot be installed on partitions larger than 2 GB, or on hard drives larger than 4GB. FAT 32 – supports disks from 512 to 2TB, compatible with Windows 98 and up NTFS – (new technology file system) – better file security (Encrypting File System), disk compression, logging features, reliability and stability. NTFS volumes can not be accessed by DOS, or Windows 95 or Windows 98.

File Systems The operating system keeps track of data (documents, pictures, etc.) by placing it into a file. To store and retrieve files: Disk divided into tracks Tracks are divided into sectors Sectors grouped into clusters Number of sectors in a cluster is determined by Size of the hard drive File allocation system – FAT, FAT32, NTFS, e

When you format a disk the operating systems creates concentric recording bands, called tracks, around the circumference of the disk. Then, the formatting program (in our case Windows XP) subdivides each track into equal parts, called sectors. Although not all of them are shown in the following diagram, there are 80 concentric tracks on a 3 ½ inch high density diskette and each track is divided into 18 sectors. Each sector in turn contains 512 bytes. So let’s see . . . . . 80 tracks X 18 sectors X 2 sides X 512 bytes = 1,474,560 bytes = 1.4 MB

Tracks Sectors within a Track Cluster

A hard disk has extremely smooth metal or glass plates called “platters” (vs. the floppy mylar disk of a floppy disk). Each platter is divided into tracks and sectors by the format operation, like a floppy disk, however the number of tracks and sectors is different. The number of tracks on a hard disk depends on the disk size and the manufacturer.

Clusters? A cluster, also known as an allocation unit, consists of one or more sectors of storage space, and represents the minimum amount of space that an operating system allocates when saving the contents of a file to a disk. The number of sectors per cluster is dependent on Type of disk (floppy disk, hard disk) Version of operating systems Size of disk Every sector contains 512 bytes. (NTFS does allow you to change this number.) The number of clusters per disk is determined by the filing system (FAT 16, FAT 32 or NTFS).

DRIVE SIZE Cluster Size FAT 16 Cluster Size FAT 32 NTFS 260 to 511 MB 8 KB (16 sectors) Not Supported 512 bytes (1 sector) 512 to 1023 MB 16 KB (32 sectors) 4 KB (8 sectors) 1KB (2 sectors) 1024 MB to 2 GB 32 KB (64 sectors) 2 KB (4 sectors) 2 to 4 GB 64 KB (128 sectors) 4 to 8 GB 8 to 16 GB 16 to 32 GB 32 KB ( 64 sectors) >32 GB (up to 2 TB)

Example - File size = 2KB Hard drive = 2GB FAT 16 – the file will use 1 cluster which is 64 sectors, so 64 X 512 bytes per sector = 32KB – 2KB = 30KB slack space FAT 32 – the file will use 1 clusters which is 8 sectors, so 8 X 512 bytes per sector = 4KB – 2KB = 2KB slack space NTFS – the file will use 1 cluster which is 4 sectors, so 4 X 512 bytes per sector = 2KB – 2KB = 0 slack space

So, what does this all mean to us, as Windows XP users? The bigger your disk – the bigger your clusters (because there is a maximum number of clusters per disk). One way to help alleviate the problem of slack space is to partition the hard drive into smaller “drives”. Reducing the drive size will reduce the cluster size.

So what can cause problems with a Disk? Physical hard drive problems: Wear and tear on hard disk - Minimize with Power Management and/or Hibernation Head crash - Minimize by placing system where it will not get knocked around. Software-related problems: Viruses -Minimize by using virus protection software Some error causing conditions to data that may be repairable: Power surges Power outages Locked system

Cleaning Up Your Disk Computer performance depends a great deal on the hard drive. Need disk space for: New files Temporary files Documents waiting to be printed Cache files Cache – storage area for often used information that can be accessed quickly Recycle

Cleaning Up Your Disk Will remove the following; Disk cleanup is a utility that helps maintain the hard disk. Intended for hard drives. Will remove the following; Internet cache files Downloaded program files Offline web pages Offline lines, & temporary offline files Temporary files Files in the recycle bin Windows components that you no longer use Installed programs that you no longer use Catalog files for the Content Indexer

Check Disk The Check Disk utility is a disk analysis and repair utility that examines disks for errors and, where possible, repairs errors. Checks the logical structure Checks the physical integrity of the disk’s surface, if it finds a bad sector it will attempt to move the data to another location. Take care of Lost Clusters

What are lost clusters? Lost Clusters: Reasons for Lost Clusters Have no directory entry in directory table Do not belong to any file Take up disk space - Unavailable for new data Cannot be retrieved/deleted Reasons for Lost Clusters Not exiting program properly Power surge/failure

Lost Clusters Example

Check Disk can fix lost clusters Can fix lost clusters automatically or Save them to disk as files Side note: You can check if you have lost clusters by clicking on a file and comparing the file size in explorer window to status bar files size.

Check Disk continued CAN check/repair local hard drives, floppy disks, and removable drives CANNOT find/fix errors on CD-ROMs or network drives

Check Disk, continued Should be used on a regular basis The first time you use it you should back up your disk before running check disk. Close all open programs when using this program, including screen saver If disk is formatted as NTFS, Windows XP Professional will automatically (without running Check Disk): Log all file transactions Replace bad clusters Store copies of key information for all files on NTFS volume

Contiguous and Noncontiguous Files Windows XP Professional keeps track of data by placing it into a file. To store and retrieve files: Disk divided into sectors Sectors grouped into clusters Number of sectors in a cluster is determined by Size of the hard drive File allocation system – FAT, FAT32, NTFS, etc.

Contiguous and Noncontiguous Files When a file is deleted: Only entries in FAT deleted Space file occupied becomes available

Contiguous and Noncontiguous Files Files are: Contiguous – written to adjacent clusters on a disk Noncontiguous (fragmented) – written to a disk in nonadjacent clusters. So a Fragmented Disk has noncontiguous files. It takes longer to read a Fragmented Disk because the head must move around so much going to the various locations of the file clusters.

Defragmentation Rearranges the files on a disk so that all parts of each files are store in consecutive clusters. It also records the clusters for one file right after the clusters for another file, and in the process, removes free space between files that would result in more fragmentation. At the end of defragmentation all the unused space is near the inner edge of the disk.

Defragmentation, continued Prior to running Disk Defragmenter: Run Check Disk and Disk Cleanup Close All open programs Allow ample time, can take hours – depends on how fragmented your disk is. Back up disk