PDA

View Full Version : pgsql error



bluethundr
May 31st, 2011, 02:23 PM
hello forums!

I am getting a diskdevice error that i have never seen before in backing up pgsql.



ERROR: yeller.acadaca.net: PG-DATADIR property is differrent than diskdevice


This is my amanda-conf



property "PG-DATADIR" "/var/lib/pgsql/data"
property "PG-ARCHIVEDIR" "/var/lib/pgsql/archive"
property "PG-HOST" "/tmp"
property "PG-USER" "amandabackup"
property "PG-PASSFILE" "/etc/amanda/pg_passfile"




This is the directory it is complaining about:


[root@yeller:~] $ ls -l /var/lib/pgsql/ | grep data
drwx------ 11 postgres postgres 4096 May 31 17:55 data


here is some info on the disks


[root@yeller:~] $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 511G 19G 466G 4% /
/dev/sda1 99M 17M 78M 18% /boot
tmpfs 7.9G 0 7.9G 0% /dev/shm


And this is my fstab in case the error is related to that:



[root@yeller:~] $ cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0