02.01.2016 Views

Linux

linux_admin_text-1.0.0_2

linux_admin_text-1.0.0_2

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.

4.4 LVM <br />

# df /mnt/LVMtest/<br />

Filesystem 1K-blocks Used Available Use% Mounted on<br />

/dev/mapper/Volume00-LogVol01<br />

999320 1284 945608 1% /mnt/LVMtest<br />

lvextend LogVol01 2G <br />

# lvextend -L 2G /dev/Volume00/LogVol01<br />

Size of logical volume Volume00/LogVol01 changed from 1.00 GiB (256 extent<br />

s) to 2.00 GiB (512 extents).<br />

Logical volume LogVol01 successfully resized<br />

resize2fs <br />

# resize2fs /dev/Volume00/LogVol01<br />

resize2fs 1.41.12 (17-May-2010)<br />

Filesystem at /dev/Volume00/LogVol01 is mounted on /mnt/LVMtest; on-line res<br />

izing required<br />

old desc_blocks = 1, new_desc_blocks = 1<br />

Performing an on-line resize of /dev/Volume00/LogVol01 to 524288 (4k) block<br />

s.<br />

The filesystem on /dev/Volume00/LogVol01 is now 524288 blocks long.<br />

df 2GB <br />

# df /mnt/LVMtest/<br />

Filesystem 1K-blocks Used Available Use% Mounted on<br />

/dev/mapper/Volume00-LogVol01<br />

2031440 1536 1925060 1% /mnt/LVMtest<br />

4.4.7 <br />

<br />

<br />

<br />

<br />

<br />

umount /mnt/LVMtest <br />

<br />

www.lpi.or.jp 130 (C) LPI-Japan

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

Saved successfully!

Ooh no, something went wrong!