Re: [dm-devel] [Question] multipathd.service start failed when /var/run isn't mount

2021-07-22 Thread lixiaokeng
On 2021/7/23 5:42, Benjamin Marzinski wrote: > On Thu, Jul 22, 2021 at 10:51:22AM +0800, lixiaokeng wrote: >> When we enable multipathd.service with systemctl and reboot, >> multipathd doesn't start and log "failed to create pidfile". >> >> The reason is following: >> >> The RUN is /var/run in m

Re: [dm-devel] [Question] multipathd.service start failed when /var/run isn't mount

2021-07-22 Thread Benjamin Marzinski
On Thu, Jul 22, 2021 at 10:51:22AM +0800, lixiaokeng wrote: > When we enable multipathd.service with systemctl and reboot, > multipathd doesn't start and log "failed to create pidfile". > > The reason is following: > > The RUN is /var/run in multipath-tools. When we start linux, we > mount a disk

Re: [dm-devel] Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-22 Thread Pintu Agarwal
On Wed, 21 Jul 2021 at 22:40, Mikulas Patocka wrote: > > > > > > Try to set up dm-verity with block size 512 bytes. > > > > > > I don't know what block size does squashfs use, but if the filesystem > > > block size is smaller than dm-verity block size, it doesn't work. > > > > > Okay thank you so

Re: [dm-devel] Kernel 4.14: Using dm-verity with squashfs rootfs - mounting issue

2021-07-22 Thread Pintu Agarwal
On Tue, 20 Jul 2021 at 17:12, Mikulas Patocka wrote: > > Hi > > Try to set up dm-verity with block size 512 bytes. > > I don't know what block size does squashfs use, but if the filesystem > block size is smaller than dm-verity block size, it doesn't work. > Okay thank you so much for this clue, I