Saturday, January 12, 2019

filesystems - Where do ext3 inode / meta-data reside?



Just a quick question about ext3:



Are inodes stored in the same area as file data, or are there separate regions on the disk reserved exclusively for meta-data and others reserved exclusively for file/directory-content?



Reason I'm asking: If fsck is clearing/deleting/rewriting something that it thinks is an "inode", could it actually be messing with file content, or would the worst case effect be that a certain file disappears from the directory tree and get's added to a lost-and-found location, like in FAT file systems?



Answer



Within a block group, the data blocks come right after the inode table.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...