Visit Our UNIX and Linux User Community


Solaris zone devices


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris zone devices
# 1  
Old 08-31-2009
Solaris zone devices

Hello all,

I'm having issue with trying to add device resource to my zone from the global zone.
I did the following

zoncfg -x larryase
add device
set match="/dev/tty*"
end

I get device already set, but in me zone I don't see the device.
Is there a "reboot -- r" command for zones? or is there a zone start the device?

Thanks all.

Previous Thread | Next Thread
Test Your Knowledge in Computers #100
Difficulty: Easy
Unix has built-in networking functions so that computers can easily exchange computer data.
True or False?

9 More Discussions You Might Find Interesting

1. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies

2. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

3. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

4. UNIX for Advanced & Expert Users

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

Dear all, recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes. I did the following: host1: $ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed $ zpool export zone1 host2: $ zpool... (2 Replies)
Discussion started by: custos
2 Replies

5. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

6. Solaris

Sharing devices (tape drive) to local zone

I have to setup a local zone and need to share the fiber attached tape drive that is connected to the global zone. What is the best way to do this? Will sharing the /dev/rmt directory via lofs work? Any help is appreciated! (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

7. Solaris

solaris I/O devices info

Hi, can anyone help in finding the hardware related details of I/O devices of remote solaris machine .Thanks in advance. (7 Replies)
Discussion started by: pratheepv
7 Replies

8. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies

9. Solaris

devices in solaris 10

i want to use the devfsadm command and understand its function (3 Replies)
Discussion started by: bondoq
3 Replies
device_clean(5) 					Standards, Environments, and Macros					   device_clean(5)

NAME
device_clean - device clean programs DESCRIPTION
Each allocatable device has a device clean program associated with it. Device clean programs are invoked by deallocate(1) to clean device states, registers, and any residual information in the device before the device is allocated to a user. Such cleaning is required by the object reuse policy. Use list_devices(1) to obtain the names and types of allocatable devices as well as the cleaning program and the authorizations that are associated with each device. On a system configured with Trusted Extensions, device clean programs are also invoked by allocate(1), in which case the program can optionally mount appropriate media for the caller. The following device clean programs reside in /etc/security/lib. audio_clean audio devices fd_clean floppy devices st_clean tape devices sr_clean CD-ROM devices On a system configured with Trusted Extensions, the following additional cleaning programs and wrappers are available. disk_clean floppy, CD-ROM, and other removable media devices. This program mounts the device during the execution of allocate, if required. audio_clean_wrapper wrapper to make audio_clean work with CDE wdwwrapper wrapper to make other cleaning programs work with CDE wdwmsg CDE dialog boxes for cleaning programs Administrators can create device clean programs for their sites. These programs must adhere to the syntax described below. /etc/security/lib/device-clean-program [-i | -f | -s | -I] -m mode -u user-name -z zone-name -p zone-path device-name where: device-name The name of the device that is to be cleaned. Use list_devices to obtain the list of allocatable devices. -i Invoke boot-time initialization. -f Force cleanup by the administrator. -s Invoke standard cleanup by the user. -I Same as -i, with no error or warning. The following options are supported only when the system is configured with Trusted Extensions. -m mode Specify the mode in which the clean program is invoked. Valid values are allo- cate and deallocate. The default mode is allocate. -u user-name Specify the name of user who executes the device clean program. The default user is the caller. -z zone-name Specify the name of the zone in which the device is to be allocated or deallocated. The default zone is the global zone. -p zone-path Establish the root path of the zone that is specified by zone-name. Default is "/". EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 An error. Caller can place device in error state. 2 A system error. Caller can place device in error state. On a system configured with Trusted Extensions, the following additional exit values are returned: 3 Mounting of device failed. Caller shall not place device in error state. 4 Mounting of device succeeded. FILES
/etc/security/lib/* device clean programs ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |See below. | +-----------------------------+-----------------------------+ The Invocation is Uncommitted. The Output is Not-an-interface. SEE ALSO
allocate(1), deallocate(1), list_devices(1), attributes(5) System Administration Guide: Security Services SunOS 5.11 14 Jun 2007 device_clean(5)

Featured Tech Videos