投稿

10月, 2014の投稿を表示しています

command まとめ

NetworkManager example をみる man nmcli-examples interface の設定を見る nmcli c show configured em1 interface の起動 nmcli c up em1 device の確認 nmcli device status IP address の変更 nmcli c mod ipv4.addresses="" LVM 関連 physical volume (PG) の作成 # pvcreate /dev/sdc1 Physical volume "/dev/sdc1" successfully created # pvs PV VG Fmt Attr PSize PFree /dev/sda2 fedora_bldsv09 lvm2 a-- 29.31g volume group の作成 # vgcreate fcs /dev/sdc1 Volume group "fcs" successfully created # vgs VG #PV #LV #SN Attr VSize VFree fcs 1 0 0 wz--n- 1.95t 1.95t fedora_bldsv09 1 2 0 wz--n- 29.31g Logical Volume を作成する。全体の容量を指定 # lvcreate -L 1.95t -n fcs_lv fcs Rounding up size to full physical extent 1.95 TiB Logical volume "fcs_lv" created # vgs VG #PV #LV #SN Attr VSize VFree fcs 1 1 0 wz--n- 1.95t 3.20g fedora_bldsv09 1 2 0 wz--n- 2