Ubuntu Servers :: KVM - Deleted Virtual HD While VM Was Running
Oct 8, 2010
I've accidentally removed (rm -r) the ubuntu-kvm folder that stores the virtual partitions of my VM. The VM itself is still running. The machine is still accessible over the net (it is a webserver) but since there is no more virtual storage I guess there is no way to regain its contents. Are there any steps I can do to regain the machine? I guess if I just reinstall the machine by means of vmbuilder all newly created discs will be more or less blank.
I am a novice in the world of cloud and recently managed to configure Ubuntu 9.04 Cloud (using kvm, eucalyptus and other packages) successfully at my college for my project work. The problem is that i can only manage to view the running instance using rdesktop from any remote machine. Is there any way to do this other than rdesktop/logs? Secondly, I want to develop a application on the lines of google docs as a part of my project. Is it possible to install apache server on this virtual instance, and host a website? How will the client access this website? Which frameworks would be required or do I have to develop one?
I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3.I shut down the PC intermediately after noticing this.Is there any chance of recovering the files? Would they be able to mount to the same or another virtual machine?I need to get this information somehow, there are no backups.
I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The host OS is CentOS 5.5, which I believe by default uses Ext3.I shut down the PC intermediately after noticing this.Is there any chance of recovering the files? Would they be able to mount to the same or another virtual machine?I need to get this information somehow, there are no backups.Which software can I use?
I am looking for a version of vmware that manages 2 severs at the same time and that mirrors them such that if one goes down we can still work on the second and of course it also works as a backup. Also, must work on a ubuntu server I have looked but there are so many version that I don't know which one is the best.
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
I'm new to Ubuntu (at least on server distributions). I used debian versions for a long time and thought, to try ubuntu LTS 10.0.4, because of the long time support cycle. I had problems, to install this distribution on a x86 platform (used with ASUS P4B533-v), because of kernel panic after installation. So I used a trick to get it running. I installed Ubuntu LTS 8.04 and compiled a kernel 2.6.34 and made a distupgrade. All went o.k. and is now running as a productive system.
My question now belongs to the used pid folder /var/run. I'm using some self compiled programs and had to create a separatly folder (e.g. /var/run/stunnel). My problem is, after rebooting the system, the folder is deleted automatically! Never saw this issue on other distributions. Is there any reason why? Of course, I can write a section in my init script, searching for existing folder and if not, creating it ...
I am running into a very strange problem where my my .htaccess file keep getting deleted.Attempted scenarios ftp upload file.txt rename to .htaccess ftp upload .htaccess ssh - wget url/.htaccess ssh - wget url/htaccess.txt, rename to .htaccess
I have installed 'VirtualBox' on my lucid lynx and want to load the Microsoft XP OS. When I start the virtualization I get this message in the VirtualBox terminal---"Fatal: Could not read from the boot medium! System Halted."--- What could be the problem?
from a local machine i connect to the remote via the terminal:$ ssh -X firstname.lastname@example.org VirtualBoxthe vb dialog box appears with the list of the virtual machines on the left hand side, just as if i was runing it locally, but when i try and start one of the machines it crashes the connection!why dose it crash the connection and what can i do to make this work?
I am getting seriously tired of running MS Office in a virtual machine. It's been about 18 months since I tried running in on Wine, so I just checked out WineHQ and CodeWeavers and apparently usability hasn't improved at all.
I keep trying to use OpenOffice but whenever I open PowerPoint presentations they are always kind of messed up. This week, somebody sent me an MS Word file for printing labels for a mail merge and the label template file opened up blank. Anybody else have any brilliant work arounds or am I still stuck with my MS Office VirtualBox!! It's really hard to believe that its 2011 and Linux is still missing a world-class Office Suite...
We are running IPmonitor to monitor the disk usage on our Linux servers. It does not seem to coincide with what is reported when running df -h. For example on a Red Hat 5.3 server - our IPmonitor shows that 85% is used on the /usr partition, however when I do a df -h on the server it shows that 91% is used. Why there would be a discrepancy? IPmonitor uses SNMP.
I want to do two things: Set up a virtual machine on Windows 7 to run Ubuntu Set up a way for the virtual machine to read the windows disk or windows to have read/write access to the virtual machine's disk. My goal is to have a place where both Ubuntu and Windows can read and write. What software is good for this task? Are their free programs that can run virtual machines? Also if my machine is running Windows 7 64-bit, can I install Ubuntu 32-bit? Or am I forced to use Ubuntu 64-bit? Or does it not matter?
I have a VM setup in VirtualBox of Win XP. This VM has been setup for well over 4 years.
All of a sudden today, the VM started running very slow. I checked the task manager in Windows, nothing eating up PCU or memory there. I then ran htop. Attached is what I saw. There are many repeat processes with different PIDs. Is this normal?
I have and old scanner, Canoscan 3200F, which is not supported by sane. It will not run in Wine, because there is no Sane support. Does anyone know if I was to install a Windows OS in Virtual Box would that enable me to run it or would I have the same problem as I have with Wine?
i just finished successfully installing a virtual machine and windows xp. the windows setup finished no errors, but now when i try to boot up it gives me the blue screen of death (see attachment). after the bsod it just reboots.
note: in the screenshot it doesn't look blue but it is. i couldn't pause it so then it would show blue so it ended up black.
My /var/ partition continues to fill up on all my servers, and it is because the logs in /var/log/apache2 or /var/log/mysql are being deleted during log rotate, but their file handles are being held open. Thus, a "du -sh /var/log" shows the correct values, but "df | grep /var" shows something much different.
It seems that the log files rotate, however if I run "lsof | grep deleted" it returns lots of files that are no longer visible in the directory, however refuse to clear themselves off the disk.
The only way I have found to make these log files go away (and thus clear up the disk space on the partition I should have) is to restart either apache or mysql, depending on which process has huge sized log files being held open.
Is it just me, or is this a big flaw in the way linux works, that it can't figure out how to release file handle for a log so the disk space can be reclaimed? This is happening to me a lot lately.
Here is some output from one of my web servers so you can see what I am seeing...
root@web49:~# df -h | grep /var$ Filesystem Size Used Avail Use% Mounted on /dev/sda8 9.2G 6.1G 2.7G 70% /var root@web49:~# du -sh /var
I've decided to format my netbook entirely and just run NBR. I still need a windows install because a lot of stuff still doesn't work correctly in wine.
will running a virtual windows install kill mu netbooks battery life quickly or is it the same as running any other program? also what's a good virtual OS program? I think the only one I know of it vmware or something?
I have 3 boxes running opensuse-11.4 64 bit - Phenom-I 2.6 GHz, Intel Q9400 quad core 2.66 GHz and Intel SU7300 dual core 1.3 GHz (the last one is a laptop). When I run a KVM virtual machine and load it quite a lot all host OS freeze. Interestingly, the laptop works the longest (hours), while the fastest system with Q9400 freezes in max. 10 minutes. After a hard reboot there is nothing in /var/log/messages This bug is 100% reproducible. The guest OS is either RHEL or openSUSE. Is it a 11.4 bug or I am missing something? Have not tried the same hardware with RHEL-6.
I'm installing a new server after this weekend, and it musth have both windows server 2008 r2 and linux (probably ubuntu) running, but I'm wondering which one of them I should run virtual. Windows will be used mostly for rdp and for serving asp.net webpages, linux will host some django-applications and a postgreSQL server etc.
My hostmachine is Windows, and install Ubuntu on a virtual machine. I developed some program on Ubuntu. Suppose I want to transfer these files to a folder in Windows. How to find and get these files, which logically are stored in the virtual machine.
I am facing an issue with 100% CPU usage under my system when running VirtualBox. Here are some further details:
My System Information:
CPU 1 name: Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz CPU 1 level 1 cache size: 32K Data cache. 32K Instruction cache. CPU 1 level 2 cache size: 1024K Unified cache. CPU 1 Mips: 2926.20
Well, each time I run Windows XP from my VirtualBox, I see the CPU usage at almost 100%. I experience a slow system even if no programs were running on my hosted Windows XP version.
I was wondering if there is a way for me to play with the settings so I can slightly enhance the performance. My PC is relatively fast under my Linux operating system. I need to know if there are some tips that I may follow when configuring the settings of my VirtualBox so i can achieve better results.
I'm just trying to know if is there is a way to run the first version of linux in a virtual machine. Since I am very new to this, my aim is to learn something basic on how the first version of linux kernel was built and worked.
I have removed Network Manager Gnome from my Ubuntu which is a virtual machine(Guest OS),I see the internet is no more running inside this Virtual Machine.While in other Virtual Machines (Other Linux) I had not removed Network Manager Gnomeand I see internet is running fine in them.
I cant get my linux server ( centos5 ) with virtualbox run 2 virtual machines in headless mode. Only one machine gets network connection. Can anyone tell me how to make 2 or more virtual machines work with 1 eth-port in headless mode using virtualbox ?