Sponsored Content
Operating Systems Solaris Sharing a physical disk with an LDOM Post 303042241 by Michele31416 on Thursday 19th of December 2019 12:32:56 PM
Old 12-19-2019
Sharing a physical disk with an LDOM

I have a guest LDOM running Solaris 10U11 on a Sun T4-1 host running Solaris 11.4. The host has a disk named bkpool that I'd like to share with the LDOM so both can read and write it. The host is hemlock, the guest is sol10.
Code:
root@hemlock:~# zpool list
NAME    SIZE  ALLOC  FREE  CAP  DEDUP  HEALTH  ALTROOT
bkpool  832G   253G  579G  30%  1.00x  ONLINE  -
rpool   832G   666G  166G  80%  1.00x  ONLINE  -

I followed the directions here Using Virtual Disks With Logical Domains but they didn't work.
Code:
root@hemlock:~# ldm add-vdsdev /dev/dsk/c0t5000C50070FFBF07d0s2 vdiskbk@primary-vds0 
root@hemlock:~# ldm add-vdisk vdskbk1 vdiskbk@primary-vds0 sol10 root@hemlock:~#

The disk is question is disk 0:
Code:
root@hemlock:~# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0t5000C50070FFBF07d0 <SEAGATE-ST900MM0006-0001-838.36GB>
          /scsi_vhci/disk@g5000c50070ffbf07
          /dev/chassis/SYS/HDD2/disk
       1. c1t3A0D19F2BE2346CEd0 <LSI-Logical Volume-3000-837.26GB>
          /pci@400/pci@1/pci@0/pci@4/scsi@0/iport@v0/disk@w3a0d19f2be2346ce,0

I stopped and restarted the LDOM, but there is no sign of /bkpool there.
Code:
# ls /dev/dsk
c0d0s0  c0d0s3  c0d0s6  c0d1s1  c0d1s4  c0d1s7  c0d2s1  c0d2s4
c0d0s1  c0d0s4  c0d0s7  c0d1s2  c0d1s5  c0d2    c0d2s2  c0d2s5
c0d0s2  c0d0s5  c0d1s0  c0d1s3  c0d1s6  c0d2s0  c0d2s3  c0d2s6
# zpool list
NAME   SIZE  ALLOC  FREE  CAP  HEALTH  ALTROOT
rpool  596G  10.0G  586G   1%  ONLINE  -
#

But according to the host, the disk is there
Code:
root@hemlock:~# ldm list-services
VCC
    NAME         LDOM         PORT-RANGE
    primary-vcc0 primary      5000-5100

VSW
    NAME         LDOM         MACADDRESS          NET-DEV   DVID|PVID|VIDs
    ----         ----         ----------          -------   --------------
    primary-vsw0 primary      xx:xx:xx:xx:xx:xx   net1      1|1|--       

VDS
    NAME         LDOM         VOLUME         OPTIONS          MPGROUP        DEVICE
    primary-vds0 primary      vol1                                           /sol10dsk
                              voliso         ro                              /export/home/michele/Downloads/sol-10-u11-ga-sparc-dvd.iso
                              vdiskbk                                        /dev/dsk/c0t5000C50070FFBF07d0s2

I'm stuck. What am I doing wrong?

UPDATE:

Actually it seems like the guest does know about the bkpool disk:
Code:
# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c0d1 <SUN-DiskImage-600GB cyl 17064 alt 2 hd 96 sec 768>
          /virtual-devices@100/channel-devices@200/disk@1
       1. c0d2 <SEAGATE-ST900MM0006-0001-838.36GB>
          /virtual-devices@100/channel-devices@200/disk@2

So I guess now the question is simply how do I make c0d2 available in the Solaris 10 LDOM? I'd like the final result to be that the LDOM contains a mountpoint named /bkpool that holds the contents of the disk.

Last edited by Michele31416; 12-19-2019 at 05:04 PM..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

physical volume and physical disk.

Hello, I need explanations about physical disks and physical volumes. What is the difference between these 2 things? In fact, i am trying to understand what the AIX lspv2command does. Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies

2. HP-UX

determine the physical size of the hard disk

Hi is there a cmd in hpux 11 to determine the physical size of the hard disk. not bdf command. i have searched the other threads here but cant find an answer. thank you guys (4 Replies)
Discussion started by: hoffies
4 Replies

3. Solaris

List all resources on physical host LDOM server

Hello, I have a SUN T5240 running Solaris 10 with Logical Domain Manager (v 1.0.3). You can use the "ldm" command to display current resources on the box. Is there away to display all the "physical resources" on the box(i.e.,used and unused). For example, "ldm ls" will tell me what the... (5 Replies)
Discussion started by: stephanpitts
5 Replies

4. Solaris

Sharing a local disk between to solaris machines

Hi, I recently added a disk on a solaris 9 and I wanted to make it accessible for another machine, using the same name here is what i did : On the machine holding the internal disk in vfstab i added the line /dev/dsk/c1t1d0s4 /dev/rdsk/c1t1d0s4 /SHARED2 ufs 2 yes ... (2 Replies)
Discussion started by: zionassedo
2 Replies

5. Solaris

Installing Solaris OS on LDOM SAN Disk

I have viewed a few previous posts regarding this, but none of them quite described or worked with my issue. I am out of local disk space on my LDOM Manager but still have plenty of SAN vCPU and Memory available so I am trying to install a new LDOM OS on SAN. I have exposed the SAN to the... (0 Replies)
Discussion started by: MobileGSP
0 Replies

6. Red Hat

Sharing SAN disk with multiple severs

Hi , I had a requirement to share a san disk between two rhel severs. I am planning to discover the same disk in two rhel nodes and mount it. Is it a feasible solution? and what kind of issues we may encounter mounting same disk in two OS's parallel ? (2 Replies)
Discussion started by: nanduri
2 Replies

7. Solaris

Disk expansion on LDOM Guest

Hi, There is LDOM Guest where I need to expand /u02 file systems on it. It is residing on a Solaris 11 Hypervisor (Primary Domain). The storage is expanded on vdisk presented to Hypervisor. I need steps to expand the /u02 on LDOM Guest. (2 Replies)
Discussion started by: vidya_sagar2003
2 Replies

8. Solaris

Exporting physical disk to ldom or ZFS volume

Generally, this is what we do:- On primary, export 2 LUNs (add-vdsdev). On primary, assign these disks to the ldom in question (add-vdisk). On ldom, created mirrored zpool from these two disks. On one server (which is older) we have:- On primary, create mirrored zpool from the two LUNs.... (4 Replies)
Discussion started by: psychocandy
4 Replies

9. Solaris

Disk alignment inside of an LDOM

Hi! Quick background for the question... I have Solaris 11.4 control/primary zone with some LDOM's on top of it. I have some raw iSCSI LUN's presented to the control zone/primary zone from a NetApp, which I then pass up to the LDOM's via the VDS/vdisk. So basically the LDOM VM's see the disk as... (1 Reply)
Discussion started by: rtmg
1 Replies
All times are GMT -4. The time now is 12:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy