21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.4 The <strong>AIX</strong> JFS<br />

7.4.1 Creating a JFS<br />

To synchronize the logical volume, the following command should be run:<br />

# synclvodm -v volg01<br />

synclvodm: Physical volume data updated.<br />

synclvodm: Logical volume logvol01 updated.<br />

synclvodm: Warning, lv control block of loglv00 has been over written.<br />

0516-622 synclvodm: Warning, cannot write lv control block data.<br />

synclvodm: Logical volume loglv00 updated.<br />

The system can now be repaired. If the file system data was spread across all<br />

the disks, including the failed disk, it may need to be restored from the last<br />

backup.<br />

Similar to the LVM, most JFS problems can be traced to problems with the<br />

underlying physical disk.<br />

As with volume groups, various JFS features have been added at different levels<br />

of <strong>AIX</strong>, which preclude those file systems being mounted if the volume group was<br />

imported on an earlier version of <strong>AIX</strong>. Such features include large file enabled file<br />

systems, file systems with non-default allocation group size, and JFS2.<br />

In a journaled file system (JFS), files are stored in blocks of contiguous bytes.<br />

The default block size, also referred to as fragmentation size in <strong>AIX</strong>, is 4096<br />

bytes (4 KB). The JFS i-node contains an information structure of the file with an<br />

array of eight pointers to data blocks. A file that is less then 32 KB is referenced<br />

directly from the i-node.<br />

A larger file uses a 4-KB block, referred to as an indirect block, for the addressing<br />

of up to 1024 data blocks. Using an indirect block, a file size of 1024 x 4 KB = 4<br />

MB is possible.<br />

For files larger than 4 MB, a second block, the double indirect block, is used. The<br />

double indirect block points to 512 indirect blocks, providing the possible<br />

addressing of 512 x 1024 x 4 KB = 2 GB files. Figure 7-2 on page 151 illustrates<br />

the addressing using double indirection.<br />

150 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!