Documentos de Académico
Documentos de Profesional
Documentos de Cultura
JFS logs
When a JFS or JFS2 is created a JFS log is creates
• This allows full control for example: mirroring, strips, number of disks etc.
• Don't us it unless you need large files due to small performance overhead
• it is best to test that this helps your workload before using lots of them
Maximum Sizes
What is the max. size of a JFS?
What is the max. size of a file?
This increases with every new AIX version.
Check the AIX Strength to Strength document for the latest numbers:
Note: 32 bit apps cannot address more than 2 GB
A JFS can be Large File Enabled to allow file >2GB but generally these are best avoided.
It is now best to use JFS2 in AIX 5L
Mounting
Once JFS created you need to mount the jfs
AIX does not do the automatically!!
For example as root: $ mount /scratch
To "see" the filesystems you can:
• use smit
• use df -k (-k = KB as the POSIX standard forces a default of 512 bytes blocks!!)
• use mount
With AIX you can ask for all file system to be mounted in one command - which can be useful
if you just created lots: mount all
Filesystem definitions
Filesystems details are within: /etc/filesystems
It contains mount point, LV and options
To change the placement on the disk of a jfs, you actually just need to move the LV that it is
placed in.
You can do this while it is mounted.
Defrag
Typically AIX does not need this!
If you have lots of file create and delete activity, it might be worth doing as follows:
Commands
There is a full set of fs and jfs/jfs2 commands but most people use smitty to manage
filesystems.
If you need to create lots of them it is often quicker to use smitty to work out the commands
(use F6).
The regular UNIX command work plus:
List file systems: lsfs
Full details: lsfs -q
Note: