hi stefan, you can use XFS with overlayfs, but you need to pass the `-n ftype=1` argument to mkfs.xfs. it should work fine with rkt if you do that.
nick On 08/08/2016 02:34 PM, Stefan Vetter wrote: > Great, that's the reason. xfs seams not to be supported and raising the > d_type not supported message. > > > Thanks a lot for your help! > > 2016-08-08 21:43 GMT+02:00 Florian Koch <[email protected]>: > >> Hi, >> >> So You trief ext4 instead xfs? >> >> Von meinem iPhone gesendet >> >>> Am 08.08.2016 um 21:14 schrieb Stefan Vetter <[email protected]>: >>> >>> Hi all, >>> >>> I have a problem now after booting coreos with pxe into ram. >>> I wanted to mount local storage to /var/lib/rkt to download,run and >> store images on local storage instead onto ram. >>> After doing that I now receive those errors: >>> >>> image: using image from local store for image name >> coreos.com/rkt/stage1-fly:1.2.1 >>> image: using image from local store for image name >> quay.io/coreos/hyperkube:v1.3.2_coreos.0 >>> stage0: Preparing stage1 >>> stage0: Writing image manifest >>> stage0: Loading image sha512-85446dcf36e1c2ebd4c6a32ef52f1a >> 43764e24eba2c5a727ee01315a7a229b92 >>> stage0: Writing image manifest >>> stage0: Writing pod manifest >>> stage0: Setting up stage1 >>> stage0: error setting up stage1 >>> └─error rendering overlay filesystem >>> └─error mounting >>> └─invalid argument >>> >>> >>> I have been able to prove: >>> /dev/mapper/vg0-mntVarRkt consists or real local storage and is mounted >> on /var/lib/rkt which is located at mount: >>> >>> tmpfs on / type tmpfs (rw,relatime,seclabel) >>> >>> if I unmount /dev/mapper/vg0-mntVarRkt and start the pod, everything >> works as expected, but I need more storage. Any idea how I can leverage >> this? >>> >>> >>> All mounts: >>> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel) >>> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) devtmpfs on >> /dev type devtmpfs (rw,nosuid,seclabel,size=264000280k,nr_inodes=66000070, >> mode=755) >>> securityfs on /sys/kernel/security type securityfs >> (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev/shm type tmpfs >> (rw,nosuid,nodev,seclabel) devpts on /dev/pts type devpts >> (rw,nosuid,noexec,relatime,seclabel,gid=5,mode=620,ptmxmode=000) >>> tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755) >>> tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec, >> seclabel,mode=755) >>> cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec, >> relatime,xattr,release_agent=/usr/lib/systemd/systemd- >> cgroups-agent,name=systemd) >>> pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec, >> relatime,seclabel) >>> cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup >> (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio) >>> cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec, >> relatime,cpu,cpuacct) >>> cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec, >> relatime,hugetlb) >>> cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec, >> relatime,cpuset) >>> cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec, >> relatime,memory) >>> cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec, >> relatime,perf_event) >>> cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec, >> relatime,devices) >>> cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec, >> relatime,blkio) >>> cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec, >> relatime,freezer) >>> cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec, >> relatime,pids) >>> tmpfs on / type tmpfs (rw,relatime,seclabel) /usr.squashfs (deleted) on >> /usr type squashfs (ro,relatime,seclabel) selinuxfs on /sys/fs/selinux type >> selinuxfs (rw,relatime) mqueue on /dev/mqueue type mqueue >> (rw,relatime,seclabel) tmpfs on /tmp type tmpfs (rw,seclabel) hugetlbfs on >> /dev/hugepages type hugetlbfs (rw,relatime,seclabel) >>> systemd-1 on /proc/sys/fs/binfmt_misc type autofs >> (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto= >> 5,direct,pipe_ino=30776) >>> tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel) >>> debugfs on /sys/kernel/debug type debugfs (rw,relatime,seclabel) tmpfs >> on /run/user/500 type tmpfs (rw,nosuid,nodev,relatime, >> seclabel,size=52832844k,mode=700,uid=500,gid=500) >>> /dev/mapper/vg0-containerData on /data type xfs >> (rw,relatime,seclabel,attr2,inode64,noquota) >>> /dev/mapper/vg0-mntVarRkt on /tmp/rkt type xfs >> (rw,relatime,seclabel,attr2,inode64,noquota) >>> >>> >>> Thanks a lot for your help. >> >
