Virtual disks are not showing up in LDom


 
Thread Tools Search this Thread
Operating Systems Solaris Virtual disks are not showing up in LDom
Prev   Next
# 1  
Old 04-07-2014
Virtual disks are not showing up in LDom

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:
Code:
ldm add-vdsdev /dev/dsk/c0t5000CCA015354CB4d0s0 vol5@primary-vds0
ldm add-vdisk vdisk5 vol5@primary-vds0 ldg1

At this point I booted my VM and saw the new disk:
Code:
[root@vm-sol: /]# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0d0 <SUN-DiskSlice-279GB cyl 46874 alt 2 hd 20 sec 625>
          /virtual-devices@100/channel-devices@200/disk@0
       1. c0d1 <SUN-DiskSlice-279GB cyl 46874 alt 2 hd 20 sec 625>
          /virtual-devices@100/channel-devices@200/disk@1
Specify disk (enter its number): ^C

At this point I shutdown the VM and tried to add two new disks, but neither of them show up in my VM:
Code:
ldm add-vdsdev /dev/dsk/c0t5000CCA0153542A4d0s0 vol6@primary-vds0
ldm add-vdisk vdisk6 vol6@primary-vds0 ldg1
...
ldm add-vdsdev /dev/dsk/c0t5000CCA0153596A4d0s0 vol7@primary-vds0
ldm add-vdisk vdisk7 vol7@primary-vds0 ldg1

My VM is still showing the same disk selection as before:
Code:
AVAILABLE DISK SELECTIONS:
       0. c0d0 <SUN-DiskSlice-279GB cyl 46874 alt 2 hd 20 sec 625>
          /virtual-devices@100/channel-devices@200/disk@0
       1. c0d1 <SUN-DiskSlice-279GB cyl 46874 alt 2 hd 20 sec 625>
          /virtual-devices@100/channel-devices@200/disk@1

Here are my partition tables for the 3 disks I attempted to add:
Code:
c0t5000CCA015354CB4d0 (added successfully)
partition> print
Current partition table (original):
Total disk cylinders available: 46873 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
  1 unassigned    wm       0                0         (0/0/0)             0
  2     backup    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
  3 unassigned    wm       0                0         (0/0/0)             0
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6 unassigned    wm       0                0         (0/0/0)             0
  7 unassigned    wm       0                0         (0/0/0)             0

c0t5000CCA0153542A4d0 (unsuccessful)
partition> print
Current partition table (original):
Total disk cylinders available: 46873 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
  1 unassigned    wm       0                0         (0/0/0)             0
  2     backup    wm       0 - 46872      279.38GB    (46873/0/0) 585912500
  3 unassigned    wm       0                0         (0/0/0)             0
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6 unassigned    wm       0                0         (0/0/0)             0
  7 unassigned    wm       0                0         (0/0/0)             0

c0t5000CCA0153596A4d0 (unsuccessful)
partition> print
Current partition table (original):
Total disk sectors available: 585921082 + 16384 (reserved sectors)

Part      Tag    Flag     First Sector         Size         Last Sector
  0        usr    wm               256      279.39GB          585921082
  1 unassigned    wm                 0           0               0
  2 unassigned    wm                 0           0               0
  3 unassigned    wm                 0           0               0
  4 unassigned    wm                 0           0               0
  5 unassigned    wm                 0           0               0
  6 unassigned    wm                 0           0               0
  8   reserved    wm         585921083        8.00MB          585937466

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?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Virtual Terminal (Console) showing non-global zone?

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)
Discussion started by: LonnieTC
3 Replies

2. Solaris

Missing ASM Disks in Solaris 11.3 LDOM

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)
Discussion started by: gull04
7 Replies

3. Solaris

LDOM Solaris 11 add Network vsw (Virtual switch)

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)
Discussion started by: Wittman
4 Replies

4. Solaris

Virtual Switch in Solaris LDOM

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)
Discussion started by: praveensharma21
7 Replies

5. Red Hat

Java process showing high virtual memory

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)
Discussion started by: mritusmoi
2 Replies

6. Solaris

Disks aren't showing up in Solaris/OBP

(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)
Discussion started by: bstring
15 Replies

7. Solaris

How to create virtual disks in solaris

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)
Discussion started by: malikshahid85
1 Replies

8. Linux

LVM (volume manager) and virtual disks

: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)
Discussion started by: otheus
4 Replies
Login or Register to Ask a Question