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 />

lvcreate <br />

lvcreate -L -n <br />

Volume00 1GBLogVol01<br />

lvcreate <br />

# lvcreate -L 1024M -n LogVol01 Volume00<br />

4.4.4 <br />

<br />

<br />

/dev//<br />

/dev/Volume00/LogVol01 ext4 mkfs <br />

<br />

# mkfs -t ext4 /dev/Volume00/LogVol01<br />

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

Discarding device blocks: done<br />

Filesystem label=<br />

OS type: <strong>Linux</strong><br />

<br />

This filesystem will be automatically checked every 33 mounts or<br />

180 days, whichever comes first. Use tune2fs -c or -i to override.<br />

mount /dev/Volume00/LogVol01 <br />

# mkdir /mnt/LVMtest<br />

# mount -t ext4 /dev/Volume00/LogVol01 /mnt/LVMtest/<br />

# mount /mnt/LVMtest/<br />

mount: /dev/mapper/Volume00-LogVol01 /mnt/LVMtest <br />

<br />

mount: mtab /dev/mapper/Volume00-LogVol01 /mnt/LVMtest <br />

<br />

4.4.5 <br />

Volume00 /dev/sdb2 <br />

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

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

Saved successfully!

Ooh no, something went wrong!