COMP1321 Digital Infrastructures

Slides:



Advertisements
Similar presentations
Understanding the Boot Process and Command Line
Advertisements

Chapter 3 Understanding the Boot Process and Command Line.
File System Analysis.
File Management Systems
®® Microsoft Windows 7 for Power Users Tutorial 10 Backing Up and Restoring Files.
Instructions Slides 3,4,5 are general questions that you should be able to answer. Use slides 6-27 to answer the questions. Write your answers in a separate.
Software utilities Gladys Nzita-Mak. Disk defragmentation Disk defragmentation makes computers run efficiently. When you save, change or delete files.
Microsoft Office Illustrated Fundamentals Unit B: Understanding File Management.
11:15:01 Storage device. Computer memory Primary storage 11:15:01.
COMP1321 Digital Infrastructure Richard Henson February 2012.
Objectives Learn what a file system does
Computer Systems Week 10: File Organisation Alma Whitfield.
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
Computer Terms.
Please Note: Information contained in this document is considered LENOVO CONFIDENTIAL For Lenovo Internal Use Only Do Not Copy or Distribute!! For Lenovo.
Chapter 2 Working with Disks and Other Removable Media 2.
Bits, Bytes, Files, Hard Drives. Bits, Bytes, Letters and Words ● Bit – single piece of information ● Either a 0 or a 1 ● Byte – 8 bits of information.
COMP1321 Digital Infrastructures Richard Henson November 2013.
Microsoft Office 2008 for Mac – Illustrated Unit C: Understanding File Management.
Configuring Data Protection Chapter 12 powered by dj.
The Functions of Operating Systems Desktop PC Operating Systems.
Lesson 12: Using the Recycle Bin deleting files or folders what the Recycle Bin is restoring files from the Recycle Bin emptying the Recycle Bin identifying.
Practical PC, 7 th Edition Chapter 4: File Basics.
Understanding Backup and Recovery Methods Lesson 8.
COMP 1321 Digital Infrastructure Richard Henson University of Worcester October 2015.
Page 1 of 38 Lenovo Confidential Lenovo Confidential Lenovo Confidential Lenovo Confidential Lenovo Confidential Please Note: Information contained in.
Digital Forensics Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #8 File Systems September 22, 2008.
Chapter 8 File Systems FAT 12/16/32. Defragmentation Defrag a hard drive – Control Panel  System and Security  Administration tools  Defrag hard drive.
COMP 1321 Digital Infrastructure Richard Henson University of Worcester October 2013.
Visit:  If you have lost important files, take a deep breath and rest assured that disk recovery software can likely help.
SVBIT SUBJECT:- Operating System TOPICS:- File Management
Information Technology (IT). Information Technology – technology used to create, store, exchange, and use information in its various forms (business data,
Copyright Prentice Hall, Inc. 1 Computers: Information Technology in Perspective, 11e Larry Long and Nancy Long Chapter 5 Storing and Retrieving Information.
Lesson 9: SOFTWARE ICT Fundamentals 2nd Semester SY
Chapter Objectives In this chapter, you will learn:
Chapter Objectives In this chapter, you will learn:
Activity 1 6 minutes Research Activity: What is RAM? What is ROM?
Microsoft Windows 7 - Illustrated
COMP 1321 Digital Infrastructure
Understanding File Management
How to Fix Boot Error 0xc000000e on Windows
Introduction to Computers
COMP 1321 Digital Infrastructure
Understanding File Management
File Management.
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Microsoft Windows 2000 Professional
Data Storage In today’s lesson we will look at:
File Managements.
Booting Up 15-Nov-18 boot.ppt.
Normal deletion Shift deletion
File Management File Explorer © EIT, Author Gay Robertson, 2017.
GCSE OCR 3 Memory Computer Science J276 Unit 1
Operating Systems Tasks 17/02/2019.
COMP1321 Digital Infrastructures
COMP 1321 Digital Infrastructure
2.C Memory GCSE Computing Langley Park School for Boys.
Files Management – The interfacing
Modern PC operating systems
Lesson 9 Types of Storage Devices.
Software - Operating Systems
Year 10 Computer Science Hardware - CPU and RAM.
Recovery cards and their utilization in student’s laboratory
Microsoft Office Illustrated Fundamentals
Partitioning & Formatting
Objectives Describe the difference between RAM and ROM
Department of Computer Science
Chapter 5 File Systems -Compiled for MCA, PU
TERMS AND CONDITIONS   These PowerPoint slides are a tool for lecturers, and as such: YOU MAY add content to the slides, delete content from the slides,
Presentation transcript:

COMP1321 Digital Infrastructures Richard Henson November 2017

Week 6: Hard & Solid State Disk Storage Objectives: explain what a file is and why it is such a useful way to store instructions and data name the commonly used file systems used to store digital data off the motherboard explain how data is organised into files by the CPU explain how files are saved to secondary storage for fast retrieval

Storing Data Overview: https://www.youtube.com/watch?v=TQCr 9RV7twk

Files “file” ~ conventional name for a package of bytes of data Created and Used in Primary Storage : set of stored data usually in consecutive memory locations controlled directly by CPU instructions

Secondary Storage Devices Connected to the Motherboard directly (SATA connection) may need to be configured with operating system on ROM (CMOS settings) allocates a drive letter (e.g. D, E, F) indirectly (USB connection) drive letter allocated through “plug and play”

Finding data on Secondary Storage (1) Secondary storage: controlled on CPU via disk controller programs & file system manager storage locations given addresses when the media is “formatted” works just like memory but has to be loaded into memory to be CPU accessible need an EOF (end of file) marker

File Attributes When a file is saved, and data is transferred from RAM to disk, a number of “attributes” are also saved: File name & suffix: File starting address on disk: File size: Date/time saved: Whether: read-write/read-only; hidden/visible

Overview of File Organisation https://www.youtube.com/watch?v=KN8Yg JnShPM&t=30s Secondary storage devices need to organise files for quick access via starting address… tapes fine for writing, but too slow for reading!

Primary/Secondary Storage of data as files If Windows = operating system, each drive/partition allocated a letter (e.g. C:, D:, etc.

File Organisation on Disk(1) Partition: area earmarked for formatting to meet the needs of a particular file system Could be several partitions on a single disk.. Each has its own drive letter Each could be formatted for a different file system

File Organisation on Disk (2) Disk surface physically divided up into sectors size of sectors depends on formatting type 512 locations (i.e. bytes) 2048 locations files laid down in locations within sectors

Finding data on Secondary Storage Each partition creates a table/index/catalogue for files that are written to it includes file attributes otherwise file very difficult to retrieve… Method depends on filing system chosen when partition formatted… as well as formatting the surface to receive data, each filing system formatting type structures the media to receive data in its own unique way…

“Boot Sector” Important part of PC boot up involves secondary storage Starts from “boot sector” (first sector)… provides configuration information for effective communication with CPU if damaged, boot up halted! should have a backup… needs to be copied to boot sector to overwrite corrupted data

Partitions and Boot Up Whilst a disk can have multiple partitions… Only one of these contains the boot sector Boot sector configuration options… Selectable via screen menu Can point to different operating systems

Booting up: loading an Operating System… Needs to be loaded into RAM some operating systems load everything from ROM (e.g. smartphone) others (e.g. PC) use a combination… some loaded first from ROM rest from hard disk or other source disk needs a bootable partition or can’t load rest of operating system into RAM

Data Storage on Disk Partition Sectors numbered Files stored in specified sector address ranges

Disk Index/Catalogue Stores location for start of file, and size of file Also, organises files into directories/folders top folder (C:) = root rest of folders link hierarchically from the root Index/Catalogue logically allocates each file to a folder for ease of retrieval

“Fragmentation” (Data in Secondary Storage) General problem with hierarchical data storage… deleted data items leave holes in the structure New data items saved try to fill the gaps large files can be broken into fragments fragments linked by address pointers slows down retrieval

Removing Fragmentation If disk only partly fragmented… defragmented files copied into memory remaining files moved around to close up holes Previously defragmented files copied back to disk as complete files If disk >75% fragmented most effective solution is to copy all files to another partition can copy back later once original partition has all data deleted

Is it true that deleted files aren’t really deleted? Absolutely! Two things happen when a file is deleted: the first data item stored in the file (first character of filename) is changed to “?” the catalogue entry ceases to recognise & display the filename starting address shows “?” Character file system is programmed to ignore ? at such a location Rest of the data is untouched… easily demonstrated through use of a Hex editor program: can show file contents “before” and “after”

“Normal” Loading of a File from Secondary Media File catalogue essential for data retrieval application reads file catalogue displays folders and files user chooses file, application uses disk addresses to load into memory File catalogue corruption? can’t find files! backup copy on disk, in separate sector

Direct access by address on Secondary Media If both file catalogues are damaged… file (and its data) cannot be located ideally, needs to be a backup catalogue elsewhere “Hex editors” available to do the equivalent of debug –d (peek) and –e (poke) enables full search of all addresses for particular ASCII string(s) essential for recovery of data…

“Undelete” Tools also available for restoring recently deleted files “?” character poked, and restored to a real character then picked up & shown on catalogue display

WinHex Probably the most popular tool to examine hard disks readout quite similar to debug –e data presented byte-by-byte according to catalogue address range of options for extracting, overwriting data, and (like debug) writing consecutive raw data items to a file

WinHex, Disk Investigation Tools, and Forensics Essential for police: collecting evidence data recovery: to rebuild a damaged or accidentally deleted catalogue to repair a boot sector so that computer can reboot