ubuntu备份笔记
ls -shdu -h --max-depth=1 /root/opt/
qemu-img create hdaxp.img -f qcow 9G
kvm -no-acpi -m 768 -cdrom windowxp.iso -hda hdaxp.img -boot d
kvm -m 768 -hda hdaxp.img
windows
WQ6Y9-R966G-TGFPP-2GHDH-9TGVT
"共享存储.jpeg"还那么改一下查看
apt-get install open-iscsi
apt-get install tgt
apt-get install lvm2
参考http://libvirt.org/
dd if=/dev/zero of=./fed count=0 bs=1M seek=3000
virsh create winxp.xml
iscis tgtd
# yum install scsi-target-utilsLoaded plugins: rhnplugin, securityThis system is not registered with RHN.RHN support will be disabled.Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package scsi-target-utils.x86_64 0:0.0-5.20080917snap.el5 set to be updated--> Processing Dependency: perl(Config::General) for package: scsi-target-utils--> Running transaction check---> Package perl-Config-General.noarch 0:2.40-1.el5 set to be updated--> Finished Dependency ResolutionDependencies Resolved====================================================================================== Package Arch Version Repository Size======================================================================================Installing: scsi-target-utils x86_64 0.0-5.20080917snap.el5 dvd-clusterstorage 114 kInstalling for dependencies: perl-Config-General noarch 2.40-1.el5 dvd-clusterstorage 69 kTransaction Summary======================================================================================Install 2 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 182 kIs this ok : yDownloading Packages:--------------------------------------------------------------------------------------Total 105 MB/s | 182 kB 00:00 Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning TransactionInstalling : perl-Config-General 1/2 Installing : scsi-target-utils 2/2 Installed:scsi-target-utils.x86_64 0:0.0-5.20080917snap.el5 Dependency Installed:perl-Config-General.noarch 0:2.40-1.el5 Complete!# tgtd#
页:
[1]