Ldom OS on SAN based zfs volume


 
Thread Tools Search this Thread
Operating Systems Solaris Ldom OS on SAN based zfs volume
# 1  
Old 07-18-2009
Ldom OS on SAN based zfs volume

Is it possible to use zvol from SAN LUN to install LDOM OS ? I 'm using following VDS from my service domain


Code:
VDS
    NAME             LDOM             VOLUME     DEVICE
    primary-vds0     primary          iso        sol-10-u6-ga1-sparc-dvd.iso
                                      cdrom      /data03/sol-10-u6-ga1-sparc-dvd.iso
                                      zvol       /dev/zvol/rdsk/newpool/VSAN/vol2

and when i boot my Ldom1 i get following error


Code:
{0} ok  boot /virtual-devices@100/channel-devices@200/disk@0 -s
Boot device: /virtual-devices@100/channel-devices@200/disk@0  File and args: -s
Bad magic number in disk label
ERROR: /virtual-devices@100/channel-devices@200/disk@0: Can't open disk label package

ERROR: boot-read fail


Last edited by DukeNuke2; 07-18-2009 at 01:53 PM.. Reason: added code tags
# 2  
Old 07-18-2009
To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums
# 3  
Old 07-18-2009
Ldom OS on SAN based zfs volume

Hi. i dont think its related to that volume from zfs.

ex:/
Code:
host1# zpool create -f tank1 c2t42d1
host1# zfs create -V 100m tank1/myvol
host1# zfs list
        NAME                   USED  AVAIL  REFER  MOUNTPOINT
        tank1                  100M  43.0G  24.5K  /tank1
        tank1/myvol           22.5K  43.1G  22.5K  -

Configure a service exporting tank1/myvol as a virtual disk:
host1# /opt/SUNWldm/bin/ldm add-vdiskserverdevice /dev/zvol/rdsk/tank1/myvol zvol@primary-vds0

Add the exported disk to domain (domain2 in this example):

host1# /opt/SUNWldm/bin/ldm add-vdisk vzdisk zvol@primary-vds0 domain2

.. let me see how you created and assigned zfs volume to your dommain.

Good luck

Last edited by DukeNuke2; 07-18-2009 at 04:36 PM.. Reason: added code tags
# 4  
Old 07-18-2009
yep i think its not related to zfs as i tried adding a disk slice too .. from internal disk but i gives me following error

Code:
{0} ok boot cdrom - install
Boot device: /virtual-devices@100/channel-devices@200/disk@2  File and args: - install
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Configuring devices.
NOTICE: [0] disk access failed.


Do you what could be the problem i 'm new to Ldoms , i will appriciate if any one can help me in this.
# 5  
Old 07-18-2009
fugitive, i asked above ..
give much more details about your system and how u configured your LDoms.
otherwise i cant say anything, according to behaviour of startup process, something wong with your configuration, certainly with assignment of devices to LDoms.

good luck!
# 6  
Old 07-18-2009
What version of LDM are you running as well?
# 7  
Old 07-19-2009
Details as u asked SAMAR

Code:
ldm list-bindings ldom1
NAME             STATE      FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
ldom1            active     -n----  5000    16    8G       0.0%  21m

MAC
    00:14:4f:fb:45:e5

HOSTID
    0x84fb45e5

VCPU
    VID    PID    UTIL STRAND
    0      32     0.3%   100%
    1      33     0.0%   100%
    2      34     0.0%   100%
    3      35     0.0%   100%
    4      36     0.0%   100%
    5      37     0.0%   100%
    6      38     0.0%   100%
    7      39     0.0%   100%
    8      40     1.4%   100%
    9      41     0.0%   100%
    10     42     0.0%   100%
    11     43     0.0%   100%
    12     44     0.0%   100%
    13     45     0.0%   100%
    14     46     0.0%   100%
    15     47     0.0%   100%

MEMORY
    RA               PA               SIZE
    0x8000000        0x408000000      8G

VARIABLES
    autoboot?=false
    boot-device=/virtual-devices@100/channel-devices@200/disk@0

NETWORK
    NAME             SERVICE                     DEVICE     MAC               MODE   PVID VID
    vnet0            primary-vsw0@primary        network@0  00:14:4f:fb:2e:78        1
        PEER                        MAC               MODE   PVID VID
        primary-vsw0@primary        00:14:4f:fb:da:f8        1

