pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedRunning postgres on a read-only file system
4+ messages / 4 participants
[nested] [flat]
* Running postgres on a read-only file system
@ 2002-08-29 20:28 Tyler Mitchell <TMitchell@lignum.com>
0 siblings, 2 replies; 4+ messages in thread
From: Tyler Mitchell @ 2002-08-29 20:28 UTC (permalink / raw)
To: pgsql-admin; +Cc: nicolasb@maich.gr
Hello, I haven't been able to finding information on this, or at least I
haven't known the right keywords to search for.
We are trying to make a fully contained, CD-runable version of postgres.
The only problem we are really having is the locking of the database files
in the PGDATA folder. Since the PGDATA folder is on the CD (i.e.
read-only) this will not work. Can you direct me to either other resources
to read or at least point me to the settings/functionality that I need to
learn more about? Or better yet could you give me some guidance on how to
get around this. The simpler the solution the better (i.e. postmaster
options, environment variables, etc.).
Tyler
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Running postgres on a read-only file system
@ 2002-08-29 21:55 Andrew Sullivan <andrew@libertyrms.info>
parent: Tyler Mitchell <TMitchell@lignum.com>
1 sibling, 0 replies; 4+ messages in thread
From: Andrew Sullivan @ 2002-08-29 21:55 UTC (permalink / raw)
To: pgsql-admin
On Thu, Aug 29, 2002 at 01:28:56PM -0700, Tyler Mitchell wrote:
> Hello, I haven't been able to finding information on this, or at least I
> haven't known the right keywords to search for.
> We are trying to make a fully contained, CD-runable version of postgres.
Some time ago (like > 2 years, I believe), on the list, someone did
this. It was ugly, IIRC. Postgres wants to write files somewhere,
and it will be very unhappy if it can't.
A
--
----
Andrew Sullivan 204-4141 Yonge Street
Liberty RMS Toronto, Ontario Canada
<andrew@libertyrms.info> M2P 2A8
+1 416 646 3304 x110
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Running postgres on a read-only file system
@ 2002-08-30 04:11 Tom Lane <tgl@sss.pgh.pa.us>
parent: Tyler Mitchell <TMitchell@lignum.com>
1 sibling, 1 reply; 4+ messages in thread
From: Tom Lane @ 2002-08-30 04:11 UTC (permalink / raw)
To: Tyler Mitchell <TMitchell@lignum.com>; +Cc: pgsql-admin; nicolasb@maich.gr
"Tyler Mitchell" <TMitchell@lignum.com> writes:
> We are trying to make a fully contained, CD-runable version of postgres.
> The only problem we are really having is the locking of the database files
> in the PGDATA folder. Since the PGDATA folder is on the CD (i.e.
> read-only) this will not work.
You can say that again.
> Or better yet could you give me some guidance on how to
> get around this.
Put PGDATA on a writable volume. RAM disk, maybe.
regards, tom lane
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Running postgres on a read-only file system
@ 2002-08-30 15:57 Robert Treat <xzilla@users.sourceforge.net>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 4+ messages in thread
From: Robert Treat @ 2002-08-30 15:57 UTC (permalink / raw)
To: Tyler Mitchell <TMitchell@lignum.com>; +Cc: pgsql-admin; nicolasb@maich.gr
On Fri, 2002-08-30 at 00:11, Tom Lane wrote:
> "Tyler Mitchell" <TMitchell@lignum.com> writes:
> > We are trying to make a fully contained, CD-runable version of postgres.
> > The only problem we are really having is the locking of the database files
> > in the PGDATA folder. Since the PGDATA folder is on the CD (i.e.
> > read-only) this will not work.
>
> You can say that again.
>
> > Or better yet could you give me some guidance on how to
> > get around this.
>
> Put PGDATA on a writable volume. RAM disk, maybe.
>
This is only slightly more helpful, and maybe not even, but if you look
around there are a couple of linux distros that run completely off of a
CD-ROM (I tested a couple a couple of years ago). They set up a "virtual
filesystem" of sorts to allow people to browse the web and accept
cookies and other various items. If you can find one of these distros
you might be able to get a jump start on setting something like that up.
Robert Treat
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-08-30 15:57 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-08-29 20:28 Running postgres on a read-only file system Tyler Mitchell <TMitchell@lignum.com>
2002-08-29 21:55 ` Andrew Sullivan <andrew@libertyrms.info>
2002-08-30 04:11 ` Tom Lane <tgl@sss.pgh.pa.us>
2002-08-30 15:57 ` Robert Treat <xzilla@users.sourceforge.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox