This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@server01][/mnt]# pvs | |
| PV VG Fmt Attr PSize PFree | |
| /dev/sdb libvirt_lvm lvm2 a-- 931.51g 841.51g | |
| /dev/sdc libvirt_lvm lvm2 a-- 931.51g 911.51g | |
| [root@server01][/mnt]# vgs | |
| VG #PV #LV #SN Attr VSize VFree | |
| libvirt_lvm 2 3 0 wz--n- 1.82t 1.71t | |
| [root@server01][/mnt]# lvs -a | |
| LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert | |
| my_raid1_test libvirt_lvm rwi-a-r--- 20.00g 53.81 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/foo_output_pipe/ConIo.cpp b/foo_output_pipe/ConIo.cpp | |
| index 16602cf..1c4533d 100644 | |
| --- a/foo_output_pipe/ConIo.cpp | |
| +++ b/foo_output_pipe/ConIo.cpp | |
| @@ -47,6 +47,7 @@ void CConIo::threadProc(void) | |
| CreateProcess(NULL, cmdline, NULL, NULL, TRUE, 0, NULL, NULL, &startup_info, &process_info); | |
| CloseHandle(child_input_read); | |
| +#if 0 | |
| if (child_input_write != INVALID_HANDLE_VALUE) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h" | |
| #include "ConIo.h" | |
| CConIo::CConIo(LPWSTR child) : isRunning(false) | |
| { | |
| lstrcpy(cmdline, child); | |
| } | |
| void CConIo::threadProc(void) |
NewerOlder