Question

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

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 As 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

0 0
Add a comment Improve this question Transcribed image text
Answer #1

4-9.30 → DS-30 2010712012 @3 ⑥8 -e 16 a 64 (0 , (15,3) 9oups 4 n-

Add a comment
Know the answer?
Add Answer to:
Homework 13: In a file system using metadata journaling for crash consistency, what would the sequence...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Using only shell commands, create a directory structure in your Linux file system to organize files...

    Using only shell commands, create a directory structure in your Linux file system to organize files for this course. An example structure may look like the following: osweb homework homework1.c homework2.java homework3.cpp labs lab1 setup.txt projects Include the following by only using shell commands: List the contents of a directory Write data to a text file Print the contents of a text file to the terminal Delete a text file Move a text file to a different directory Rename a...

  • Using Kali Linux, the Windows Linux Sub-System, or another Debian based Linux distribution, perform the following...

    Using Kali Linux, the Windows Linux Sub-System, or another Debian based Linux distribution, perform the following tasks based on the Linux Fundamentals lecture. For this lab, take screenshots for all major steps completed to illustrate that each task was successfully completed the same method as would be used for other labs). Tasks: 1. Create a new user named Billy Bob using the command linter face 2. Add Billy Bob to the sudoers group 3. Update and upgrade your Linux distribution...

  • A. File I/O using C library functions File I/O in C is achieved using a file...

    A. File I/O using C library functions File I/O in C is achieved using a file pointer to access or modify files. Processing files in C is a four-step process: o Declare a file pointer. o Open the desired file using the pointer. o Read from or write to the file and finally, o Close the file. FILE is a structure defined in <stdio.h>. Files can be opened using the fopen() function. This function takes two arguments, the filename and...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT