06-20-2019
Hi,
Rpool is my root pool in the control domain. In this Control Domain we have two volumes zfs for two guest domains sysdata
In the Control Domain:
NAME USED AVAIL REFER MOUNTPOINT
rpool/ldoms 10G 3G 31K none
rpool/ldoms/sys 5G 4G 3,0G -
rpool/ldoms/sys2 5G 4G 2,3G -
sys guest domain are stopped. sys2 is on online state. I need to mount rpool/ldom/sys in the control domain but i dont know. I need to mount for edit files initab and other in this filesystem. i have to mount zfs or virtual disk???
DISK
NAME VOLUME TOUT ID DEVICE SERVER MPGROUP
sys sys@primary-vds0 0 disk@0 primary
The configuration in Control Domain is:
system disk of ldom guest are volumen of rpool:
/dev/zvol/dsk/rpool/ldoms/sys
Thank u
Last edited by Liam_; 06-20-2019 at 02:17 PM..
8 More Discussions You Might Find Interesting
1. Solaris
Hi Folks,
I am used to writing scripts to get info by running commands at local zones level from their respective global zone by using zlogin <localzone> "command>" while remaining at the global zone level.
Can the same be done with Guest LDoms while remaining at the control LDOM level?
... (4 Replies)
Discussion started by: momin
4 Replies
2. Solaris
Solaris for Sparc 11.1 with the latest patches. Created a Guest LDOM with two vnet's net0 and net1, installed a guest whole root, ip exclusive zone that I want to be able to utilize DHCP. I have been able to create the zone but unable to get it to boot because I am unable to assign an anet to it.... (4 Replies)
Discussion started by: os2mac
4 Replies
3. Solaris
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
4. Solaris
Hello,
I am trying to install Solaris 10 on a newly created LDom. Here are the commands I ran to create the LDom:
ldm add-domain ldg2
ldm add-vcpu 8 ldg2
ldm add-memory 2g ldg2
ldm add-vnet vnet2 primary-vsw0 ldg2
ldm add-vdsdev /dev/dsk/c0t5000CCA01535E20Cd0s0 vol2@primary-vds0
ldm... (8 Replies)
Discussion started by: bstring
8 Replies
5. Solaris
Hi People,
I have been trying to learn solaris ldoms, have created one on a T2000 and get the following error when try to install it off DVD
WARNING: /virtual-devices@100/channel-devices@200/disk@1: Communication error with Virtual Disk Server using Port 0. Retrying
If anyone could help... (8 Replies)
Discussion started by: callmebob
8 Replies
6. Solaris
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
7. UNIX for Beginners Questions & Answers
I'm really stuck here. I've created an LDOM on a SPARC T4-1 with Solaris 11.4 to run a copy of Linux for SPARC. I got the Linux ISO installed and Linux itself installed and booted OK. The only thing is is that there's no networking available in the Linux guest.
This question is basically the... (7 Replies)
Discussion started by: Michele31416
7 Replies
8. Solaris
I have a Sun T4-1 running Solaris 11.4 with a static IP 192.168.0.183. On this machine is a Solaris 10 LDOM with a static IP of 192.168.0.78. The other day I had to stop the LDOM to do a memory reconfigure. When I rebooted it I got an error that the IP 192.168.0.78 was already in use and so... (4 Replies)
Discussion started by: Michele31416
4 Replies
LEARN ABOUT OPENSOLARIS
virt-clone
virt-clone(1M) System Administration Commands virt-clone(1M)
NAME
virt-clone - clone virtual machine images
SYNOPSIS
/usr/bin/virt-clone [option]
DESCRIPTION
The virt-clone utility is a command line tool for cloning existing virtual machine images. virt-clone copies disk images of an existing
virtual machine and defines a new guest with an identical virtual hardware configuration. Elements that require uniqueness are updated to
avoid a clash between old and new guests.
With appropriate command-line arguments, virt-clone can run completely unattended, with the guest automatically starting itself as well.
This allows for easy automation of guest installs.
If you do not specify options to virt-clone, the command runs interactively, prompting for input as required.
To run virt-clone, you must become superuser or assume the Primary Administrator role.
OPTIONS
The following options are supported:
--connect=URI
Connect to the hypervisor at URI.
-d, --debug
Display debugging information when running the install process.
-f disk_image, --file=disk_image
Path to the file, disk partition, or logical volume to use as the backing store for the guest's virtual disk. If the original guest has
multiple disks, this parameter must be repeated multiple times, once per disk in the original virtual machine.
-h, --help
Display the help message and exit.
-m mac_addr, --mac=mac_addr
Fixed MAC address for the guest. If the keyword random is specified, a random address will be used.
-n name, --name=name
Name of the new guest virtual machine instance. This must be unique among all guests known to the hypervisor on this machine, including
those not currently active. To redefine an existing guest, use the virsh(1M) tool to shut it down and delete it prior to running virt-
clone. This parameter will be prompted for if omitted on the command line.
-o original_guest, -original=original_guest
Name or UUID for the original guest to be cloned. This guest must be shut down since it is not possible to safely clone active guests.
-u UUID, -uuid=UUID
UUID for the guest; if none is specified, a random UUID is generated. If you specify UUID, use a 32-digit hexadecimal number. Keep in
mind that UUIDs are intended to be unique across the entire data center, and indeed, the world.
EXAMPLES
Example 1 Cloning a Guest with a Single Disk
The following command clones a guest named demo, which has a single disk to copy.
# virt-clone
--original demo
--name newdemo
--file /var/lib/xen/images/newdemo.img
Example 2 Cloning a Guest with Multiple Disks
The following command clones a guest named demo, with has multiple disks to copy.
# virt-clone
--original demo
--name newdemo
--file /var/lib/xen/images/newdemo.img
--file /var/lib/xen/images/newdata.img
Example 3 Cloning to a Device with Comparable Disk Space
The following command clones a guest to a physical device that has at least as much disk space as had the original guest. . If the destina-
tion device is has more space, the new guest can do a file system resize when it boots.
# virt-clone
--name demo
--file /dev/HostVG/DemoVM
--mac 00:16:3e:34:11:54
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWxvmu |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
virsh(1M), virt-install(1M), xm(1M), xVM(5), attributes(5), xVM(5)
SunOS 5.11 23 Jun 2008 virt-clone(1M)