Re: [zones-discuss] lofiadm within zones

2009-10-27 Thread Prakash Kochummen
Thanks Ketan, part of my problem is that my iso file is on a NAS share. I 
mounted the NAS share through NFS on the global, lofiadm/mounted the iso on the 
global and tried to lofs to the local zone. It does not work as it is not a 
local filesystem.

Currently we are NFS mounting the iso to a server , lofiadm/mounting the iso to 
the global and then sharing it using NFS to the local zones. Not the best 
solution but it works. 

Thanks for your time.

Rgds
PK
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] lofiadm within zones

2009-10-25 Thread Ketan
Try to mout it in Global zone. And you can mount the lofi device from the 
global zone to the local zone too without adding lofi device to local zone.
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] lofiadm within zones

2009-10-22 Thread Prakash Kochummen
Hi,

I am trying to do an iso using lofiadm within a zone.

# lofiadm
Block Device File
/dev/lofi/1  /zoneroot/nfs/cd.iso

# mount -F hsfs -o ro /dev/lofi/1 /mnt
mount: I/O error
mount: cannot mount /dev/lofi/1

# mount -F hsfs  /dev/lofi/1 /mnt
mount: I/O error
mount: cannot mount /dev/lofi/1
#

I have the following in my zonecfg 

device
match: /dev/rlofi/*
device
match: /dev/lofi/*
device
match: /dev/lofictl
device
match: /dev/lofictl/*
#

Any help is highy appreciated. Thanks 

Rgds
PK
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org