Hello Christof,

On Sat Sep 27, 2025 at 9:12 PM CEST, Christof Meerwald wrote:
> Just thought I'd give LVM a try (on 11.0_BETA). Everything seemed to
> be fine until I tried to mount a filesystem with the "log" option:
>
> mount -o log /dev/mapper/M247--X10E--9N--vg-netbsd--test /mnt/test/
> mount_ffs: /dev/mapper/M247--X10E--9N--vg-netbsd--test on /mnt/test: 
> Inappropriate ioctl for device
>
> but without the log option it's fine:
>
> mount /dev/mapper/M247--X10E--9N--vg-netbsd--test /mnt/test/

Not sure if this helps, but as I am also interested in exactly
this setup you are using here let me add some data points:

```
~ [ sudo lvm lvs                                                  ] 10:40 vorm.
  LV   VG   Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  data vg0  -wi-a- 200,00g                                      
  home vg0  -wi-a- 200,00g  
```

```
~ [ cat /etc/fstab
...                                                ] 10:38 vorm.
/dev/mapper/vg0-data    /u      ffs     rw,log  0       0
/dev/mapper/vg0-home    /h      ffs     rw,log  0       0
```
        
```
~ [ mount                                                         ] 10:39 vorm.
...
/dev/mapper/vg0-data on /u type ffs (log, local)
/dev/mapper/vg0-home on /h type ffs (log, local)
```

```
~ [ uname -a                                                      ] 10:40 vorm.
NetBSD x230.lan 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024  
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC amd64
```

Summary: in NetBSD 10.1 this works.

How did you create the filesystem in the LV? newfs -O2
is required I think to use wapbl.

Recently I tried to backup a FFSv2 on LVM with wapbl enabled using
dump+fss - there seem to be further unresolved issues:

https://mail-index.netbsd.org/current-users/2017/11/15/msg032649.html
(the report is from 2017, but I can reproduce it also today)

Best regards
Matthias

-- 
Matthias Petermann
E-Mail: [email protected]

Reply via email to