Emcpower0a device/lun is not visible in non global zone

Hi All

Please find my zone configuration after add emcpower0a device

 
zonecfg -z zone1 export
create -b
set zonepath=/zone/zone1
set autoboot=true
set ip-type=shared
add net
set address=192.168.1.11/24
set physical=nxge2
set defrouter=192.168.1.1
end
add device
set match=/dev/rdsk/emcpower0a
end
add device
set match=/dev/dsk/emcpower0a
end

 

Now in zone1, I could not able to see emcpower0a LUN in following directory

/dev/dsk
/dev/rdsk
 

I have even rebooted my zone also

I need to see this LUN (emcpower0a) so that it will automatically mount when the zone1 boot.

Hmmmmm......is this a whole root zone?

Try this. Login to zone1 as root.

 
devfsadm -r / -p /etc/path_to_inst

Does that give any error?

Does the new device appear in /dev/dsk and /dev/rdsk?

Are you sure that the new disk is published properly? ie, visible to the system?

It's been a little while since I've done this, but as I recall, there's some steps you've missed. You need to set a special parameter, and specify some details about the FS. I'm not 100% since I'm not on my work laptop, but I think the following is what you need to do.

How to Add a Writable Directory under /usr in a Non-Global Zone (System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones)

Best wishes!

Dear hicksd8/DustinT

Thanks for your inputs.

DustinT as you said I did it in the same way. This process resolve my problem.

Sorry for late replying as I was't well.

Regards
sb200

Great, I'm glad it helped. The procedure isn't hard once you know what to do.