Describe internal layout of the file system in windows 2000, Operating System

Assignment Help:

Describe the internal layout of the file system in windows 2000.

The basic entity in NTFS is a volume and a volume is created by the Windows 2000 disk administrator utility and is based on a logical disk partition. The volume may take up a portion of a disk that may occupy an entire disk or may span across several disks. Cluster is used on the unit of disk allocation. A cluster is an amount of disk sectors that is a power of 2 and the cluster size is configured when NTFS file system is formatted. This cluster size is smaller than that for the 16-bit FAT file system and the small size reduces the amount of internal fragmentation.

NTFS utilizes logical cluster numbers (LCNs) as disk addresses and it assigns them by numbering clusters from the beginning of the disk to the end. Using this system, the system is able to calculate a physical disk offset (in bytes) by multiplying the LCN by the cluster size. A file in NTFS isn't a simple byte stream as it is in UNIX rather it is a structured object consisting of attributes. Every attribute of a file is an independent byte stream that can be deleted, created, read and written. Few attributes are standard for all files including the file name and the creation time and the security descriptor that specifies access control. A directory has attributes that execute an index for the file names in the directory. Generally attributes may be added as necessary and are accessed using a file name attribute nomenclature.

Every file in NTFS is explained by one or more records in an array stored in a special file called the master file table (MFT) and the size of a record is determined when the file is created; it ranges from 1 to 4 KB. Tiny attributes are stored in the MFT record itself and are called as resident attributes. Large attributes for example unnamed bulk data called as nonresident attributes are stored in one or more contiguous extends on the disk and a pointer to each extend is stored in the MFT record.

Every file in an NTFS volume has a unique ID called a file reference and the file reference is a 64-bit quantity that consists of:

1.      48-bit file number

2.      16-bit sequence number

The file number is a record number that is the array slot in the MFT that describes the file. The sequence number is incremented each time that an MFT entry is reused. This increment allows NTFS to perform internal consistency checks such as catching a stale reference to a deleted file after the MFT entry has been reused for a new file.

As in UNIX the NTFS name space is ordered as a hierarchy of directories. Every directory uses a data structure called as a B+ tree to store an index of the file names in that directory. A B+ tree is used for the reason that it eliminates the cost of reorganizing the tree and has property that length of every path from the root of the tree to a leaf is the same. The index root of a directory encloses the top level of the B+ tree. The NTFS volume's metadata are all stored in files and the first file is the MFT. The second file is that which is used during recovery if the MFT is damaged contains a copy of the first 16 entries of the MFT. Further files are volume file, log file, attribute-definition table, bitmap file, root directory, boot file and bad-cluster file.


Related Discussions:- Describe internal layout of the file system in windows 2000

Explain acyclic-graph directories, Acyclic-graph directories An acyclic...

Acyclic-graph directories An acyclic graph permits directories to have shared subdirectories and files. The similar file or subdirectory may be in two dissimilar directories. A

Define shell in unix system, A Unix shell is a shell or command-line inte...

A Unix shell is a shell or command-line interpreter that gives a traditional user interface for the Unix-likesystems and for Unix operating system. Users operates the operation of

What is internal fragmentation?, What is internal fragmentation? Consid...

What is internal fragmentation? Consider holes of 20k assume the process requests 18 bites. If we allocate accurately the request block, we are left with a hole of 2k. The over

Distinguish among pcs and scs scheduling, Q. Distinguish among PCS and SCS ...

Q. Distinguish among PCS and SCS scheduling. Answer: PCS scheduling is completed local to the process. It is how a thread library schedules threads onto available LWPs. SCS sch

What are the different thread levels?, What are the different thread levels...

What are the different thread levels? There are two broad type of thread implementation: User-Level Threads -- Thread Libraries. Kernel-level Threads -- System Calls.

Explain formal language grammar, Explain Formal Language Grammar A form...

Explain Formal Language Grammar A formal language grammar is a set of formation rules which explain which strings formed from the alphabet of a formal language are syntacticall

Explain the steps in deadlock recovery, Explain the steps in deadlock recov...

Explain the steps in deadlock recovery. a)      Exterminate off all processes involved - drastic. b)      Exterminate off one at a time till deadlock gone - select a victim.

Explain lru page replacement, LRU page replacement In slightest recentl...

LRU page replacement In slightest recently used page replacement algorithm we will replace that page that hasn't been used for the longest period of time. This is similar as an

Define the term operating system, Question: a) Define the term ‘Operat...

Question: a) Define the term ‘Operating System' and identify two goals of an operating system. b) What do you understand by Symmetric multiprocessing (SMP) and Asymmetr

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd