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

NAME
vxdestroy_lvmroot - remove LVM root disk and associated LVM volume group SYNOPSIS
vxdestroy_lvmroot [-v] [-b] lvm_root_disk DESCRIPTION
The vxdestroy_lvmroot command tears down and removes the LVM volume group associated with the specified physical disk. This is done by removing the volumes in the volume group and then removing the volume group. OPTIONS
-b Invokes the setboot command to change the primary boot disk to the VxVM root disk from which the system was booted (if the pri- mary boot disk is not already set to this disk). The alternate boot device remains unchanged. If the -v option is also speci- fied, the settings of the primary and alternate boot devices are displayed. -v Outputs verbose messages including a timestamp that indicates major operations being performed. ARGUMENTS
lvm_root_disk Specifies the device name of the LVM root disk that is to be destroyed, along with its entire volume group. EXAMPLES
This example shows the vxdestroy_lvmroot command invoked in its simpliest form: /etc/vx/bin/vxdestroy_lvmroot c5t1d0 # /etc/vx/bin/vxdestroy_lvmroot -v -b c3t0d0 Are you sure about destroying c3t0d0 (imported on VG /dev/vg02) ? YES vxdestroy_lvmroot 06:02: Tearing down /dev/vg02 on device c3t0d0 vxdestroy_lvmroot 06:02: Unmounting and removing any volumes associated with /dev/vg02 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol1 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol2 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol3 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol4 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol5 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol6 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol7 vxdestroy_lvmroot 06:02: removing logical volume /dev/vg02/lvol8 vxdestroy_lvmroot 06:02: Removing Volume Group /dev/vg02 vxdestroy_lvmroot 06:02: Removing device files in /dev/vg02 vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c3t0d0 vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d3 vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d4 vxdestroy_lvmroot 06:02: Removing LVM Physical Volume c1t1d5 vxdestroy_lvmroot 06:03: Current setboot values: vxdestroy_lvmroot 06:03: Primary: 0/0/6/0/0.0.0 vxdestroy_lvmroot 06:03: Alternate: 0/0/1/0/0.1.0 vxdestroy_lvmroot 06:03: Making disk c0t1d0 (0/0/1/0/0.1.0) the primary boot disk vxdestroy_lvmroot 06:03: Removal of device c3t0d0, volume group /dev/vg02 was successful SEE ALSO
cpio(1), dd(1), fsck(1M), setboot(1M) vxbootsetup(1M) vxcp_lvmroot(1M) vxres_lvmroot(1M) VxVM 5.0.31.1 24 Mar 2008 vxdestroy_lvmroot(1M)
All times are GMT -4. The time now is 04:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy