On 07/13/10 01:53 PM, Shawn Walker wrote:
On 07/13/10 01:46 PM, Robert Hartzell wrote:
On 07/13/10 01:29 PM, Shawn Walker wrote:
On 07/13/10 01:22 PM, Robert Hartzell wrote:
On 07/13/10 01:12 PM, Shawn Walker wrote:
On 07/13/10 01:08 PM, Robert Hartzell wrote:
I'm trying to upgrade a system (b132) to (b134) and it's failing
because
it thinks /var/squid is a readonly file system.

bastion:/home/bear> pfexec pkg image-update --be-name snv_134


DOWNLOAD PKGS FILES XFER (MB)
Completed 1479/1479 12367/12367 297.5/297.5

PHASE ACTIONS
Removal Phase 9386/9386
Install Phase 29827/49054Action install failed for 'var/squid'
(pkg://opensolaris.org/web/proxy/squid):
OSError: [Errno 30] Read-only file system: '/tmp/tmpdndZEK/var/squid'
The running system has not been modified. Modifications were only
made
to a clone of the running system.

This clone is mounted at /tmp/tmpdndZEK should you wish to inspect
it.
pkg: Could not complete the operation on /tmp/tmpdndZEK/var/squid:
read-only filesystem

"/var/squid" is not mounted read only

I tried to create a new be and then upgrade that with the -R option
but
that failed with the same error.

Any ideas?

Currently, splitting '/' into separate filesystems is not supported if
those other filesystems contain packaged content.

Is /var/squid its own filesystem?

Cheers,
-Shawn

rpool/squid is mounted on /var/squid but then rpool/mail has been
mounted on /var/mail for as long as i can remember without issue. Is
this an unsupported setup?

/var/mail probably isn't an issue since it doesn't contain packaged
content. I suspect /var/squid actually contains files and/or directories
that are actually packaged?

What does 'pkg search /var/squid' show?

a lot of output similar to:

bastion:/home/bear> pfexec pkg search /var/squid
INDEX ACTION VALUE PACKAGE
path dir var/squid pkg:/[email protected]
path dir var/squid pkg:/[email protected]
path dir var/squid pkg:/[email protected]
path dir var/squid pkg:/[email protected]
path dir var/squid pkg:/[email protected]
path dir var/squid pkg:/[email protected]

I see the problem i think...

bastion:/home/bear> pfexec ls /var/squid
cache logs

I guess I need to see about moving the cache to a different place like
/export/cache since I want to keep it on its own file system.

So the issue is that /var/squid/cache and /var/squid/logs are delivered
to /var/squid. So while you can't make /var/squid its own filesystem at
the moment, you could make /var/squid/cache and /var/squid/logs their
own filesystems. Does that make sense?


Perfect sense... thanks for that info! Since I only care about the cache being on its own file system, it will be an easy fix.

I appreciate the help,
Robert

--
  Robert Hartzell
[email protected]
  RwHartzell.Net
_______________________________________________
install-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/install-discuss

Reply via email to