全文検索:
- 39 💻logrotateのテスト
- == 実際に本番を想定してCronで実行する。 これは10:00に実行する例 <code> 0 10 * * * bash -x /etc/cron.daily/logrotate > /tmp/lo
- 40 CentOS6 yum使えない
- centos.org/centos/6/os/x86_64/Packages/usermode-1.102-3.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "... irror. Error Downloading Packages: usermode-1.102-3.el6.x86_64: failure: Packages/usermode-1.102-3.el6.x86_64.rpm from base: [Errno 256] No more mirro
- HDD丸ごとコピー(リモートも可)
- -USR1 プロセスID 下記のような感じで表示される。 <code console> 712107+0 records in 712106+0 records out 364598272 bytes (365 MB) copied, 64.4686 s, 5.7 MB/s </code> =... # dd if=/dev/sdb1 | gzip -1 - | ssh root@192.168.101.33 dd of=sdb1.gz # dd if=/dev/VolG00/LogVol01 bs=1M | gzip -1 - | ssh root@192.168.101.33 dd of=LogVol01.gz bs=1M </code> ==== sshを通し
- 91 転送量計算 ssd hdd
- = ^ 規格 ^ インターフェース速度 ^ 実行データレート ^ |ATA100|1.0Gbps|100MB/s| |SATA1.0|1.5Gbps|150MB/s| |SATA2.0|3.0Gbps|
- 63 Adaptech set priority 優先度変更
- : 1 Task ID : 101 Current operation : Rebuild S... ==== <code> # /usr/StorMan/arcconf setpriority 1 101 LOW </code> ==== 再確認 ==== <code> # /usr/StorMan... : 1 Task ID : 101 Current operation : Rebuild S
- 64 Adaptech WriteBack設定
- AY2 RAID level : 10 Status of logical device : Opt... AY2 RAID level : 10 Status of logical device : Opt... ==== 性能 ==== WriteBack Disabled # dbench -t 10 4 Throughput 154.849 MB/sec 4 clients 4 procs... tency=119.115 ms WriteBack Enabled # dbench -t 10 4 Throughput 1432.61 MB/sec 4 clients 4 procs
- 61 AdaptechでHotSpreを使う
- : Present (Controller:1,Enclosure:0,Slot:10) 9WK2Z37E00009125U7DB Segment 9 ... losure:0,Slot:11) 9WK162K20000C10353VP Segment 10 : Present (Controll... Model : ST31000424SS Firmware
- 62 Adaptechでディスク交換
- Model : ST31000424SS Firmware ... : 1 Task ID : 100 Current operation : Rebuild S
- 60 adaptech_raidのledランプを付ける.
- ent 0 : Present (0,10) 9WK2YZ770000C1244YVH Segment 1 ... s Reported Channel,Device(T:L) : 0,10(10:0) Reported Location : Enclosure 0, Slot 2 Reported ESD(T:L) ... Model : ST31000424SS Firmware
- ソフトウェアRaid削除
- rsion : 1.2 Creation Time : Wed Sep 9 20:26:10 2020 Raid Level : raid0 Array Siz... persistent Update Time : Wed Sep 9 20:26:10 2020 State : clean Active Devic
- 35 GPT対応大容量ディスクにパーティションを追加(parted)
- End? 1024 </code> === 確認 === <code console> (parted) pri... Model: Adaptec raid06 (scsi) Disk /dev/sdb: 10996GB Sector size (logical/physical): 512B/512B Pa... ystem Name Flags 1 0.00GB 1024GB 1024GB iscsi-target-data-1 </code> === parted終了 === <code console> (parted) quit
- 3PAR SNMP設定
- === SNMP マネージャーの登録 ===== [[01_linux:04_監視:zabbix:10_zabbixでsnmptrapを受信する|]] トラップ設定はなどで <code console... 4 3PAR cli% showsnmpmgr HostIP Port 192.168.10.100 162 </code> ==== テストトラップ送信 ==== こちらのコマンドで、showsnmpmgrで確認したIPへテストトラップを送信する。 3PAR cli% checksn
- 29 screenに外からコマンド
- reenを用意しておいて、マルチスレッドで動かす <code> ZONE="A" THREAD=10 declare -A ZONES=( ["A"]="192.168.10.11" ["B"]="192.168.11.11" ["C"]="192.16
- 15 ddで進捗を確認
- 2+0 records out 22521217024 bytes (23 GB) copied, 1025.83 s, 22.0 MB/s 62914560+0 records in 62914560... root@testvm ~]# dd if=/dev/zero of=zero.dat count=100000000 & [1] 7647 [root@testvm ~]# watch kill -US
- 38 プロセスのPTSを別のPTSへ出力
- de> $ ps auxw| grep z.sh matsui 24870 0.0 0.0 106108 1156 pts/94 S+ 21:46 0:00 /bin/bash ./z.sh $ ll /proc/24870/fd/ total 0 lrwx------ 1 mats