全文検索:
- 77 LVMのサイズ変更
- て/を増やす ===== 状態確認 ===== <code console> # df -h Filesystem Size Used Avail Use% Mounted on... mapper/VolGroup-lv_home -r # mount /home/ # df -h Filesystem Size Used Avail Use% Mounted on... per/VolGroup-lv_root resize2fs 1.39 (29-May-2006) Filesystem at /dev/mapper/VolGroup00-LogVol00 is mount... /VolGroup00-LogVol00 to 26214400 (4k) blocks. The filesystem on /dev/mapper/VolGroup00-LogVol00 is now 2
- SonicWall があるとfile_get_contents,fsockopen が利用できない。
- m/sonicwallkb/consumer/kbdetail.asp?kbid=3582]] -file_get_contents.php <?php $httpfile = file_get_contents("http://www.google.com/index.html"); prin
- 03 Linux swapスペース追加
- ===== 確認コマンド ===== <code console> # swapon -s Filename Type ... 6432 -1 /SwapFile file 1023992 11128 -2 </code> ===== 解除 =
- 05 umask
- 0022 ------- Directory 755 File 644 777 0002 ------- Directory 775 File 664 ===== 確認方法 ===== <code> $ umask 0
- 19 vgextend
- Group00/LogVol00 resize2fs 1.41.12 (17-May-2010) Filesystem at /dev/VolGroup00/LogVol00 is mounted on /... /VolGroup00/LogVol00 to 12541952 (4k) blocks. The filesystem on /dev/VolGroup00/LogVol00 is now 12541952
- 35 GPT対応大容量ディスクにパーティションを追加(parted)
- ) mkpart Partition name? []? iscsi-target-data-1 File system type? [ext2]? ext3 Start? 0 ... ition Table: gpt Number Start End Size File system Name Flags 1 0.00GB
- 改行コードを変換(dos2unix)
- ats.pl: /usr/bin/perl^M: bad interpreter: No such file or directory cat -v で確認可能です。 $ cat -v disk_sta... dos2unix disk_stats.pl dos2unix: converting file disk_stats.pl to UNIX format ... ===== unix2dos
- 09 Linux rescue ドライバあり
- volume to 50.00 GB THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce LogVol01
- 10 fsckでエラー
- dev/mapper/hogehoge e2fsck 1.39 (29-May-2006) The filesystem size (according to the superblock) is 20971
- 11 mountでエラー
- t -t ext2 /dev/mapper/hogehoge /mnt/hogehoge # df Filesystem 1K-blocks Used Available Use
- 25 LVM内のLVMをマウント
- l00 # mount /dev/tmpGroup/LogVol00 /mnt/ # df -h Filesystem Size Used Avail Use% Mounted on
- 92 Gitコマンド
- matsui@fl8.jp core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=tr
- CentOS syslog-ng
- ダウンロード ====== [[http://www.balabit.com/downloads/files?path=/syslog-ng/sources/3.2.2/source|syslog-ng V
- GRUBで起動しない
- \\ grub> root (hd0,0) \\ root (hd0,0) \\ Filesystem type is ext2fs, partition type 0xfd \\ grub
- ソフトウェアraid構築
- mkfs -t ext4 /dev/md0 # mount /dev/md0 /mnt # df Filesystem 1K-blocks Used Available Use