I am chrooted and running out of drive space, so I mounted back to the host drive which has plenty of space but cannot seem to redirect the outputted data to my empty drive
[root@localhost rra]# ls /mnt/maindrv/
cacti-0.8.8b cacti-0.8.8b.tar.gz cacti2.tar cactidb
[root@localhost rra]# for i in `ls *.rrd`; do rrdtool dump $i > '/mnt/maindrv/'.$i.'xml'; done
[root@localhost rra]# ls /mnt/maindrv/
cacti-0.8.8b cacti-0.8.8b.tar.gz cacti2.tar cactidb
[root@localhost rra]# df -h /mnt/maindrv/
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-home
97G 1.5G 96G 2% /mnt/maindrv
How do I properly output my dump to /mnt/maindrv/
?