Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework 13: In a file system using metadata journalin g for crash consistency, what would the sequence of write operations be to disk to create

Homework 13:

In a file system using metadata journaling for crash consistency, what would the sequence of write operations be to disk to create file100 in the directory structure in Homework 11?

How would it differ from that of data journaling? Using the same format as for Homework 12, identify what data or metadata is written and where it is being written.

Format of HW12 Journal Write: Transaction Begin(TxB) record, file X data

1.

2.

3.

4.

HW11 for reference

image text in transcribed

Homework 11: File System Reads and Writes Suppose we have a directory structure as follows: Root Directory Directory A Directory B Directory C File5 File1 File Suppose the contents of the root directory and its inode, and the contents of directory A and A's inode, are cached in main memory. List out all the disk read and write operations (to directories, files, inodes) needed to create a new 1 fie called "file100" in directory A Explain the reason for each read and write. For example, if the root inode and the root directory was not cached, you would have a line item that says the following: Read rootinode determine location of root directory on disk

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Oracle8I Building Efficient Databases

Authors: Jonathan Lewis

1st Edition

0201715848, 978-0201715842

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago