SpecificLayout: The file system is not that simple...- it is divided into groupsGDBlockInodeInodeDataSuperblockBitmapBitmapTableBlocksTGroupUGroupGroupn-1
Specific Layout • The file system is not that simple. – it is divided into groups
SpecificLayout: The file system is not that simple...- it is divided into groups- every group has the same structureGDTGroup0BlockInodeDataInodeSuperblockBitmapBitmapTableBlocksThey areTheyaredifferentthesame.GDTGroup1BlockInodeInodeDataSuperblockBitmapBitmapTableBlocks
Specific Layout G Superblock D T Block Bitmap Inode Bitmap Inode Table Data Blocks Superblock D T G Block Bitmap Inode Bitmap Inode Table Data Blocks They are the same. Group 0 Group 1 They are different. • The file system is not that simple. – it is divided into groups – every group has the same structure
Specific Layout. Why doing so?GDTGroupoBlockInodeInodeDataSuperblockBitmapBitmapTableBlocksThey areTheyaredifferentthesameGDTGroup1BlockInodeInodeDataSuperblockBitmapBitmapTableBlocks
Specific Layout • Why doing so? G Superblock D T Block Bitmap Inode Bitmap Inode Table Data Blocks Superblock D T G Block Bitmap Inode Bitmap Inode Table Data Blocks They are the same. Group 0 Group 1 They are different
Specific Layout. Why doing so?- For reliability...GGroupoBlockInodeDataInodeDSuperblockBitmapBitmapTableBlocksTherearemanycopiesofthesuperblockSo,thisincreasesthereliabilityoftheFsThey arethesameThe superblock in Group O is calledthe primary superblockOthersuperblocksarecalledthebackupsuperblockGGroup1BlockInodeInodeDataDSuperblockBitmapBitmapTableBlocksT
Specific Layout • Why doing so? – For reliability. G Superblock D T Block Bitmap Inode Bitmap Inode Table Data Blocks Superblock D T G Block Bitmap Inode Bitmap Inode Table Data Blocks They are the same. Group 0 Group 1 They are different. The superblock in Group 0 is called the primary superblock. Other superblocks are called the backup superblock. There are many copies of the superblock So, this increases the reliability of the FS
Specific Layout. Why doing so?-Forperformance..GroupoSuperblockE.g.-InodetableinGroup0storesinodesfrom#1to#100-InodetableinGroup1storesinodesfrom#101to#200They are-etc...thesameThegoodaboutthisistokeeptheinodesandthefilecontentsclosetogether!Group1SuperblockBimapBitmaplapleBIOCKS
Specific Layout • Why doing so? –For performance. G Superblock D T Block Bitmap Inode Bitmap Inode Table Data Blocks Superblock D T G Block Bitmap Inode Bitmap Inode Table Data Blocks They are the same. Group 0 Group 1 They are different. E.g., - Inode table in Group 0 stores inodes from #1 to #100; - Inode table in Group 1 stores inodes from #101 to #200; - etc. The good about this is to keep the inodes and the file contents close together!