2009-02-07から1日間の記事一覧

LVMの論理ボリュームを追加する

LVの容量を変更する $ lvm lvcreate -L 512M -n LogVol02 VolGroup00

echoコマンドの出力の色を変更する

コマンド $ echo -e '\e[VALUE[;VALUE..]mSTRINGS\e[m' VALUE Text attributes 0 All attributes off 1 Bold on 4 Underscore (on monochrome display adapter only) 5 Blink on 7 Reverse video on 8 Concealed on Foreground colors 30 Black 31 Red 32 Gr…

CentOS5でLVM上のext3ファイルシステムのパーティションを縮小する

ハードディスク構成 [root@localhost ~]# fdisk -l Disk /dev/sda: 8589 MB, 8589934592 bytes 255 heads, 63 sectors/track, 1044 cylinders Units = シリンダ数 of 16065 * 512 = 8225280 bytes デバイス Boot Start End Blocks Id System /dev/sda1 * 1 1…