[zones-discuss] CDROM access in a zone

2006-06-15 Thread Mahesh Shakthy
Hello,

I am new to zones and I was wondering if anyone has ideas about accessing cdrom 
drive from the global zone. I know I can add devices and mount the cdrom device 
in the local zone, but I am curious to know if it can be mounted and accessed 
similar to how vold does it on the global zone.

Thansk in advance.
Mahesh
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] CDROM access in a zone

2006-06-15 Thread Ihsan Zaghmouth




Mahesh,

To add a CD-ROM:

run zonecfg and add the foolowing statements:

add fs
set dir=/cdrom
set special=/cdrom
set type=lofs
set options=[nodevices]
end

Ihsan

Mahesh Shakthy wrote:

  Hello,

I am new to zones and I was wondering if anyone has ideas about accessing cdrom drive from the global zone. I know I can add devices and mount the cdrom device in the local zone, but I am curious to know if it can be mounted and accessed similar to how vold does it on the global zone.

Thansk in advance.
Mahesh
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org
  


-- 

My2Signature

  

  
  
  
  

  Ihsan
Zaghmouth 
  Sr. SAP Solution Architect 
  SUN-SAP
Business Applications Group
  
  (832)
859-2818   (Cell)
   (713)
784-2818   (Home) 
   (713)
784-2818   (Fax) 
   [EMAIL PROTECTED]
  


  
  

  





___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] CDROM access in a zone

2006-06-15 Thread Ihsan Zaghmouth




Mahesh,

Try the followings in GZ
/etc/init.d/volmgt start   

Make sure in LZ the following SMF services are online too:
svcadm enable svc:/network/rpc/bind:default
svcadm enable svc:/network/rpc/smserver:default
  

Check the following in case the previous commands don't succeed
Run prtconf to see if the "sd" driver is attached to the cdrom or not. 
If not, rem_drv sd and add_drv sd to see if sd can be
attched to the cdrom. 
If attach fails, then you have a problem. No matter what you are
trying, your cdrom cannot be mounted at all. 

The bottom line, you have to have the "sd" driver attached to your
cdrom hardware. 

Good Luck
Ihsan




Shakthy, Mahesh wrote:

  
  
  My2Signature
  
  
  Ihsan,
   
  I
tried that and
it did not work. When I cd into /cdrom/cdrom0 in the local zone, I only
see the
slices on the CD and nothing deeper than that. Adding devices and
mounting those
works, but I am trying to do something simpler than that for the people
in
datacenter to use.
   
  Thanks,
  Mahesh
   
   
   
  
   
  
  Mahesh
C. Shakthy
  DNCS
Platform
Development
  Digital
Subscriber Networks
  Scientific
Atlanta, A Cisco Company
  770-236-5642
  
  -Original
Message-
  From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, June
15, 2006 3:19
PM
  To: Shakthy, Mahesh
  Cc:
zones-discuss@opensolaris.org
  Subject: Re:
[zones-discuss] CDROM
access in a zone
   
  Mahesh,
  
To add a CD-ROM:
  
run zonecfg and add the foolowing statements:
  
add fs
set dir=/cdrom
set special=/cdrom
set type=lofs
set options=[nodevices]
end
  
Ihsan
  
Mahesh Shakthy wrote:
  
  
  Hello,
   
  I am new to zones and I was wondering if anyone has ideas about accessing cdrom drive from the global zone. I know I can add devices and mount the cdrom device in the local zone, but I am curious to know if it can be mounted and accessed similar to how vold does it on the global zone.
   
  Thansk in advance.
  Mahesh
   
   
  This message posted from opensolaris.org
  ___
  zones-discuss mailing list
  zones-discuss@opensolaris.org
    
   
  
  -- 
  

  





Ihsan
Zaghmouth

Sr.
SAP Solution Architect 
SUN-SAP
Business Applications Group 
(832)
859-2818   (Cell)
(713)
784-2818   (Home) 
(713)
784-2818   (Fax) 
[EMAIL PROTECTED]

  
  



  

  
   
  
  
  
  
- - - - - Appended by Scientific Atlanta, a Cisco company - - - - - 
This e-mail and any attachments may contain information which is
confidential, proprietary, privileged or otherwise protected by law.
The information is solely intended for the named addressee (or a person
responsible for delivering it to the addressee). If you are not the
intended recipient of this message, you are not authorized to read,
print, retain, copy or disseminate this message or any part of it. If
you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
  


-- 

My2Signature

  

  
  
  
  

  Ihsan
Zaghmouth 
  Sr. SAP Solution Architect 
  SUN-SAP
Business Applications Group
  
  (832)
859-2818   (Cell)
   (713)
784-2818   (Home) 
   (713)
784-2818   (Fax) 
   [EMAIL PROTECTED]
  


  
  

  





___
zones-discuss mailing list
zones-discuss@opensolaris.org