Sponsored Content
Operating Systems Solaris Can I create virtual disk from zpool on Solaris 11.4 for OVM? Post 303045106 by solaris_1977 on Thursday 12th of March 2020 03:42:05 AM
Old 03-12-2020
Thanks for wonderful explanation. Here is my current setup.
There are 6 x 1TB disks. I installed Solaris 11.4 on the first entire disk and then mirrored it in rpool with the second disk. That gives me 4 disks of 1 TB each.
Code:
root@ovmi-host1:/# echo | format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t5000C500C1FD0833d0 <SEAGATE-ST1200IN9SUN1.2T-ORA6-1.09TB>
          /scsi_vhci/disk@g5000c500c1fd0833
          /dev/chassis/SYS/HDD0/disk
       1. c0t5000C500C1FD0337d0 <SEAGATE-ST1200IN9SUN1.2T-ORA6-1.09TB>
          /scsi_vhci/disk@g5000c500c1fd0337
          /dev/chassis/SYS/HDD1/disk
       2. c0t5000C500C1FD03ABd0 <SEAGATE-ST1200IN9SUN1.2T-ORA6-1.09TB>
          /scsi_vhci/disk@g5000c500c1fd03ab
          /dev/chassis/SYS/HDD2/disk
       3. c0t5000C500C1FD0C9Fd0 <SEAGATE-ST1200IN9SUN1.2T-ORA6-1.09TB>
          /scsi_vhci/disk@g5000c500c1fd0c9f
          /dev/chassis/SYS/HDD3/disk
       4. c0t5000C500C1FD0CA7d0 <SEAGATE-ST1200IN9SUN1.2T-ORA6-1.09TB>
          /scsi_vhci/disk@g5000c500c1fd0ca7
          /dev/chassis/SYS/HDD4/disk
       5. c0t5000C500C1FD03CFd0 <SEAGATE-ST1200IN9SUN1.2T-ORA6-1.09TB>
          /scsi_vhci/disk@g5000c500c1fd03cf
          /dev/chassis/SYS/HDD5/disk
       6. c1t0d0 <MICRON-eUSB DISK-1112-1.89GB>
          /pci@300/pci@1/pci@0/pci@2/usb@0/storage@1/disk@0,0
          /dev/chassis/SYS/MB/EUSB_DISK/disk
Specify disk (enter its number): Specify disk (enter its number):
root@ovmi-host1:/# zpool list
NAME    SIZE  ALLOC  FREE  CAP  DEDUP  HEALTH  ALTROOT
rpool  1.09T   175G  937G  15%  1.00x  ONLINE  -
root@ovmi-host1:/# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format. The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
        pool will no longer be accessible on older software versions.
  scan: resilvered 171G in 15m50s with 0 errors on Mon Mar  2 16:24:24 2020

config:

        NAME                       STATE      READ WRITE CKSUM
        rpool                      ONLINE        0     0     0
          mirror-0                 ONLINE        0     0     0
            c0t5000C500C1FD0833d0  ONLINE        0     0     0
            c0t5000C500C1FD0337d0  ONLINE        0     0     0

errors: No known data errors
root@ovmi-host1:/#

When I login to OVM Manager, select "create repository", select this server, select "physical disks", it gives me 4 disks in below format to select from. Here I can choose any disk and create a repository
Code:
Name			Size (GiB)
35000c500c1fd03cf	1117.81
35000c500c1fd0ca7	1117.81
35000c500c1fd0c9f	1117.81
35000c500c1fd03ab	1117.81

 

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
vxsplitlines(1M)														  vxsplitlines(1M)

NAME
vxsplitlines - show disks with conflicting configuration copies in a cluster SYNOPSIS
vxsplitlines [-g diskgroup] [-c daname] DESCRIPTION
If you import portions of a disk group on different systems, this can lead to conflicting configuration copies on the disks of the disk group. If the configuration information in a disk group is ambiguous, it may not be possible for Veritas Volume Manager to determine which config- uration copy is most up-to-date. (This is usually termed a serial split brain (SSB) condition when it occurs in a cluster.) You cannot import a disk group in this state unless you specify which disk's configuration copy to use. You can use the vxsplitlines command to see which disks in a disk group have conflicting configuration copies, and use this information together with your knowledge of the history of the disk groups' usage to determine which configuration copy is most valid. The output from vxsplitlines displays the vxdg commands that you can run to import the disk group using the available configuration copies. The -o selectcp option of the vxdg import command is used to select the configuration copy to use for the import. OPTIONS
-c daname Display the SSB IDs for each disk that are stored in the configuration copy on the disk specified by its disk access name. Note: Although the SSB IDs for some disks may match, this does not necessarily mean that those disks' configuration copies have recorded all the configuration changes. When viewed from some other configuration copies, the SSB IDs of the same disks may not match. -g diskgroup Specifies the disk group. If a disk group is not specified, the default disk group is used as determined from the rules on the vxdg(1M) manual page. EXAMPLES
Display the disks on each side of the split in the disk group newdg: vxsplitlines -g newdg Display the SSB IDs stored in the configuration copy on disk c2t4d0: vxsplitlines -g newdg -c c2t4d0 NOTES
The vxsplitlines is primarily intended to be used with private disk groups, but it also works with shared disk groups. The version number of the disk group must be 110 or greater. SEE ALSO
vxdg(1M) Veritas Volume Manager Administrator's Guide VxVM 5.0.31.1 24 Mar 2008 vxsplitlines(1M)
All times are GMT -4. The time now is 07:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy