Data for UPS stale

Status
Not open for further replies.
Joined
Mar 6, 2014
Messages
686
Last edited:
Joined
Mar 6, 2014
Messages
686
BUT:

Problem after following the guide mentioned. Getting emails:

Cron <root@nas> /bin/sh /usr/local/sbin/save_rrds.sh
rm: /data/rrd_dir.tar.bz2: Read-only file systemmv: rename rrd_dir.tar.bz2.28209 to /data/rrd_dir.tar.bz2: Read-only file system

and

Cron <root@nas> /bin/sh /usr/local/sbin/save_rrds.sh
rm: /data/rrd_dir.tar.bz2: Read-only file system
mv: rename rrd_dir.tar.bz2.26710 to /data/rrd_dir.tar.bz2: Read-only file system

and so on.

Probably mount -uw and mount -ur broke something.

EDIT: I think this might be caused by omitting the '/' in the commands?

mount -uw /
echo "MAXAGE 25">>/etc/local/nut/upsd.conf
mount -ur /

Just don know how to solve this....


Created a separate thread here
 
Last edited:
Joined
Mar 6, 2014
Messages
686
Got an answer, from the thread mentioned above:

If you're on 9.3, do not use the mount commands shown in older guides. The boot filesystem changed in 9.3 and it is no longer mounted r/o.

So we should only use:
Code:
echo "MAXAGE 25">>/etc/local/nut/upsd.conf

without the mount commands.

This won't survive a reboot
 
Status
Not open for further replies.
Top