Sponsored Content
Operating Systems Solaris Can I create virtual disk from zpool on Solaris 11.4 for OVM? Post 303045100 by Peasant on Thursday 12th of March 2020 12:03:48 AM
Old 03-12-2020
Lets start with how many disks do you have in that box and what size ?
Did the operating system come install over entire devices (s2) ?
Can you show zpool status rpool on that box.

You have 3 choices for disks to use in ldoms :

1.) Reinstall the hypervisor on slice not entire disk, partitioning it in text installer and using VTOC label.
OR detach one of mirror disks, repartition with slice 0, attach. This will require that you have free space in rpool for such actions.
Then the other disk s0 after rebuild/resilver is complete - be sure to check eeprom and primary domain for boot device specification.
Reboot the server to confirm everything is ok.

After that, 2 x slice 0 (s0) will make rpool zpool, and all other slices (except s2!) can be used in ldoms after partitioning via format with free space.

Example, you have 2 x 300 GB, with slice 0 (s0) of 100 GB on each disk. You install operating system on it or repartition, attach, detach.
You are left with s1 to s6 (VTOC label, s2 excluded as it represents entire disk) to use with ldm add-vdsdev options=slice /dev/dsk/cNtNdNs1... on both disks.
Followed by a ldm add-vdisk id=<num> ... <ldom>
Add, for instance, s1 slices from both disks to ldom and create a mirrored rpool inside.

When you get SAN lun, you will add that lun to LDOM, and make a three way mirror of existing pool.
After the resilver is complete, you will detach and remove 2 local disks.
This would be mid level in terms on ease of setup.


2.) Creating ZVOL in existing zpool and adding /dev/zvol/dsk/ ... to LDOM.
Same with SAN lun afterwards, you add it, mirror and detach the old ZVOL after inside LDOM.
This will be worst performance, but easiest to setup on existing configuration.

3.) Combination of 1.) and SVM.
You mirror two slice 1 (s1) with all remaining space on SVM level and create soft partitions which you present to ldom as entire devices /dev/md/dsk..
Migration is done after the SAN lun is available to hypervisor via [/icode]meta..[/icode] commands on the hypervisor level or inside LDOM via zpool [attach|detach] commands.
This is the most complicated way and would advise against it if you do not have SVM experience.

No downtime is required for any operations above, unless, of course, you reinstall the hypervisor entirely.

Hope that helps
Regards
Peasant.
 

10 More Discussions You Might Find Interesting

1. Solaris

How to create new partitions in solaris,from the raw disk?

Hi all, I would like to know how to make new partitions.... I currently have allocated 60G for various slices (I have totally used 4 out of 7 available slices... I am running only solaris on my box. My plan is to have entire disk dedicated to solaris and run other OS from within... (19 Replies)
Discussion started by: wrapster
19 Replies

2. Shell Programming and Scripting

Virtual disk to create and partition

I have to do this exercise: Create a virtual disk Partition this disk Create File system Mount File System I'm using Minix (which runs by Qemu as guest machine) on Linux (Host) Is there anybody who knows how to solve first three point? :confused: Thanks (4 Replies)
Discussion started by: Guccio
4 Replies

3. Solaris

How to create mirror disk in solaris machine?

hi, I'm newbie in Solaris 10. can someone explain me the steps of how to create mirror disk in Solaris machine. thanks in advance (5 Replies)
Discussion started by: Wong_Cilacap
5 Replies

4. Solaris

create Virtual NIC in Solaris 10

Hi All, does any body know how to create Virtual NIC in Solaris 10 if any one have good article or reference kindly provide me i try to Google but i didn't find good one (7 Replies)
Discussion started by: jamisux
7 Replies

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

6. Solaris

How to create metadb with zpool in Solaris 11

Hi, my root pool is as follows. How can I create a metadb if I want to create SVM volumes? zpool status pool: rpool1 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM rpool1 ONLINE 0 0 0 c4t1d0s0 ... (10 Replies)
Discussion started by: incredible
10 Replies

7. Solaris

Create a boot disk mirror on Solaris 10 x86

I’m setting up a boot disk mirror on Solaris 10 x86. I’m used to doing it on SPARC, where you can copy the partition table using fmthard. My x86 boot disk has 2 primary partitions, a Solaris one and a diagnostic one. Is there a way to copy those 2 primary partitions to the second disk without... (6 Replies)
Discussion started by: TKD
6 Replies

8. Solaris

Add disk to zpool

Hi, Quick question. I have a data zpool that consists of 1 disk. pool: data state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 c0t50002AC0014B06BEd0 ONLINE... (2 Replies)
Discussion started by: general_lee
2 Replies

9. Solaris

Solaris 10 virtual disk (ramdisk) create for sun4v (T-2000 simulator) architecture

have been trying to create a 2 GB ramdisk (virtual) to run on my T-2000 simulator (Legion) which has sun4v architecture. I have a SPARC workstation which runs on sun4u architecture with Solaris 10. I have created a ramdisk image using dd command, newfs, then used ufsrestore to restore the... (3 Replies)
Discussion started by: Zam_1234
3 Replies

10. Solaris

Replace zpool with another disk

issue, I had a zpool which was full pool_temp1 199G 197G 1.56G 99% ONLINE - pool_temp2 199G 196G 3.09G 98% ONLINE - as you can see, full so I replaced with a larger disk. zpool replace pool_temp1 c3t600144F0FF8BA036000058CC1DB80008d0s0... (2 Replies)
Discussion started by: rrodgers
2 Replies
install-solaris(1M)													       install-solaris(1M)

NAME
install-solaris - install the Solaris operating system SYNOPSIS
install-solaris install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation, install-solaris invokes either a text-based installer or a graphical installer. The following minimum requirements for physical memory dictate which features are available during installation: For SPARC machines: 128 MB Minimum physical memory for all installation types 128 MB Minimum physical memory required for windowing system 384 MB Minimum physical memory required for graphical-based installation For x86 machines: 256 MB Minimum physical memory for all installation types 256 MB Minimum physical memory required for windowing system 512 MB Minimum physical memory required for graphical-based installation In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea- tures available. install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more details. install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the installation media. Refer to the for disk space requirements. Refer to the for more information on the various menus and selections. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcdrom (Solaris instal- | | |lation media) | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ pkginfo(1), install(1M), pkgadd(1M), attributes(5) It is advisable to exit install-solaris by means of the exit options in the install-solaris menus. 23 Sep 2005 install-solaris(1M)
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy