/l3/users/als/nt-scale/linux2.unix.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 |
|
#lvcreate --help
![]() lvcreate: Create a logical volume lvcreate [-A|--autobackup {y|n}] [--addtag Tag] [--alloc AllocationPolicy] [-C|--contiguous {y|n}] [-d|--debug] [-h|-?|--help] [--ignoremonitoring] [--monitor {y|n}] ... -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]} [-M|--persistent {y|n}] [--major major] [--minor minor] [-n|--name LogicalVolumeName] [--noudevsync] [-p|--permission {r|rw}] [-r|--readahead ReadAheadSectors|auto|none] [-t|--test] [-v|--verbose] [--version] [PhysicalVolumePath...] |
#lvcreate --help
lvcreate: Create a logical volume lvcreate [-A|--autobackup {y|n}] [--addtag Tag] [--alloc AllocationPolicy] [-C|--contiguous {y|n}] [-d|--debug] [-h|-?|--help] [--ignoremonitoring] [--monitor {y|n}] ... -L|--size LogicalVolumeSize[bBsSkKmMgGtTpPeE]} [-M|--persistent {y|n}] [--major major] [--minor minor] [-n|--name LogicalVolumeName] [--noudevsync] [-p|--permission {r|rw}] [-r|--readahead ReadAheadSectors|auto|none] [-t|--test] [-v|--verbose] [--version] [PhysicalVolumePath...] |
#lvdisplay
![]() --- Logical volume --- LV Name /dev/VG0/xen4vol VG Name VG0 LV UUID AFYO17-7jci-lEqr-Bwbt-MHCC-cR5e-HmvOQU LV Write Access read/write LV Status available # open 1 LV Size 60.00 GiB Current LE 15360 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 10.00 GiB Current LE 2560 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1 |
#lvdisplay
--- Logical volume --- LV Name /dev/VG0/xen4vol VG Name VG0 LV UUID AFYO17-7jci-lEqr-Bwbt-MHCC-cR5e-HmvOQU LV Write Access read/write LV Status available # open 1 LV Size 60.00 GiB Current LE 15360 Segments 1 ... LV Write Access read/write LV Status available # open 0 LV Size 10.00 GiB Current LE 2560 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1 |
#apt-cache search qemu
![]() aqemu - Qt4 front-end for QEMU and KVM qemubuilder - pbuilder using QEMU as backend etherboot-qemu - Bootstrapping for various network adapters (qemu) faumachine-data - Virtual machine running in user mode -- data files faumachine - Virtual machine running in user mode grub-firmware-qemu - GRUB firmware image for QEMU imvirt - detects several virtualizations libimvirt-perl - Perl module for detecting several virtualizations libvirt-bin - the programs for the libvirt library libvirt-dev - development files for the libvirt library ... libvirt-ruby1.8 - Ruby bindings for libvirt libvirt-ruby - Ruby bindings for libvirt scratchbox2 - Transparent cross compiling environment seabios - Legacy BIOS implementation simple-cdd - create custom debian-installer CDs vde2 - Virtual Distributed Ethernet vgabios - VGA BIOS software for the Bochs and Qemu emulated VGA card xen-qemu-dm-4.0 - Xen Qemu Device Model virtual machine hardware emulator xmount - tool to crossmount between multiple input and output harddisk images xserver-xorg-video-qxl - X.Org X server -- QXL display driver |
#apt-cache search qemu
aqemu - Qt4 front-end for QEMU and KVM qemubuilder - pbuilder using QEMU as backend etherboot-qemu - Bootstrapping for various network adapters (qemu) faumachine-data - Virtual machine running in user mode -- data files faumachine - Virtual machine running in user mode grub-firmware-qemu - GRUB firmware image for QEMU imvirt - detects several virtualizations libimvirt-perl - Perl module for detecting several virtualizations libvirt-bin - the programs for the libvirt library libvirt-dev - development files for the libvirt library ... libvirt-ruby1.8 - Ruby bindings for libvirt libvirt-ruby - Ruby bindings for libvirt scratchbox2 - Transparent cross compiling environment seabios - Legacy BIOS implementation simple-cdd - create custom debian-installer CDs vde2 - Virtual Distributed Ethernet vgabios - VGA BIOS software for the Bochs and Qemu emulated VGA card xen-qemu-dm-4.0 - Xen Qemu Device Model virtual machine hardware emulator xmount - tool to crossmount between multiple input and output harddisk images xserver-xorg-video-qxl - X.Org X server -- QXL display driver |
#apt-cache search xen
![]() aide-xen - Advanced Intrusion Detection Environment - static binary for XEN autopkgtest-xenlvm - Xen/LVM2 based testbed snapshot system autopkgtest - automatic as-installed testing for Debian packages claws-mail-themes - Pixmap icon themes for the Claws Mail mailer convirt - A graphical Xen management tool libdoxia-maven-plugin-java - A Maven plugin for Doxia libdoxia-sitetools-java - Extension package of the content generation framework Doxia libdoxia-java-doc - a powerful content generation framework libdoxia-java - a powerful content generation framework dtc-xen-firewall - A small firewall script for your dom0 ... xen-docs-4.0 - Documentation for Xen xen-hypervisor-4.0-amd64 - The Xen Hypervisor on AMD64 xen-utils-4.0 - XEN administrative tools xenstore-utils - Xenstore utilities for Xen libxenomai-dev - Headers and static libs for Xenomai libxenomai1 - Shared libraries for Xenomai linux-patch-xenomai - Linux kernel patches for Xenomai xenomai-doc - Xenomai documentation xenomai-runtime - Xenomai runtime utilities xenwatch - Virtualization utilities, mostly for Xen |
#apt-cache search xen
aide-xen - Advanced Intrusion Detection Environment - static binary for XEN autopkgtest-xenlvm - Xen/LVM2 based testbed snapshot system autopkgtest - automatic as-installed testing for Debian packages claws-mail-themes - Pixmap icon themes for the Claws Mail mailer convirt - A graphical Xen management tool libdoxia-maven-plugin-java - A Maven plugin for Doxia libdoxia-sitetools-java - Extension package of the content generation framework Doxia libdoxia-java-doc - a powerful content generation framework libdoxia-java - a powerful content generation framework dtc-xen-firewall - A small firewall script for your dom0 ... xen-docs-4.0 - Documentation for Xen xen-hypervisor-4.0-amd64 - The Xen Hypervisor on AMD64 xen-utils-4.0 - XEN administrative tools xenstore-utils - Xenstore utilities for Xen libxenomai-dev - Headers and static libs for Xenomai libxenomai1 - Shared libraries for Xenomai linux-patch-xenomai - Linux kernel patches for Xenomai xenomai-doc - Xenomai documentation xenomai-runtime - Xenomai runtime utilities xenwatch - Virtualization utilities, mostly for Xen |
#apt-get install xen-qemu-dm-4.0
![]() Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: etherboot mknbi The following NEW packages will be installed: etherboot mknbi xen-qemu-dm-4.0 0 upgraded, 3 newly installed, 0 to remove and 10 not upgraded. Need to get 29.6 MB of archives. After this operation, 34.7 MB of additional disk space will be used. ... (Reading database ... 129004 files and directories currently installed.) Unpacking etherboot (from .../etherboot_5.4.4-9_all.deb) ... Selecting previously deselected package mknbi. Unpacking mknbi (from .../mknbi_1.4.4-7_amd64.deb) ... Selecting previously deselected package xen-qemu-dm-4.0. Unpacking xen-qemu-dm-4.0 (from .../xen-qemu-dm-4.0_4.0.1-2_amd64.deb) ... Processing triggers for man-db ... Setting up etherboot (5.4.4-9) ... Setting up mknbi (1.4.4-7) ... Setting up xen-qemu-dm-4.0 (4.0.1-2) ... |
#apt-get install xen-qemu-dm-4.0
Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: etherboot mknbi The following NEW packages will be installed: etherboot mknbi xen-qemu-dm-4.0 0 upgraded, 3 newly installed, 0 to remove and 10 not upgraded. Need to get 29.6 MB of archives. After this operation, 34.7 MB of additional disk space will be used. ... (Reading database ... 129004 files and directories currently installed.) Unpacking etherboot (from .../etherboot_5.4.4-9_all.deb) ... Selecting previously deselected package mknbi. Unpacking mknbi (from .../mknbi_1.4.4-7_amd64.deb) ... Selecting previously deselected package xen-qemu-dm-4.0. Unpacking xen-qemu-dm-4.0 (from .../xen-qemu-dm-4.0_4.0.1-2_amd64.deb) ... Processing triggers for man-db ... Setting up etherboot (5.4.4-9) ... Setting up mknbi (1.4.4-7) ... Setting up xen-qemu-dm-4.0 (4.0.1-2) ... |
#cp /etc/xen/
![]() scripts/ winxp2/ xend-pci-permissive.sxp vm-linux2 xend-config.sxp xend-pci-quirks.sxp |
#cp /etc/xen/
![]() scripts/ winxp2/ xend-pci-permissive.sxp vm-linux2 xend-config.sxp xend-pci-quirks.sxp |
#cp /etc/xen/
![]() scripts/ winxp2/ xend-pci-permissive.sxp vm-linux2 xend-config.sxp xend-pci-quirks.sxp |
#cp /etc/xen/
![]() scripts/ winxp2/ xend-pci-permissive.sxp vm-linux2 xend-config.sxp xend-pci-quirks.sxp |
#cp /etc/xen/
![]() scripts/ winxp2/ xend-pci-permissive.sxp vm-linux2 xend-config.sxp xend-pci-quirks.sxp |
#cp /etc/xen/
![]() scripts/ winxp2/ xend-pci-permissive.sxp vm-linux2 xend-config.sxp xend-pci-quirks.sxp |
#cp /etc/xen/scripts/
![]() blktap network-route vtpm-delete block qemu-ifup vtpm-hotplug-common.sh block-common.sh vif2 vtpm-impl block-enbd vif-bridge vtpm-migration.sh block-nbd vif-common.sh xen-hotplug-cleanup external-device-migrate vif-nat xen-hotplug-common.sh locking.sh vif-route xen-network-common.sh logging.sh vscsi xen-script-common.sh network-bridge vtpm network-nat vtpm-common.sh |
#cp /etc/xen/scripts/
![]() blktap network-route vtpm-delete block qemu-ifup vtpm-hotplug-common.sh block-common.sh vif2 vtpm-impl block-enbd vif-bridge vtpm-migration.sh block-nbd vif-common.sh xen-hotplug-cleanup external-device-migrate vif-nat xen-hotplug-common.sh locking.sh vif-route xen-network-common.sh logging.sh vscsi xen-script-common.sh network-bridge vtpm network-nat vtpm-common.sh |
#ls /
![]() bin home lib32 mnt sbin tmp vmlinuz.old boot initrd.img lib64 opt selinux usr WinXP_SP3 dev initrd.img.old lost+found proc srv var etc lib media root sys vmlinuz |
#ls /
bin home lib32 mnt sbin tmp vmlinuz.old boot initrd.img lib64 opt selinux usr WinXP_SP3 dev initrd.img.old lost+found proc srv var etc lib media root sys vmlinuz |
#ssh user@192.168.15.1
![]() The authenticity of host '192.168.15.1 (192.168.15.1)' can't be established. RSA key fingerprint is 24:14:2b:8b:67:6a:26:a8:e4:eb:a5:6e:d0:00:a0:f0. Are you sure you want to continue connecting (yes/no)? Host key verification failed. |
#ssh user@192.168.15.1
![]() The authenticity of host '192.168.15.1 (192.168.15.1)' can't be established. RSA key fingerprint is 24:14:2b:8b:67:6a:26:a8:e4:eb:a5:6e:d0:00:a0:f0. Are you sure you want to continue connecting (yes/no)? Host key verification failed. |
#ssh user@192.168.15.1
![]() The authenticity of host '192.168.15.1 (192.168.15.1)' can't be established. RSA key fingerprint is 24:14:2b:8b:67:6a:26:a8:e4:eb:a5:6e:d0:00:a0:f0. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.15.1' (RSA) to the list of known hosts. user@192.168.15.1's password: Linux linux1 2.6.32-5-xen-amd64 #1 SMP Wed Jan 12 05:46:49 UTC 2011 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. l3-agent is already running: pid=2418; pidfile=/home/user/.lilalo/l3-agent.pid |
#ssh user@192.168.15.1
The authenticity of host '192.168.15.1 (192.168.15.1)' can't be established. RSA key fingerprint is 24:14:2b:8b:67:6a:26:a8:e4:eb:a5:6e:d0:00:a0:f0. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.15.1' (RSA) to the list of known hosts. user@192.168.15.1's password: Linux linux1 2.6.32-5-xen-amd64 #1 SMP Wed Jan 12 05:46:49 UTC 2011 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. l3-agent is already running: pid=2418; pidfile=/home/user/.lilalo/l3-agent.pid |
$ls
![]() blktap network-nat vtpm-common.sh block network-route vtpm-delete block-common.sh qemu-ifup vtpm-hotplug-common.sh block-drbd vif2 vtpm-impl block-enbd vif-bridge vtpm-migration.sh block-nbd vif-common.sh xen-hotplug-cleanup external-device-migrate vif-nat xen-hotplug-common.sh locking.sh vif-route xen-network-common.sh logging.sh vscsi xen-script-common.sh network-bridge vtpm |
$ls
blktap network-nat vtpm-common.sh block network-route vtpm-delete block-common.sh qemu-ifup vtpm-hotplug-common.sh block-drbd vif2 vtpm-impl block-enbd vif-bridge vtpm-migration.sh block-nbd vif-common.sh xen-hotplug-cleanup external-device-migrate vif-nat xen-hotplug-common.sh locking.sh vif-route xen-network-common.sh logging.sh vscsi xen-script-common.sh network-bridge vtpm |
$ls
![]() scripts winxp1 xend-pci-permissive.sxp xenscreenrc vm-linux1 xend-config.sxp xend-pci-quirks.sxp |
$ls
scripts winxp1 xend-pci-permissive.sxp xenscreenrc vm-linux1 xend-config.sxp xend-pci-quirks.sxp |
$cat winxp1
![]() # -*- mode: python; -*- #============================================================================ # Python configuration setup for 'xm create'. # This script sets the parameters used when a domain is created using 'xm create'. # You use a separate script for each domain you want to create, or # you can set the parameters for the domain on the xm command line. #============================================================================ #---------------------------------------------------------------------------- # Kernel image file. kernel = "hvmloader" ... # - /dev/stxx or stx # - /dev/sgxx or sgx # - result of 'scsi_id -gu -s'. # ex. # scsi_id -gu -s /block/sdb # 36000b5d0006a0000006a0257004c0000 # # VDEV gives virtual SCSI device by 4-tuples (XX:XX:XX:XX) as # which the specified guest domain recognize. # #vscsi = [ '/dev/sdx, 0:0:0:0' ] |
$cat winxp1
# -*- mode: python; -*- #============================================================================ # Python configuration setup for 'xm create'. # This script sets the parameters used when a domain is created using 'xm create'. # You use a separate script for each domain you want to create, or # you can set the parameters for the domain on the xm command line. #============================================================================ #---------------------------------------------------------------------------- # Kernel image file. kernel = "hvmloader" ... # - /dev/stxx or stx # - /dev/sgxx or sgx # - result of 'scsi_id -gu -s'. # ex. # scsi_id -gu -s /block/sdb # 36000b5d0006a0000006a0257004c0000 # # VDEV gives virtual SCSI device by 4-tuples (XX:XX:XX:XX) as # which the specified guest domain recognize. # #vscsi = [ '/dev/sdx, 0:0:0:0' ] |
$scp --help
![]() usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2 |
$scp --help
![]() usage: scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2 |
$scp ./winxp1 user@192.168.15.2:/etc/xen/winxp2
![]() The authenticity of host '192.168.15.2 (192.168.15.2)' can't be established. RSA key fingerprint is df:bf:5a:8a:20:50:bd:34:df:a6:ee:37:22:2f:3b:98. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.15.2' (RSA) to the list of known hosts. user@192.168.15.2's password: scp: /etc/xen/winxp2/winxp1: Permission denied |
$scp ./winxp1 user@192.168.15.2:/etc/xen/winxp2
![]() The authenticity of host '192.168.15.2 (192.168.15.2)' can't be established. RSA key fingerprint is df:bf:5a:8a:20:50:bd:34:df:a6:ee:37:22:2f:3b:98. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.15.2' (RSA) to the list of known hosts. user@192.168.15.2's password: scp: /etc/xen/winxp2/winxp1: Permission denied |
$scp ./winxp1 root@192.168.15.2:/etc/xen/winxp2
![]() root@192.168.15.2's password: winxp1 100% 14KB 14.5KB/s 00:00 |
$scp ./winxp1 root@192.168.15.2:/etc/xen/winxp2
root@192.168.15.2's password: winxp1 100% 14KB 14.5KB/s 00:00 |
#ls /etc/xen/
![]() scripts winxp2 xend-pci-permissive.sxp vm-linux2 xend-config.sxp xend-pci-quirks.sxp |
#ls /etc/xen/
scripts winxp2 xend-pci-permissive.sxp vm-linux2 xend-config.sxp xend-pci-quirks.sxp |
#~
![]() " ============================================================================ " Netrw Directory Listing (netrw v138) " /etc/xen/winxp2 " Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:exec " Sorted by name " ============================================================================ winxp1rt sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\. ../ "/etc/xen/winxp2" is a directory |
#~
" ============================================================================ " Netrw Directory Listing (netrw v138) " /etc/xen/winxp2 " Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:exec " Sorted by name " ============================================================================ winxp1rt sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\. ../ "/etc/xen/winxp2" is a directory |
#ls -la
![]() total 76 drwx------ 12 root root 4096 Feb 25 14:29 . drwxr-xr-x 23 root root 4096 Feb 25 14:09 .. drwx------ 2 root root 4096 Feb 24 16:49 .aptitude -rw------- 1 root root 1774 Feb 25 09:28 .bash_history -rw-r--r-- 1 root root 22 Feb 24 18:24 .bash_profile -rw-r--r-- 1 root root 608 Feb 24 18:08 .bashrc drwx------ 3 root root 4096 Feb 25 12:34 .dbus -rw-r--r-- 1 root root 0 Feb 25 12:27 do drwx------ 3 root root 4096 Feb 25 12:36 .gconf drwx------ 2 root root 4096 Feb 25 12:38 .gconfd -rw-r--r-- 1 root root 45 Feb 24 18:26 .l3rc drwxr-xr-x 2 root root 4096 Feb 25 14:29 .lilalo -rw-r--r-- 1 root root 149 Feb 24 18:04 .profile drwx------ 2 root root 4096 Feb 25 11:21 .ssh drwxr-xr-x 2 root root 4096 Feb 25 11:50 .uml drwxr-xr-x 2 root root 4096 Feb 24 16:49 .ure drwxr-xr-x 2 root root 4096 Feb 25 14:29 .vim -rw------- 1 root root 4134 Feb 25 14:29 .viminfo drwxr-x--x 2 root root 4096 Feb 25 12:34 .virt-manager |
#ls -la
total 76 drwx------ 12 root root 4096 Feb 25 14:29 . drwxr-xr-x 23 root root 4096 Feb 25 14:09 .. drwx------ 2 root root 4096 Feb 24 16:49 .aptitude -rw------- 1 root root 1774 Feb 25 09:28 .bash_history -rw-r--r-- 1 root root 22 Feb 24 18:24 .bash_profile -rw-r--r-- 1 root root 608 Feb 24 18:08 .bashrc drwx------ 3 root root 4096 Feb 25 12:34 .dbus -rw-r--r-- 1 root root 0 Feb 25 12:27 do drwx------ 3 root root 4096 Feb 25 12:36 .gconf drwx------ 2 root root 4096 Feb 25 12:38 .gconfd -rw-r--r-- 1 root root 45 Feb 24 18:26 .l3rc drwxr-xr-x 2 root root 4096 Feb 25 14:29 .lilalo -rw-r--r-- 1 root root 149 Feb 24 18:04 .profile drwx------ 2 root root 4096 Feb 25 11:21 .ssh drwxr-xr-x 2 root root 4096 Feb 25 11:50 .uml drwxr-xr-x 2 root root 4096 Feb 24 16:49 .ure drwxr-xr-x 2 root root 4096 Feb 25 14:29 .vim -rw------- 1 root root 4134 Feb 25 14:29 .viminfo drwxr-x--x 2 root root 4096 Feb 25 12:34 .virt-manager |
#ls -la /etc/xen
![]() total 56 drwxr-xr-x 4 root root 4096 Feb 25 14:29 . drwxr-xr-x 129 root root 12288 Feb 25 11:50 .. drwxr-xr-x 2 root root 4096 Feb 24 16:56 scripts -rw-r--r-- 1 root root 7556 Feb 25 11:20 vm-linux2 drwxr-xr-x 2 root root 4096 Feb 25 14:28 winxp2 -rw-r--r-- 1 root root 10187 Feb 25 12:36 xend-config.sxp -rw-r--r-- 1 root root 1256 Jun 21 2010 xend-pci-permissive.sxp -rw-r--r-- 1 root root 4129 Jun 21 2010 xend-pci-quirks.sxp |