I have an Oracle VM set up with 1 virtual disk. I am trying to add 2 new disks to it. I was able to successfully add 1 (it appears when I run "format" in the VM) but when I add the second and third disks they do not appear in my VM.
Here are the commands I ran:
At this point I booted my VM and saw the new disk:
At this point I shutdown the VM and tried to add two new disks, but neither of them show up in my VM:
My VM is still showing the same disk selection as before:
Here are my partition tables for the 3 disks I attempted to add:
That third disk has a different looking partition table, I'm not sure why. But it looks like the full disk space is on slice 0 so I attempted to add that after my second disk addition failed.
My VM has a ZFS root filesystem, and I was attempting to add these 2 new disks and create a new zpool. Any ideas?
You will need to specify the option for it :
Or use the entire disk without the slice option :
I would also advice to create vds for every ldom, not use primary for everything.
Remeber if you add slice (any slice), you use <disk>s0 inside ldom.
If you add entire disk you use either s2 or without slice for zpool creation.
The third disk with 'weird' partition table is actualy entire disk added (s2) and during the creation of the zpool inside of ldom no slice as used (c2d0 for instance).
This enables you to import the zpool on both architectures (x86 or sparc).
You will need to specify the option for it :
Or use the entire disk without the slice option :
Hm I'm curious, is the options=slice required? Because I was able to add the first disk (or first slice rather?) successfully without it.
Quote:
I would also advice to create vds for every ldom, not use primary for everything.
Ah yes, this is probably good advice. I am a novice administrator, and I was just learning as I read the instructions. Moving forward I shall try to keep this in mind.
Quote:
The third disk with 'weird' partition table is actualy entire disk added (s2) and during the creation of the zpool inside of ldom no slice as used (c2d0 for instance).
This enables you to import the zpool on both architectures (x86 or sparc).
Ah, interesting. I wasn't aware of this, and I just used the format -e option to write an SMI label to disk to it matched the formatting of my other disks. I am not sure the purpose of this, I was simply trying to match the layout of my other disks...
After I labeled "c0t5000CCA0153596A4d0" with an SMI label, I was able to add slice 0 "c0t5000CCA0153596A4d0s0" as a virtual disk to my VM, and it showed up as a third disk. I am still unsure why my "c0t5000CCA0153542A4d0s0" did not show up properly as a virtual disk inside my VM, I will investigate later. But as for now it looks like my task is complete.
Slice options is required if you are adding .. well slice.
You can add it without slice, but inside ldom you won't be able to use it as zpool vdev.
I personally like using slices, since it gives me much more flexibility. Slice with Solaris SVM for mirroring (if no external storage) and i use MD devices to add to LDOM(s)
Beware tho, Oracle Solaris 11.1 you must have 17.5 patchset if this to work.
They had the bug from 12.5 forward, which rendered SVM devices on slices unusable inside ldom (it didn't boot with strange messages in syslog).
Of course, because of SVM's great flexibility workaround was to break to mirror, boot from one mirror member, add another, and use mirroring inside ldom.
The downside of this is obvious, if an internal disk fails, you will need to replace and mirror inside every ldom that is using mirrored slices, instead of doing it centrally via SVM on control domain.
Hope that everyone is doing well today. Happy Friday.
I am running an illumos (opensolaris) based system which is like SmartOS, OmniOS, and OpenIndiana
I have been searching all over the Internet into various documents and forms that have to do with Solaris, Opensolaris, Illumos, and SmartOS... (3 Replies)
Hi Guys,
Just a quick question hopefully someone will have seen this before and will be able to enlighten me.
I have been doing some Infrastructure Verification Testing and one of the tests was booting the primary domain from alternate disks, this all went well - however on restarting one of... (7 Replies)
hello, I have a problem when configuring the network at the LDOM level, on a SPARC-Enterprise-T5120 machine
The network goes through VLAN 503 (level, network tagget)
And I need to give network to the guest domain: madarrwebsol10
I hope someone can bring some light ....
Excuse my English ...
... (4 Replies)
Hi,
Our existing environment is having primary domain and 3 guest domains are running over it. See the attached image.
Now we want to add a new primary virtual switch and move LDOM3 to be connected with new primary switch.
So, I am not sure how to achieve this because. If I remove the... (7 Replies)
Hi All,
I have a java process which is showing high virtual memory utilization in client server. But the same process is showing comparitively lesser virtual memory consumption. I understand that virtual memory shown is not of much importance for the general user in normal condition, my client... (2 Replies)
(Disclaimer: I put this in the "dummies" section because I am a UNIX noob and I'm not really sure what I'm doing so I felt like it belonged here. If it belongs in the Solaris section I can delete this and post it there:b:)
I was handed over an Oracle SPARC T3-1 machine at work, with 8 physical... (15 Replies)
Hi,
I have installed oracle 10g release 2 on solaris 10 Zone. I want to configure ASM in local Zone using virtual disks in place of real disks.
I have configured ASM using virtual disks in place real disk in Solaris 10 Global zone. How i can do in local Zone
Kindly guid me with proper... (1 Reply)
:eek:
Hi guys,
I'm pulling my hair out over this one. I am trying to set up a virtual server environment. ( I am using VirtualBox, but I think this is irrelevant to this problem.) I have downloaded a pre-packaged Linux virtual disk, with which I have successfully started a virtual instance of a... (4 Replies)