/usr/share/doc/HOWTO/ja-html/LVM-HOWTO-5.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
<TITLE>Logical Volume Manager HOWTO: $B%U%!%$%k%7%9%F%`$r3HD%$9$k(B</TITLE>
<LINK HREF="LVM-HOWTO-6.html" REL=next>
<LINK HREF="LVM-HOWTO-4.html" REL=previous>
<LINK HREF="LVM-HOWTO.html#toc5" REL=contents>
</HEAD>
<BODY>
<A HREF="LVM-HOWTO-6.html">$B<!$N%Z!<%8(B</A>
<A HREF="LVM-HOWTO-4.html">$BA0$N%Z!<%8(B</A>
<A HREF="LVM-HOWTO.html#toc5">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s5">5.</A> <A HREF="LVM-HOWTO.html#toc5">$B%U%!%$%k%7%9%F%`$r3HD%$9$k(B</A></H2>
<P>$B?'!9$J@_Dj$,$G$-$k%9%/%j%W%H$,$"$C$F!"$3$N:n6H$O$=$l$r;H$C$F9T$($^$9!#I,MW$G(B
$B$"$l$P!"%9%/%j%W%H$r;H$o$:$K(B 1 $B$D(B 1 $B$D<B9T$b$G$-$^$9!#(B</P>
<H2><A NAME="ss5.1">5.1</A> <A HREF="LVM-HOWTO.html#toc5.1">e2fsadm $B$r;H$C$F(B</A>
</H2>
<P>$B%\%j%e!<%`!&%0%k!<%WFb$K6u$-$,$"$j!"(Bext2 $B%U%!%$%k%7%9%F%`$r;H$C$F$$$k$J$i(B
($B0lHLE*$K;HMQ$5$l$F$$$^$9(B)$B!";H$$>!<j$NNI$$$3$N%D!<%k$,;H$($^$9!#(B</P>
<P><CODE>e2fsadm</CODE> $B%3%^%s%I$O!">&MQ$N(B resize2fs $B%D!<%k$rMxMQ$7$F$$$^$9!#(B
$BNI$$%=%U%H%&%'%"$H$$$&I>H=$G$9$,!"9-$/;H$o$l$F$$$k$o$1$G$O$"$j$^$;$s!#(B</P>
<P>FSF $B$N(B <CODE>ext2resize</CODE> $B$r;H$&$J$i!"(B
<CODE>e2fsadm</CODE> $B$K>pJs$r2<5-$N$h$&$K$7$FEO$9I,MW$,$"$j$^$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# export E2FSADM_RESIZE_CMD=ext2resize
# export E2FSADM_RESIZE_OPTS=""
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B8e$O4JC1$G$9!#(B<CODE>e2fsadm</CODE> $B$OB>$N(B LVM $B$N%3%^%s%I$HHs>o$K$h$/;w$F$$$^$9(B
$B$N$G!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# e2fsadm /dev/test/HOWTO -L+50M
e2fsadm -- correcting size 102 MB to physical extent boundary 104 MB
e2fsck 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/test/HOWTO: 11/25688 files (0.0% non-contiguous), 3263/102400 blocks
lvextend -- extending logical volume "/dev/test/howto" to 104 MB
lvextend -- doing automatic backup of volume group "test"
lvextend -- logical volume "/dev/test/HOWTO" successfully extended
ext2_resize_fs
ext2_grow_fs
ext2_block_relocate
ext2_block_relocate_grow
ext2_grow_group
ext2_add_group
ext2_add_group
ext2_add_group
ext2_add_group
ext2_add_group
ext2_add_group
direct hits 4096 indirect hits 0 misses 1
e2fsadm -- ext2fs in logical volume "/dev/test/HOWTO" successfully extended to 104 MB
</PRE>
</CODE></BLOCKQUOTE>
</P>
<H2><A NAME="ss5.2">5.2</A> <A HREF="LVM-HOWTO.html#toc5.2">$BO@M}%\%j%e!<%`$r3HD%$9$k(B</A>
</H2>
<P><CODE>e2fsadm</CODE> $B$G$3$N:n6H$O9T$($^$9$,!"(B<CODE>e2fsadm</CODE> $B$r;H$o$J$$J}K!$r(B
$BM}2r$7$F$*$$$F$bB;$O$J$$$H;W$$$^$9!#(B</P>
<P>
<BLOCKQUOTE><CODE>
<PRE>
# lvextend -L+12M /dev/test/HOWTO
lvextend -- rounding size to physical extent boundary
lvextend -- extending logical volume "/dev/test/HOWTO" to 116 MB
lvextend -- doing automatic backup of volume group "test"
lvextend -- logical volume "/dev/test/HOWTO" successfully extended
</PRE>
</CODE></BLOCKQUOTE>
</P>
<H2><A NAME="ss5.3">5.3</A> <A HREF="LVM-HOWTO.html#toc5.3">$B%\%j%e!<%`!&%0%k!<%W$r3HD%$9$k(B</A>
</H2>
<P>$B$3$l$O(B vgextend $B%f!<%F%#%j%F%#$r;H$$$^$9$,!"$H$F$b4JC1$G$9!#$^$::G=i$K(B
$BJ*M}%\%j%e!<%`$r:n$j$^$9!#$3$l$O(B <CODE>pvcreate</CODE> $B%f!<%F%#%j%F%#$r;H$$$^$9!#(B
$B$3$N%D!<%k$r;H$C$F%V%m%C%/!&%G%P%$%9$rJ*M}%\%j%e!<%`$KCV$-49$($^$9!#(B</P>
<P>$B$=$l$,=*$C$?8e$K!"(B<CODE>vgextend</CODE> $B$r<B9T$7$^$9!#(B
<BLOCKQUOTE><CODE>
<PRE>
# pvcreate /dev/sda1
pvcreate -- physical volume "/dev/sda1" successfully created
# vgextend webgroup /dev/sda1
vgextend -- INFO: maximum logical volume size is 255.99 Gigabyte
vgextend -- doing automatic backup of volume group "webgroup"
vgextend -- volume group "webgroup" successfully extended
</PRE>
</CODE></BLOCKQUOTE>
</P>
<P>$B$*$\$($F$*$$$FM_$7$$$3$H$O!"$3$l$r<B9T$9$k$K$O!"%\%j%e!<%`!&%0%k!<%W$,(B
$B%"%/%F%#%V$G$"$kI,MW$,$"$k$H$$$&$3$H$G$9!#!V(Bvgchange -a y webgroup$B!W$r(B
$B<B9T$9$l$P%"%/%F%#%V$K$G$-$^$9!#(B</P>
<H2><A NAME="ss5.4">5.4</A> <A HREF="LVM-HOWTO.html#toc5.4">$B%U%!%$%k%7%9%F%`$r3HD%$9$k(B</A>
</H2>
<P>$B%D!<%k$r;H$o$:$K<B8=$7$?$$$J$i!"$$$/$D$+$NJ}K!$,$"$j$^$9!#(B</P>
<H3>$B%*%U%i%$%s>uBV$N(B ext2 $B$r(B ext2resize $B$r;H$C$F(B</H3>
<P>$B%*%U%i%$%s$H$O!"%U%!%$%k%7%9%F%`$N%^%&%s%H$r30$7$F!"$3$l$+$i9T$&JQ99:n6H(B
$B$,$G$-$k>uBV$N$3$H$r;X$7$^$9!#%U%!%$%k%7%9%F%`$d$=$NCf$N%G!<%?$O!"$3$N(B
$B>uBV$G$OMxMQ$9$k$3$H$,$G$-$^$;$s!#$D$^$j!"(Broot $B$dB>$N=EMW$J%Q!<%F%#%7%g%s$NBg$-$5(B
$B$rJQ99$9$k>l9g$O!"B>$K%V!<%H$G$-$kG^BN$,I,MW$H$J$k$3$H$rK:$l$J$$$G$/$@$5$$!#(B</P>
<P>ext2resize $B%D!<%k$O!"(BGNU $B$N(B ftp $B%5%$%H$+$i<h$C$F$3$i$l$^$9$,!"BgDq$N%G%#%9(B
$B%H%j%S%e!<%7%g%s$O!"%Q%C%1!<%8$N(B 1 $B$D$H$7$FMQ0U$7$F$"$j$^$9!#;H$$J}$O$H$F$b4JC1(B
$B$G$9!#(B
<BLOCKQUOTE><CODE>
<PRE>
# ext2resize /dev/HOWTO/small 40000
</PRE>
</CODE></BLOCKQUOTE>
40000 $B$H$$$&?t;z$O!"3HD%$b$7$/$O=L>.$5$l$?8e$N%U%!%$%k%7%9%F%`$N%V%m%C%/?t$G$9!#(B</P>
<H3>$B%*%s%i%$%s>uBV$N(B ext2 </H3>
<P>FIXME: $B$3$3$K=q$$$F$/$@$5$$!#(B</P>
<HR>
<A HREF="LVM-HOWTO-6.html">$B<!$N%Z!<%8(B</A>
<A HREF="LVM-HOWTO-4.html">$BA0$N%Z!<%8(B</A>
<A HREF="LVM-HOWTO.html#toc5">$BL\<!$X(B</A>
</BODY>
</HTML>
|