first attempt with zones and ZFS

2007-12-25 7:10:00

More clues:

root at blogs # ls -v httpd.conf
-rw-r--r-- 1 bin bin 16154 Jun 9 03:06 httpd.conf
0:user::rw-
1:group::r-- #effective:r--
2:mask:r--
3:other:r--
root at blogs # chown root httpd.conf
chown: httpd.conf: Read-only file system

On Fri, 2007-08-17 at 14:37 -0500, Robert Threet wrote:
> And, yeah, the file should be, IMO, writeable but vi reports:
>
> "httpd.conf" [Read only] 462 lines, 16154 characters
>
> root at blogs # ls -l httpd.conf
> -rw-r--r-- 1 bin bin 16154 Jun 9 httpd.conf
> root at blogs # chmod +w httpd.conf
> chmod: WARNING: can't change httpd.conf
>
> I tried the above from the zone and from the global instance - both
> report the same issue. I am VERY confused as to why I cannot at least
> modify from the global instance.
>
>
>
>
> On Fri, 2007-08-17 at 14:26 -0500, Robert Threet wrote:
> > I have 3 zones installed on 3 different ZFS file systems. The file
> > system is not supposed to be read-only but whenever I try to modify
the
> > httpd.conf is says it is read-only for root.
> >
> > root at blogs # zfs get rdonly zpool1/zones/media-zone
> > NAME PROPERTY VALUE SOURCE
> > zpool1/zones/media-zone readonly off local
> >
> > I'm obviously misunderstanding something pretty simple. Does
anybody
> > know what am I doing wrong?

Comments

Got something to say?

You must be logged in to post a comment.