Sponsored Content
Operating Systems Solaris Ldom guest volumen problem t8 Solaris 11 Post 303036238 by Liam_ on Thursday 20th of June 2019 04:56:42 AM
Old 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

Help needed - trying to run commands in Guest LDoms from Control LDOM

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

Network Config on Zone in a Guest LDOM

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

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

4. Solaris

How can I install Solaris 10 on an LDom using an iso?

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

Ldom problem

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

Disk expansion on LDOM Guest

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

Solaris 11 LDOM guest network not working

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

Solaris LDOM IP conflict

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
advscan(8)						      System Manager's Manual							advscan(8)

NAME
advscan - Locates AdvFS volumes on disk devices SYNOPSIS
/sbin/advfs/advscan [-g] [-a] [-r] [-f domain_name] devices... disk_group... OPTIONS
Scans all devices found in any /etc/fdmns domain as well as those in the command line. Fixes the domain count and the links in the /etc/fdmns directory for the named domain. Lists the AdvFS volumes in the order they are found on each disk device or Logical Storage Man- ager (LSM) disk group. Re-creates missing domains. The domain name is created from the device names or LSM disk group names. OPERANDS
Specifies the device names of disks to scan for AdvFS volumes. Specifies the LSM disk groups to scan for AdvFS volumes. DESCRIPTION
The advscan command locates AdvFS volumes (disk partitions or LSM volumes) that are in AdvFS domains. Given the AdvFS volumes, you can re-create or fix the /etc/fdmns directory of a named domain or LSM disk group. For example, if you have moved disks to a new system, moved disks around in a way that has changed device numbers, or lost track of where the AdvFS domains are, you can use this command to locate them. Another use of the advscan command is to repair AdvFS domains when you have broken them. For example, if you mistakenly delete the /etc/fdmns directory, delete a domain directory in the /etc/fdmns directory, or delete links from a domain directory under the /etc/fdmns directory, you can use the advscan command to fix the problem. The advscan command accepts a list of disk device names and/or LSM disk group names and searches all the disk partitions to determine which partitions are part of an AdvFS domain. You can run the advscan command to automatically rebuild all or part of your /etc/fdmns directory or you can rebuild it manually by supply- ing all the names of the AdvFS volumes in a domain. If the -g option is not set, the AdvFS volumes are listed as they are grouped in domains. Set this option to list the AdvFS volumes in the order they are found on each disk. Run the advscan command with the -r option set to re-create missing domains from the /etc/fdmns directory, missing links, or the entire /etc/fdmns directory. Although the advscan command will rebuild the /etc/fdmns directory automatically, Compaq recommends that you always keep a hard-copy record of the current /etc/fdmns directory. To determine if a disk partition is part of an AdvFS domain, the advscan command performs the following functions: Reads the first two pages of a partition to determine if it is an AdvFS volume and to find the domain information. Reads the disk label to sort out overlap- ping partitions. The size of overlapping partitions are examined and compared to the domain information to determine which partitions are in the domain. These partitions are reported in the output. Reads the boot block to determine if the partition is AdvFS root bootable. The advscan command displays the date the domain was created, the on-disk structure version, and the last known or current state of the volume. In order to mount an AdvFS fileset, the domain that contains the fileset must be consistent. An AdvFS domain is consistent when the number of physical partitions or volumes with the correct domain ID are equal to both the domain volume count (which is a number stored in the domain) and the number of links to the partitions that are in the /etc/fdmns directory. Domain inconsistencies can occur in diverse ways. Use the -f option to correct domain inconsistencies. If you attempt to mount an inconsistent domain, a message similar to the following will appear on the console: # Volume count mismatch for domain dmnz. dmnz expects 2 volumes, /etc/fdmns/dmnz has 1 links. RESTRICTIONS
You must be the root user to use this command. EXAMPLES
The following are examples of the output from the advscan command. The following example scans devices dsk3 and diskgroup rootdg for AdvFS partitions: # advscan dsk3 rootdg Scanning devices /dev/rdisk/dskz3 rootdg Found domains: usr_domain Domain Id 30a91a42.0001e060 Created Thu Mar 16 14:37:54 2000 Domain volumes 2 /etc/fdmns links 2 Actual partitions found: rz3g rootdg.vol03 The following example scans devices found in /etc/fdmns. It uses the -g option to list parti- tions in the order they are found on the disks rather than grouping them into domains and matching them with the /etc/fdmns directory. # advscan -a -g scanning disks /dev/rdisk/dsk2 /dev/rdisk/dsk3 rootdg Partition Domain Id /dev/dsk2a 30a919ff.000ec470 V3, mounted, bootable 1 volume in domain Created Mon Jan 11 14:36:47 1999 Last mount Fri Jun 30 16:00:04 2000 /dev/dsk2g 30a91a32.0007c250 V4, mounted 1 volume in domain Created Thu Mar 16 14:37:38 2000 Last mount Fri Mar 24 17:14:16 2000 /dev/dsk3a 30abe160.00028eff V3, never mounted 1 volume in domain Created Thu Mar 18 17:12:00 1999 /dev/dsk3g 30a91a42.0001e060 V3, mounted 1 volume in domain Created Tue Mar 16 14:37:54 1999 Last mount Thu Mar 23 17:14:17 2000 rootdg.vol01 30c62c74.00036750 V4, dismounted 2 volumes in domain Created Fri Apr 7 15:51:16 2000 Last mount Fri Apr 7 17:16:06 2000 rootdg.vol02 30c62c74.00036750 V3, dismounted Created Wed Apr 7 15:51:16 1999 Last mount Wed Apr 7 17:16:06 1999 For the following example, two domains using device dsk3 and disk group rootdg were removed from the /etc/fdmns directory. The advscan command scans device dsk3 and disk group rootdg and then re-creates the missing domains. # advscan -r dsk3 rootdg Scanning disks /dev/disk/dsk3 /dev/rvol/rootdg Found domains: *unknown* Domain Id 30a91a42.0001e060 Created Tue Mar 16 14:37:54 2000 Domain volumes 1 /etc/fdmns links 0 Actual partitions found: dsk3g* *unknown* Domain Id 30c62c74.00036750 Created Wed Apr 7 15:51:16 2000 Domain volumes 2 /etc/fdmns links 0 Actual partitions found: rootdg.vol01* rootdg.vol02* Creating /etc/fdmns/domain_dsk3g/ linking dsk3g Creating /etc/fdmns/domain_rootdg.vol01_rootdg.vol02/ linking rootdg.vol01 linking rootdg.vol02 FILES
SEE ALSO
Commands: disklabel(8) Files: fstab(4) advscan(8)
All times are GMT -4. The time now is 09:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy