Hi, I I am trying to install postgresql on my openwrt/extroot device, by proceeding according to the following tutorial: http://eko.one.pl/?p=openwrt-pgsql (thanks you google translate ;-) ). However when initializing the required files on disks, postgresql aborts with ENOSPACE.
When creating files in /var/postgresql dd only writes a few mb and aborts - also it seems the changes are held only in RAM. root@OpenWrt:/var/postgresql/data# dd if=/dev/zero of=testfile bs=100k dd: writing 'testfile': No space left on device 148+0 records in 146+1 records out whereas when executing the same command in /root it consumes all the free space left on the usb pen drive. df output seems plausible, although I don't understand how both /rootfs as well as /dev/sda1 can be mounted to /: Filesystem 1K-blocks Used Available Use% Mounted on rootfs 867544 43156 780312 5% / /dev/root 1536 1536 0 100% /rom tmpfs 14720 60 14660 0% /tmp tmpfs 512 0 512 0% /dev /dev/sda1 867544 43156 780312 5% / mount output looks like this: rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro,relatime) proc on /proc type proc (rw,noatime) sysfs on /sys type sysfs (rw,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14720k) tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,noatime,mode=600) /dev/sda1 on / type ext4 (rw,sync,relatime,user_xattr,barrier=1,data=ordered) debugfs on /sys/kernel/debug type debugfs (rw,relatime) none on /proc/bus/usb type usbfs (rw,relatime) Any ideas whats going wrong here? Thank you in advance, Clemens _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-users
