Shared virtual disks and linux installation
Dear all,
when i add some shared virtual disk to the virtual machine and start the instsallation of oracle linux i face a major performance issue and the system takes a long time to boot and linux cd's and start the instsallation process, i don't know why this issue is happening to me but it is giving me alot of troubes. i had to buy a new machine with husge configuration to try oracle VM and i feel like i bought for no benifits at all
your help will be appreciated/
Avi,
Actually, if you have one server HA would do nothing for you. You need at least two servers for HA to be useful.
Also I would believe that since you only have one 500 gig drive I am sure it is a sata drive that you are using. That drive is running your Dom0 plus all other DomU's. The shared drive is a file on the filesystem under the /OVS directory your DomU system drive is a file on the /OVS filesystem. While your experience is still a little odd it would run but be really slow. You say that without the shared drive it runs OK so my first thought would be to drop the shared disk and recreate it since it sounds like you have nothing on it at this point in time anyway.
Could be that the file for the shared disk became corrupt with something else you had done.
Similar Messages
-
OVS 2.2 Shared Virtual Disk
I have created a Shared Virtual Disk and created a filesystem on it via one of my VMs. I have also mounted it on another VM. Anything that VM#1 creates on the shared disk can't be seen by VM#2 and vice-versa. Is this the way the shared disk is supposed to work?
ratdude wrote:
I have created a Shared Virtual Disk and created a filesystem on it via one of my VMs. I have also mounted it on another VM. Anything that VM#1 creates on the shared disk can't be seen by VM#2 and vice-versa. Is this the way the shared disk is supposed to work?You have to run a clustered filesystem like OCFS2 on both machines for changes to be visible on all nodes at the same time. Just having the disk shared is not enough. This is exactly the same as connecting two physical machines to the same hard drive. :) -
OVM 3.1.1 shared virtual disk
Hi All,
Is it possible to configure shared virtual disk in OVS 3.1.1 as it was in OVS 2.x ?
Thanks in advanceWell, I haven't used MS cluster, but I'd think it should work, since the same disk is presented to each VM it is attached to and it is absolutely transparent to the guests where this disk comes from. All that the guests are seeing is the same device, where they all can operate on at the same time.
-
Hey,
I had on my synology a iSCSI Lun created. Now I connect this iSCSI lun with my Windows Server 2012R2. Create on this connection a VHDX virtual harddisk.
When I try to ad this vhdx file to an VM as shared disk I become the error that the storage is not the right for shared virtual disk.
Thanks for help
Stefan
Viele Grüße Stefan
Kontakt unter [email protected]Hey,
I had on my synology a iSCSI Lun created. Now I connect this iSCSI lun with my Windows Server 2012R2. Create on this connection a VHDX virtual harddisk.
When I try to ad this vhdx file to an VM as shared disk I become the error that the storage is not the right for shared virtual disk.
Thanks for help
Stefan
It does not work this way... Making long story short you need to connect to LUN, create CSV on top of it and create shared VHDX there. For details see:
http://blogs.technet.com/b/storageserver/archive/2013/11/25/shared-vhdx-files-my-favorite-new-feature-in-windows-server-2012-r2.aspx
http://www.aidanfinn.com/?p=14936
http://technet.microsoft.com/en-us/library/dn265980.aspx
Hope this helped! Good luck! :)
StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts. -
Understanding Virtual Disks and Sparse Allocation
1. From the doc here , i understand that allocation is fast when "Sparse Allocation" is used while creating a virtual disk and is slow when using non-sparse allocation. But does this mean that we are just talking about allocation alone? i.,e a one time activity - creation.
2. If my repository has 1TB space , then i see that i can create 'n' Virtual Disks each with a size of more than a 1TB(i.e, lets say 3-4 VDisks each with a size of 1TB); whereas, if i use non-sparse allocation, then i have to have the sum of the sizes of the disks to be lesser than 1TB.
FYI : I get an error if i allocate more than the space available: "OVMRU_002032E Excl-BigRepos - Repository size not large enough for new virtual disk of size: 999,999,999"
3. When i install OVS on a RAID-1 partition(with two virtual disks - say 100GB and 400GB), then, OVS picks up the 100GB disk by default and installs in there. And this 100GB is not 'visible' henceforth. Reasons?1. Correct. Spare allocation means as the data is written the disk is expanded. This means, you're doing two operations as opposed to one with non sparse allocation. Thus, when writing to a virtual disk with a sparse allocation, the "write" could take longer if the disks doesn't have free space available.
2. Too a degree.... Yes. It depends on what storage you're using. On some storage, using compression and deduplication, this is not entire accurate. But, this is independent of anything to do with Oracle VM. Many storage environments now use "virtual allocation".
3. The default "LUN" used by by OVS can not be used for anything else. It is reserved. You will not able to use any free space on that LUN. The OVM manager expect "raw disks/LUN/shares" to used as storage. Such storage my be free of any filesystem, partition or etc. The Pools and repos necessary to run Oracle VM use a ocfs2 filesystem. -
Hyper-V 3 Virtual SAN and Linux support
Hello!!
Please, I'd like to know about Hyper-V 3 Virtual SAN and Linux support. I need to bind some LUNs to a hosted SuSE (or even other distro, I can migrate if needed).
Thanks a lot.
narfUnfortunatelly I have to work with my actual SAN.
Do you know which one is faster: access my disk via Virtual HBA or mapped via SCSI on Hyper-V?
narf
map it via scsi which will keep it away from the system volume and safer
Corsair Carbide 300R with window
Corsair TX850V2 70A@12V
Asus M5A99FX PRO R2.0 CFX/SLI
AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
G.SKILL RipjawsX DDR3-2133 8 GB
EVGA GTX 6600 Ti FTW Signature 2(Gk104 Kepler)
Asus PA238QR IPS LED HDMI DP 1080p
ST2000DM001 & Windows 8.1 Enterprise x64
Microsoft Wireless Desktop 2000
Wacom Bamboo CHT470M
Place your rig specifics into your signature like I have, makes it 100x easier to understand!
Hardcore Games Legendary is the Only Way to Play! -
When creating a virtual shared disk oracle VM Manager -> Resources -> Shared Virtual Disks the only option you have are
Virtual Disk Name:
Virtual Disk Size:
Server Pool name:
Group Name:
Description:
My question is how do you know what this virtual disk is mapped to? i.e. SAN, NFS, LOCAL DISK?
Also how do you specific what disk to use ideally I would like the virtual disk to use a 150GB LUN from my SAN?With the exception of multipath devices (and plain files obviously), there is no user interface for other kinds of devices for back end storage for DomUs, but Xen supports them. You have to edit the config yourself. They are in /OVS/running_pool/<name>/vm.cfg
Look for the disk = line and edit it to something like this:
disk = [
'phy:/dev/DomUDisk2/LVOracleApp,xvda,w',
In this case, I used a local LVM logical volume as back end storage (/dev/DumUDisk2) and I mapped it to the paravirtual device in the vm (xvda). You have to do something similar. I don't have a SAN/HBAs, but assuming your LUN shows up on Dom0 as /dev/sda, you might give a try to something like:
disk = ['file:/OVS/running_pool/myvm/System.img,hda,w', # or whater you want to do for the boot/root disk
*'phy:/dev/sda,xvda,w',* ]
Once this works, you might want to configure multipath if your hardware supports it.
Best of luck, keep us posted. -
Windows Virtual PC and XP installation fails, with eror code: 80070002
Windows Virtual PC and XP installation of: RefreshPkg.msu, fails, with eror code: 80070002
I have tried to look around for at fix but with no luck so far, PLEASE HELP !
Incl. CBS log with error:
2014-02-21 16:30:10, Info CBS Clearing HangDetect value
2014-02-21 16:30:10, Info CBS Saved last global progress. Current: 1, Limit: 1, ExecuteState: CbsExecuteStateFailed
2014-02-21 16:30:10, Info CBS Doqe: Unlocking driver updates, Count 3
2014-02-21 16:30:10, Info CBS WER: Generating failure report for package: Microsoft-Windows-VirtualPC-Package-TopLevel-MergedCab~31bf3856ad364e35~amd64~~7.1.7600.16393,
status: 0x80070002, failure source: AI, start state: Staged, target state: Installed, client id: WindowsUpdateAgent
2014-02-21 16:30:10, Info CBS Failed to query DisableWerReporting flag. Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2014-02-21 16:30:10, Info CBS Failed to add %windir%\winsxs\pending.xml to WER report because it is missing. Continuing without it...
2014-02-21 16:30:10, Info CBS Failed to add %windir%\winsxs\pending.xml.bad to WER report because it is missing. Continuing without
it...
2014-02-21 16:30:11, Info CBS SQM: Reporting package change completion for package: Microsoft-Windows-VirtualPC-Package-TopLevel-MergedCab~31bf3856ad364e35~amd64~~7.1.7600.16393,
current: Staged, original: Staged, target: Installed, status: 0x80070002, failure source:
AI, failure details: "Firewall Rule 80070002 40 Install (first install) Microsoft-Windows-VirtualPC-Application, Culture=neutral, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=amd64, versionScope=NonSxS ",
client id: WindowsUpdateAgent, initiated offline: False, execution sequence: 917, first merged sequence: 917
2014-02-21 16:30:11, Info CBS SQM: Upload requested for report: PackageChangeEnd_Microsoft-Windows-VirtualPC-Package-TopLevel-MergedCab~31bf3856ad364e35~amd64~~7.1.7600.16393,
session id: 142862, sample type: Standard
2014-02-21 16:30:11, Info CBS SQM: Ignoring upload request because the sample type is not enabled: Standard
2014-02-21 16:30:11, Info CBS Startup: Package: Microsoft-Windows-VirtualPC-Package-TopLevel-MergedCab~31bf3856ad364e35~amd64~~7.1.7600.16393
completed startup processing, new state: Staged, original: Staged, targeted: Installed. hr = 0x80070002
2014-02-21 16:30:11, Info CBS Startup: Package: Microsoft-Windows-VirtualPC-Package-MiniLP~31bf3856ad364e35~amd64~ar-SA~7.1.7600.16393 completed
startup processing, new state: Staged, original: Staged, targeted: Installed. hr = 0x800f0826
2014-02-21 16:30:11, Info CBS Startup: Package: Microsoft-Windows-VirtualPC-Package-MiniLP~31bf3856ad364e35~amd64~cs-CZ~7.1.760See ZDnet article Microsoft releases fix for Windows Update corruption errors found @
http://www.zdnet.com/microsoft-releases-fix-for-windows-update-corruption-errors-7000026582/
The Microsoft KB article is found @
http://support.microsoft.com/kb/947821
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” -
Cannot see more than one shared virtual disk at a time
I have multiple virtual disks configured and as I add them to the specific virtual machine im using it modifies the vm.cfg as follows:
disk = ['file:/OVS/running_pool/110_openfiler/System.img,hda,w',
',hdc:cdrom,r',
'file:/OVS/sharedDisk/openfiler-ocs-u01.img,hdd,w!',
'file:/OVS/sharedDisk/openfiler-ocs-u02.img,hde,w!',
'file:/OVS/sharedDisk/openfiler-SAN-test.img,hdf,w!',
when the machine boots up the contents of /dev only contains the shared drive hdd, thus I cannot see hde or hdf.
One thing I tried was to edit the vm.cfg after adding the shared drives to the machine to mimic:
disk = ['file:/OVS/running_pool/110_openfiler/System.img,hda,w',
',hdc:cdrom,r',
'file:/OVS/sharedDisk/openfiler-ocs-u01.img,sda,w!',
'file:/OVS/sharedDisk/openfiler-ocs-u02.img,sdb,w!',
'file:/OVS/sharedDisk/openfiler-SAN-test.img,sdc,w!',
This allows me to see all three drives when I issue fdisk -l
Disk /dev/hda: 105.2 GB, 105226698752 bytes
255 heads, 63 sectors/track, 12793 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 12539 100615095 83 Linux
/dev/hda3 12540 12793 2040255 82 Linux swap / Solaris
Disk /dev/sda: 20.9 GB, 20971520512 bytes
255 heads, 63 sectors/track, 2549 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 2550 20480000 ee EFI GPT
Disk /dev/sdb: 20.9 GB, 20972569088 bytes
255 heads, 63 sectors/track, 2549 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 2550 20481024 ee EFI GPT
Disk /dev/sdc: 104.8 GB, 104857600512 bytes
255 heads, 63 sectors/track, 12748 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 12749 102400000 ee EFI GPT
but then my question becomes... could this cause any potential problems?I found that there are 4 IDE disks and 7 SCSI disks at most for HVM guest on Oracle VM 2.1 version. For IDE disks, The available disknames are from hda to hdd; and for SCSI disks, are from sda to sdg. you may make test about it. :)
Message was edited by:
Changhai -
I am unable to create a file system on a large (> 2TB disk) virtual disk for a Linux VM. I can create the disk, attach it to the VM, partition it with "parted", but I cannot run mkfs.ext4. Details below.
Hyper-V 2012 Core (w/ all Windows/Microsoft updates as of 4/19).
CentOS 6.4 VM w/ 4 virtual processors, 4GB RAM, and 3 dynamic drives:
/dev/sda 100GB IDE dynamic vhdx
/dev/sdb 75GB IDE dynamic vhdx
/dev/sdc 10TB SCSI dynamic vhdx
Using parted, created 500GB partition on the 10TB drive (/dev/sdc1).
(parted) select /dev/sdc
Using /dev/sdc
(parted) print
Model: Msft Virtual Disk (scsi)
Disk /dev/sdc: 11.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 500GB 500GB production_archive
then run: mkfs.ext4 /dev/sdc1
repeating error on console from mkfs.ext4:
INFO: task mkfs.ext4:2581 blocked for more than 120 seconds
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Runaway error in var/log/messages until my /var system filled up - 25G worth of it:
-rw-------. 1 root root 25085329408 Apr 19 23:15 messages
Apr 19 17:39:28 nfs2 kernel: sd 4:0:0:0: [sdc] Sense Key : No Sense [current]
Apr 19 17:39:28 nfs2 kernel: sd 4:0:0:0: [sdc] Add. Sense: No additional sense information
Apr 19 17:39:28 nfs2 kernel: hv_storvsc vmbus_0_13: cmd 0x93 scsi status 0x2 srb status 0x6
Same problem happens when running "mkfs.ext4 -E lazy_itable_init=1 /dev/sdc1"Hi,
Thank you for your post.
I am trying to involve someone familiar with this topic to further look at this issue.
Lawrence
TechNet Community Support -
Virtual domains and their installation
Hello again Alex,
and anyone else able to enlighten me.
Thank you all for your help the last time I was in need.
I'm setting up Postfix by editing the postfix files directly without using server admin due to it's limitations. Especially since I'm using an external GW in a DMZ along with an internal server delivering the mail.
And now I would like to add virtual domains using "Postfix virtual MAILBOX example: separate domains, non-UNIX accounts". Is this possible with OS X?
I have read what is on postfix.org, I have read what is in Alex's installation guide but there are a few things I'm not getting.
I've created the virtual domains and all that stuff but I'm not getting the creation of user access. Do you mean I actually need to create each and every user acessing mail in Workgroup manager?
Could you point me to some information that bypasses the use of server admin but is still usefull in setting up mail under OS X. I don't want to use SA since I do not want to ruin my manual setup of the Postfix files.
Kind regards
HansAre you then saying it would be easier to define the
users in workgroup manager and use a couple of
aliases for each user acessing mail?
Definitely easier, but with the limitations you already know.
Is it possible, using this method to use names like
[email protected], [email protected] etc. rather than
[email protected], [email protected] etc.
Sure, just follow my tutorial.
And when
logging into the mailservice do I then have to use
the full [email protected] as a user login name to
access the virtual mailboxes?
Yes, full name with domain.
And is it correct to assume that when using the
server for more than one domain I need to define the
first as a local domain and the rest as virtual
domains?
Yes (if you want to have "hans" as a different user in each domain).
Alex
P.S. Just make a backup fo main.cf so you can copy paste changes that might get hosed by Server Admin. Once your setup is complete, adding users through WGM or aliases through /etc/postfix/virtual will not touch main.cf -
Web sharing - virtual hosts and CGI
This topic might be a bit advanced for this forum, I'm not sure. But here goes.
I'm trying to set up my laptop to act like a web server so that I can do test development on it. I have two web sites, and have successfully created virtual hosts for each of them.
The part that I'm struggling with now is enabling CGIs, as I want to learn to write CGIs in Perl. I can't seem to find any site that discusses how this is done in Leopard. One said something like "just put the CGIs into /Library/WebServer/CGI-Executables and it'll work", but of course, since I've got virtual hosts defined, it seems that anything addressed to "localhost" defaults to the first virtual host and thus there is no way to refer to a CGI placed in that location. Besides which, I'd like to know how to enable CGIs placed in a folder on each of my virtual sites, so that I could test them in place.
Any ideas?One said something like "just put the CGIs into /Library/WebServer/CGI-Executables and it'll work", but of course, since I've got virtual hosts defined, it seems that anything addressed to "localhost" defaults to the first virtual host and thus there is no way to refer to a CGI placed in that location.
That is an incorrect assumption.
By default, Apache is configured to recognize any URI that begins with /cgi-bin and serve that request via a CGI script in /Library/WebServer/CGI-Executables
This is true even though each site's DocumentRoot is set somewhere else on the file system (that's by design since it makes it harder for a remote attacker to affect your CGIs)
Since it does not matter which site the request was on, any /cgi-bin request would be served from there, so:
http://www.domain1.com/cgi-bin/some.cgi
http://www.domains2.net/cgi-bin/other.cgi
would both be served from /Library/WebServer/CGI-Executables even though they are for two different virtual hosts.
Now, of course, if you want each site to be separate and have its own set of CGIs (maybe some.cgi for domain1 does something different from some.cgi on domain2) then this approach causes problems. For this you will need to edit each site to have its own cgi-bin directory.
Unfortunately (although I haven't tested it) I think Matt's solution won't work because Apache is going to catch all /cgi-bin/ requests and serve them from /Library/WebServer/CGI-Executables, never getting to the cgi-bin directory within each site's documentroot.
To set site-specific CGI directories you need to add a ScriptAlias command to each site's .conf, such as:
ScriptAlias /cgi-bin/ /path/to/site/cgi-bin/
This tells apache that any request for /cgi-bin/* should be served from /path/to/site/cgi-bin
Ideally the path should be outside of the site's normal document root, but it can be inside if you really want. -
IgnoreSysPrereqs and Linux installs
Oracle People,
For Oracle 10gR2 installs,
I'm trying to figure out some of the details behind the
ignoreSysPrereqs
option to runInstaller.
If I run runInstaller with no options,
it will look at various attributes of my Linux OS.
Where might I find a list of the shell commands it is using
to gather information about the target host?
I'm assuming they are shell commands. Perhaps they are Java calls
or an execution of a compiled executable?
Next, I'm curious about what runInstaller does after it gets the
information it wants from the OS.
Obviously it must try to "join" the information with a list of
OS attributes which are stored on the installation cdrom.
If it gets a match, it allows the install to continue.
Where is this list of OS attributes found on the installation cdrom?
-OwenWhere might I find a list of the shell commands it is using to gather information about the target host?
I'm assuming they are shell commands. Perhaps they are Java calls or an execution of a compiled executable?Checks are invoked from java. To check the system parameters OUI could use two methods:
1. OS commands
2. Reading configuration from /proc (and in some cases /etc) directly
To find out what OUI executing or reading you can use "strace" command. (Note: Reading and good understanding of output needs some experience/knowledge with Linux).
Next, I'm curious about what runInstaller does after it gets the information it wants from the OS.
Obviously it must try to "join" the information with a list of OS attributes which are stored on the installation cdrom.
If it gets a match, it allows the install to continue.It checks a "minimum requirements" for correct functionality of Oracle (note: minimum requirements). So if you are using higher values in your kernel parameters (for example) then you still met the requirements.
Where is this list of OS attributes found on the installation cdrom?Try look at database/stage/prereq directory.
There is (for example) database/stage/prereq/db/refhost.xml which specifies reuirements for OS parameters/packages and memory (keyword: minimum requirements). -
I have a question. I've got Virtual PC 7 installed on my 15" Powerbook 1.67 Ghz under Tiger and I'm trying to get CentOS loaded and running. I get it loaded, but I can not get the X windows to run. I've read all over the net about setting the Depth to 16 and video to S3 Trio64 (generic) 800x600 and still no luck. It either kicks me out of X with an error pointing me using the wrong video mode or places me in X with a black screen and only a movable white "X" with nothing to click on. I
I can get Ubuntu 6.06 desktop loaded and it works.
I've been to http://vpc.visualwin.com/ and seen their list of what works and doesn't and from their list CentOS 3.8 should install with no issues.
If anyone is running any non-Microsoft OS's under VPC 7 on a PowerPC please list which distro and version and what settings if any from the default install you had to do in order to get it up and running.
Thanks,
Mikehas anybody implemented Oracle app server and oracle 10g database on the Oracle Linux OS? Yes, of course. Linux OEL is our standard OS for both of them.
Is this easy to get up and running?
We have absolutely zero linux experience!Nothing is easy when you don't know it.... -
I used disk management to set up a virtual disk on the hard drive. I copied data into the virtual disk. A few days later, the directory which contained the virtual disk and the virtual disk, itself was gone. Nothing in the recycle folder.
Fortunately, the content of the virtual disk had been backed up, but how do I prevent this from happening again? (Windows 8.1, Update for Windows 8.1 for x64-based Systems (KB2887595)
Installation date: 11/16/2013 12:16 PM
Installation status: Succeeded)Windows is not normally in the habit of deleting your files. You need not take special action because it's not supposed to do that in the first place.
There are some notable exceptions...
"Broken" desktop shortcuts are cleaned up.
Certain files under Windows.old are cleaned up after a few days.
Systems infected with malware lose files.
Systems experiencing disk failures may lose data from the hard drive.
Is it possible you accidentally moved it to a nearby folder? That can happen when an attempt to click on something is interpreted as a drag because of a small mouse movement.
Also be sure and check the integrity of your file system with CHKDSK.
-Noel
Detailed how-to in my eBooks:
Configure The Windows 7 "To Work" Options
Configure The Windows 8 "To Work" Options
Maybe you are looking for
-
I purchased my Macbook (17") through a certified apple tecnition in August 2012, it was refurbished and the motherboard was completely replaced. I do a lot of photo editing, but I have been unable to do so because of the red vibrating lines that inte
-
Error when creating SAP source-system in RSA1
hi, we have a new bi-installation. the bi-system is running in the SAME system as our erp 2005-system is running. the bi-client is 700, our source-system (FI/CO) client is 101. I want to create a source-system in RSA1. at the end i get the following
-
How can I compare the lengths of two objects in a picture?
I imagine there should be some sort of floating ruler hovering over each object and some cutting work to do to overlay one object on top of another while one object being transparent so that the length discrepancy is transparent.
-
Getting the page number were my ads are placed
Hello, I have a 100 page book that have about 3 ads on everypage. I would like to right a script the loops through the pages and collect up what ads are on what page. Does any have a sample of a operation like this. I not asking for anyone to write t
-
Wrong Depreciation value for subsequent years for further acquisition
Hi All, Need immediate help...I have a dep key with Unit of Produciton. The method being used is Usage/Remaining and the Base Value is 24 - Net Book Value. I had posted an acq. on 01.01.2009...it depreciates perfectly as per my usage--say till period