Confused with File System Concepts


 
Thread Tools Search this Thread
Operating Systems AIX Confused with File System Concepts
# 1  
Old 12-10-2003
Data Confused with File System Concepts

Hello,

I've been reading the AIX 5.1 System Concepts PDF but I'm still confused about some file-system concepts and their relationships.

What is the 'allocation group size'?
How are 'disk allocation unit'/'fragment size', NBPI and 'allocation group size'?
And how are the above three concepts realted logical parition size?

Thanks
Smilie
# 2  
Old 12-10-2003
I don't know aix, but I took a quick look at some web sites and it looks like aix is using an upgraded version of the McKusick filesystem. So I'll take a quick stab at some of this...

NBPI
An inode is a thing that you need to create a file. If a filesystem has 1000 inodes, then it can have 1,000 files. You want to have too many inodes. When you run out of disk space, you will have some unused inodes. That is better than unused disk space with no inodes left to use it. NBPI is number of bytes per inode. Think of it as the average expected file size. By having a default expressed this way, if the filesystem doubles, so do the inodes.

Allocation Group
A filesystem is big so it get chopped up into a few sections called allocation groups. Think about a file that is growing...it needs another data block. You don't want any data block, you want one close by. So the system tries to keep the file in the same allocation group. In fact it tries to keep all of the files in a directory (not subdirectory) in the same allocation unit. Allocation units should be large enough for this to be possible most of the time.

allocation unit
This is the smallest piece of data that can be assigned to a file. A one byte file will use one allocation unit.

That's a quick rundown of these terms. But if you don't understand them all, just take the default values for everything.

Note to freaked out file system gurus...I know that I'm over-simplifying. I think that's what the OP wanted.
# 3  
Old 12-30-2003
From IBM Redbook website you could find book called AIX Logical Volume Manager from A to Z: Introduction and Concepts. It might help you to figure out LVM concept in AIX.

At least it did so to me.. Smilie

--Tommy
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Linux

Linux Operating system concepts

hi guys, i got job recently in a company which provide a product for data backup and data recovery... as dis product is wrriten in c++ am workin in c++.. now am under training and i want to learn abt Operating System concepts and OS programming using c and c++. i know basic c and c++ programming... (3 Replies)
Discussion started by: senthil.march
3 Replies

2. UNIX for Dummies Questions & Answers

Unix concepts help

Team, I am working in unix perl . i have come across scenarios where there are lots of unix concepts are being used. For example, Handle, pipes, forking ,data sharing between processes,parallel processing and so on. I need some conceptual explanation about the unix system . I... (5 Replies)
Discussion started by: mdsaleemj
5 Replies

3. Programming

Hash tables concepts

How hash tables are used to quickly locate a data record? (4 Replies)
Discussion started by: rupeshkp728
4 Replies

4. Shell Programming and Scripting

Confused with redirection and file descriptors

Hi all, I've been looking for the way to send stdout and stderr to different files. Well, actually I really knew how to make it, but I wanted to be sure. I've found an instruction very interesting which I'm not able to understand: taken from this site. It says it sends stdout to output.log,... (4 Replies)
Discussion started by: AlbertGM
4 Replies

5. Solaris

RAID concepts.

can anyone explain me the RAID concepts clearly. I studied some book bt i didnt get any clear idea. (4 Replies)
Discussion started by: rogerben
4 Replies

6. Solaris

Confused with entries in /etc/hostname.<interface> file...

Hi.. Every one, I have servers installed with solaris 10.We have configured our servers for IPMP and we have respective entries in /etc/hostname.<interface> for every physical interface. for example one of the file contains : # more /etc/hostname.ce6 super-ce6 netmask + broadcast + group... (3 Replies)
Discussion started by: Reboot
3 Replies

7. Programming

Performance engineering concepts

Hello, I would like get idea about performance enginering from basic to advanced level. Do anyone know a place where i can find some videos related to performance engineering ? (5 Replies)
Discussion started by: shafi2all
5 Replies

8. AIX

file system space arg !!! and confused

Aix 5.2 on a P510 RS6000 My /usr filesystem is sized at 3.8 gb. Check me if I'm wrong here but this should be enough space for /usr? When I installed the o/s I just followed the defaults, didn't add any 3rd party apps, least that I know of. My problem is that it's running at 90% capacity. ... (2 Replies)
Discussion started by: Westy564
2 Replies
Login or Register to Ask a Question