Thread: Moving postgres to FC disks
I am planning to move the pg databases from the internal RAID to external Fiber Channel over SAN.
Question is –
-With the db size being as big as, say, 30+GB, how do I move it on the new logical drive? (stop postgresql, and simply move it over somehow and make a link?)
-Currently, the internal RAID volume is ext3 filesystem. Any recommendations for the filesystem on the new FC volume? Rieserfs?
DBs are 7.4.1(RH9), and 7.2.3 (RH8).
Appreciate any pointers.
Thanks,
Anjan
I would stop the database, move the data directory to the new volume using rsync then start up postgresql pointed at the new data directory.-With the db size being as big as, say, 30+GB, how do I move it on the new logical drive? (stop postgresql, and simply move it over somehow and make a link?)
Providing everything is working correctly you can then remove the old data directory.
XFS-Currently, the internal RAID volume is ext3 filesystem. Any recommendations for the filesystem on the new FC volume? Rieserfs?
DBs are 7.4.1(RH9), and 7.2.3 (RH8).
Appreciate any pointers.
Thanks,
Anjan
-- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC Postgresql support, programming shared hosting and dedicated hosting. +1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com PostgreSQL Replicator -- production quality replication for PostgreSQL
----- Original Message -----From: Joshua D. DrakeTo: Anjan DaveSent: Tuesday, April 20, 2004 8:27 PMSubject: Re: [PERFORM] Moving postgres to FC disksI would stop the database, move the data directory to the new volume using rsync then start up postgresql pointed at the new data directory.-With the db size being as big as, say, 30+GB, how do I move it on the new logical drive? (stop postgresql, and simply move it over somehow and make a link?)
Providing everything is working correctly you can then remove the old data directory.XFS-Currently, the internal RAID volume is ext3 filesystem. Any recommendations for the filesystem on the new FC volume? Rieserfs?
DBs are 7.4.1(RH9), and 7.2.3 (RH8).
Appreciate any pointers.
Thanks,
Anjan-- Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC Postgresql support, programming shared hosting and dedicated hosting. +1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com PostgreSQL Replicator -- production quality replication for PostgreSQL
On Tue, 2004-04-20 at 17:27, Joshua D. Drake wrote: > > -Currently, the internal RAID volume is ext3 filesystem. Any > > recommendations for the filesystem on the new FC volume? Rieserfs? > > > > > XFS What Linux distributions are popular in here for PG+XFS? I'm very disappointed that Redhat Enterprise 3 doesn't appear to support XFS/JFS, or anything else. Suse Server 8 seems very dated, at least from the eval I downloaded. I'm curious as to where other people have gone with the death of RH9. I'd have gone on to Redhat 3 if I wasn't interested in getting some of the benefits of XFS at the same time ...