DISK
    NAME             VOLUME                      TOUT DEVICE  SERVER         MPGROUP
    iso              iso@primary-vds0                 disk@1  primary
    cdrom            cdrom@primary-vds0               disk@2  primary
    vdisk0           vol0@primary-vds0                disk@0  primary

VCONS
    NAME             SERVICE                     PORT
    ldom1            primary-vcc0@primary        5000

root@essapl020-u006 #



Code:
# ldm list-services primary
VCC
    NAME             LDOM             PORT-RANGE
    primary-vcc0     primary          5000-5100

VSW
    NAME             LDOM             MAC               NET-DEV   DEVICE     DEFAULT-VLAN-ID PVID VID                  MODE
    primary-vsw0     primary          00:14:4f:fb:da:f8 e1000g1   switch@0   1               1

VDS
    NAME             LDOM             VOLUME         OPTIONS          MPGROUP        DEVICE
    primary-vds0     primary          iso                                            sol-10-u6-ga1-sparc-dvd.iso
                                      cdrom                                          /data03/sol-10-u6-ga1-sparc-dvd.iso
                                      vol0                                           /dev/dsk/c1t1d0s0


If you need more details let me know .. i already tried changing zfs vol to a internal disk slice but still i 'm getting

NOTICE: [0] disk access failed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. Solaris

Solaris 11.3 - SAN mount QFS or ZFS

Hi all, I'm using Solaris 11.3. HBA port connected to SAN disk 3T. AVAILABLE DISK SELECTIONS: 0. c0t600A0B800033696A0000214B571938F1d0 <SUN-CSM200_R-0760 cyl 44556 alt 2 hd 255 sec 189> /scsi_vhci/ssd@g600a0b800033696a0000214b571938f1 1. c2t3C58620E0C565100d0... (1 Reply)
Discussion started by: manhte1
1 Replies

3. Red Hat

Volume group not activated at boot after SAN migration

I have an IBM blade running RHEL 5.4 server, connected to two Hitachi SANs using common fibre cards & Brocade switches. It has two volume groups made from old SAN LUNs. The old SAN needs to be retired so we allocated LUNs from the new SAN, discovered the LUNs as multipath disks (4 paths) and grew... (4 Replies)
Discussion started by: rbatte1
4 Replies

4. Solaris

ZFS LDOM problem on Solaris 10

Apologies if this is the wrong forum.. I have some LDOMs running on a Sparc server. I copied the disk0 file from one chassis over to another, stopped the ldom on the source system and started it on the 2nd one. All fine. Shut it down and flipped back. We then did a fair bit of work on the... (4 Replies)
Discussion started by: tommyq
4 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. Solaris

Grow / expand a ZFS volume

Hi, I need to expand a ZFS volume from 500GB to 800GB. I'd like to ask your help to confirm the following procedure: Can I do it on the fly without bothering the users working on this volume? Thank you in advance! (6 Replies)
Discussion started by: aixlover
6 Replies

7. Solaris

Mount A ZFS volume

Is there any way i can mount a zfs volume using snapshot or some other means ? (2 Replies)
Discussion started by: fugitive
2 Replies

8. AIX

Volume Groups and the SAN

Hello all. I have a perplexing problem I have an AIX 5.1 system on an EMC SAN. This system had been on a CX400 SAN for several years. The system was migrated to a CX700 just over a week ago. The migration consisted of utilizing on of the HBAs in the system and connecting to both SANs ... (9 Replies)
Discussion started by: mhenryj
9 Replies

9. Red Hat

how to mount SAN volume with its increased size

Hi, We have 200GB SAN volume mounted on Redhat EL 5. which is working fine. As my SAN supports dynamic resizing of volumes, i unmounted the volume and resized the SAN Volume to 300 GB successfully. Then i mounted again but it shows 200GB only but data is intact. Now, my requirement is to let... (3 Replies)
Discussion started by: prvnrk
3 Replies

10. Linux

Howto clone/migrate a volume in the SAN

Dear Srs, I have a Linux server (linux01) booting from SAN with a volume in a Nexsan SATAbeast storage array (san01). The disk/volume has four ext3 partitions, total size is near to 400GB, but only 20-30GB are in use. I need to move this disk/volume to another Nexsan SATAbeast storage array... (0 Replies)
Discussion started by: Santi
0 Replies
Login or Register to Ask a Question