Most Popular in Unix
-
Can we delete file using PSCP?
-
sudo directory
-
In vi, any way to prevent :edit from repositioning the screen?
-
Replace a string after n semicolon every line
-
Print #of lines after serach string in a big file
-
virtualize physical SCO 5.0.6
-
Date time calculation
-
Solaris x86: Bad PBR sig
-
vBulletin Exclude Forums from "Get New Posts" Feature
-
Code creates day 32 instead of 1st day of next month.
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
- Issues With an Orphaned .attribute^ File
- ftpconfig - Setup Anonymous FTP
- No Space Left on Device!
- Troubleshooting Domain Issues with My SysAd Blog - Again
- 142857 is an Interesting Number
- Pipe Symbols are Missing from Some Posts
- Field 'user_website' doesn't have a default value
- Determine Java Runtime Environment Version
- Access a Tape Drive Device From a non-global Zone
- Disable On-screen Keyboard on Startup
Most Popular Stories
Office for Mac 2011 Makes Video Teaser Appearance [Microsoft]
Microsoft previews Office for Mac 2011
Microsoft officially unveils key Office 2011 for Mac features
Microsoft Offers Behind-the-Scenes Look at Office for Mac 2011 Features
Apple Rolling Out iAd Spots for App Developers
Best Buy Offering Free invisibleSHIELD to iPhone 4 Owners?
Where's Your Magic Now, Magic Trackpad? [Apple]
Apple Censoring Their Book Store Bestseller List
Android Plays King Kong Against Steve Jobs' Helicopters [Android]
Extension performance vastly improved in Safari 5.0.1