Most Popular in Unix
-
This forum's font looks bad on my new installation
-
Scripting Issue
-
need to know if there are ftp connections in my machine
-
Help a user logon in SUN SOLARIS 10 ?
-
cut words based on the word count of a line
-
How to check if my AIX server has Dual HBA's?
-
AIX KSH: 0403-029 There is not enough memory available now
-
Bipolar Monkey - A mascot looking for a project
-
EvE Online IGB - PHPBB Interface: PHPBB3 Interface Beta 1
-
Installing bash on AIX 6.1
Access a Tape Drive Device From a non-global Zone
Article posted from
My SysAd Blog (http://www.mysysad.com/2009/04/access-tape-drive-device-from-non.html)
A couple days ago, I had a friend who wanted to know how to access a tape device from his Solaris 10 non-global zone.
Here is an example on how to add a device to an existing non-global zone. By the way, the commands below are ran from the global zone, and you will have to reboot the non-global zone.
# zoneadm list
mysysad-global
# zonecfg -z sysad
zonecfg:sysad> add device
zonecfg:sysad:device> set match=/dev/rmt/0n
zonecfg:sysad:device> end
zonecfg:sysad> verify
zonecfg:sysad> commit
zonecfg:sysad> exit
# zoneadm -z sysad reboot
After the reboot, you should be able to access the tape drive from the non-global zone.
Here is an example on how to add a device to an existing non-global zone. By the way, the commands below are ran from the global zone, and you will have to reboot the non-global zone.
# zoneadm list
mysysad-global
# zonecfg -z sysad
zonecfg:sysad> add device
zonecfg:sysad:device> set match=/dev/rmt/0n
zonecfg:sysad:device> end
zonecfg:sysad> verify
zonecfg:sysad> commit
zonecfg:sysad> exit
# zoneadm -z sysad reboot
After the reboot, you should be able to access the tape drive from the non-global zone.
More Stories in My SysAd Blog
- How to Exclude a Directory for TAR
- Restore MySQL Database via Command Line
- Sun StorageTek 6140 Cache
- HTML Symbol Entities issue on Blogger
- Log an FTP Session with a Filter
- The Khan Academy is Teaching the Online World
- Use Redirect Symbol to Zero File
- Run the Windows Explorer GUI
- Retrieve Information on LDAP User
- $HOME/.TTauthority not writable, auth entry not added
Most Popular Stories
Localized Flipboard Content guides available for UK, Ireland, Australia and Canada
A fix for those "Pairing Record Missing" errors
You're the Pundit: iPad 3
Apple removes standard Mac OS X 10.7.3 download due to bugs, offers combined download instead
MPAA Sues LimeWire Back From The Dead
This forum's font looks bad on my new installation
Scripting Issue
need to know if there are ftp connections in my machine
AirServer Lets You Push Airplay Audio To Your Apple Computer [Video]
Dev Juice: How do I autocomplete in Xcode 4?