Most Popular in Unix
-
ILOM Sunservice login incorrect
-
Net Calculator
-
zlogin: makeutx failed
-
Auto putty login and an ebook required
-
Jumpstart Error: Unsupported version (3.0).
-
SAN/Solaris: luxadm shows NOT CONNECTED
-
what is the difference between /etc/mnttab and /etc/vfstab
-
Installing bash on AIX 6.1
-
involuntary context switching
-
sppp0 interface in solaris 10
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
A fix for those "Pairing Record Missing" errors
ILOM Sunservice login incorrect
Net Calculator
zlogin: makeutx failed
Auto putty login and an ebook required
Innovation isn't dead, it just moved to the cloud
Diablo 3 Slow on Mac? Here is a Solution
Planning Board Rendering Unveils New Glass-Enclosed Apple Store for Stanford
7 Online Resources To Trace The History Of Your House
Daily iPhone App: Elenints matches Triple Town's planning with a few new tricks