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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3. Remove the paging00 paging space using the rmps command:<br />

# rmps paging00<br />

rmlv: Logical volume paging00 is removed.<br />

If the paging space you are removing is the default dump device, you must<br />

change the default dump device to another paging space or logical volume<br />

before removing the paging space. To change the default dump device, use the<br />

sysdumpdev -P -p /dev/new_dump_device command.<br />

In <strong>AIX</strong> <strong>5L</strong>, you can use the swapoff command to move all pages out of a paging<br />

space that is to be removed. After pages are moved out, use the rmps command<br />

to remove the paging space. In the following example, paging00 is removed:<br />

# swapoff /dev/paging00<br />

# rmps paging00<br />

rmlv: Logical volume paging00 is removed.<br />

With <strong>AIX</strong> <strong>5L</strong>, managing paging space also became much simpler. You can<br />

reduce the size of paging space dynamically. For example, remove one logical<br />

partition from paging00 by running:<br />

# chps -d 1 paging00<br />

shrinkps: Temporary paging space paging01 created.<br />

shrinkps: Paging space paging00 removed.<br />

shrinkps: Paging space paging00 recreated with new size.<br />

Rebooting of the server is not needed.<br />

The chps command automatically creates the temporary paging spaces as<br />

needed in <strong>AIX</strong> <strong>5L</strong>.<br />

7.6 Command summary<br />

The following sections review commands discussed in this chapter and the flags<br />

most often used.<br />

7.6.1 The lsvg command<br />

The lsvg command sets the characteristics of a volume group. The command<br />

has the following syntax:<br />

lsvg [ -L ] [ -o ] | [ -n DescriptorPhysicalVolume ] | [ -i ] [ -l | -M | -p ]<br />

VolumeGroup ...<br />

The most commonly used flag is provided in Table 7-3 on page 170.<br />

Chapter 7. LVM, file system, and disk problem determination 169

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

Saved successfully!

Ooh no, something went wrong!