Jelle de Jong wrote:
Thank you for replying.

# strings $(which ntfs-3g) | grep ntfs-plugin
/usr/lib/x86_64-linux-gnu/ntfs-3g/ntfs-plugin-%08lx.so

# ldd /usr/lib/x86_64-linux-gnu/ntfs-3g/ntfs-plugin-80000013.so
    linux-vdso.so.1 (0x00007ffee53a0000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f85b3528000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f85b38fc000)

I am guessing the plugin is in the correct location (not fully sure how %08lx expands).

The plugin is not referenced at link-time, so ldd cannot
show it, but it is at the expected location. %08lx expands
as the "reparse tag", which is defined as 80000013 for
deduplication. There would have been an error shown in
the syslog if the plugin was needed and not available.


I found out we disabled deduplication on the ntfs system to make sure it was not causing issues a while ago, so this was not the root cause of the issues I am experiencing for now. I will do further debugging.

Sounds reasonable.

Jean-Pierre


Kind regards,

Jelle de Jong

On 8/1/19 2:48 PM, Nikolay Ivanets wrote:
Do

strings $(which ntfs-3g) | grep ntfs-plugin

to find correct plugins location.

--
   Mykola Ivanets

чт, 1 серп. 2019, 14:48 користувач Jelle de Jong <jelledej...@powercraft.nl <mailto:jelledej...@powercraft.nl>> пише:

    Hello everybody,

    I am trying to debug some issues I am having that the mount start
    showing a completely different filesystem (linux instead of windows
    ntfs) and I wanted to make sure the deduplication is still working.

    So it is not showing in the syslog that the deduplication plugin is
    loaded?? Is this normal new behaviour?

    lvcreate --snapshot --name sr8-disk2-snapshot-copy --size 50G
    /dev/lvm1-vol/sr8-disk2
    lvchange -ay /dev/lvm1-vol/sr8-disk2-snapshot-copy
    blkid /dev/lvm1-vol/sr8-disk2-snapshot-copy
    kpartx -avg /dev/lvm1-vol/sr8-disk2-snapshot-copy
    blkid /dev/mapper/lvm1--vol-sr8--disk2--snapshot--copy2
    mkdir /mnt/sr8-sdb2-copy
    mount -o ro  -t ntfs-3g
    /dev/mapper/lvm1--vol-sr8--disk2--snapshot--copy2 /mnt/sr8-sdb2-copy
    ls -hal /mnt/sr8-sdb2-copy/USERS/
    df -hal
    grep ntfs /var/log/syslog

    # grep ntfs /var/log/syslog
Aug 1 13:18:24 backup ntfs-3g[1737]: Version 2017.3.23AR.3 integrated
    FUSE 28
    Aug  1 13:18:24 backup ntfs-3g[1737]: Mounted
    /dev/mapper/lvm1--vol-sr8--disk2--snapshot--copy2 (Read-Only, label
    "DATA", NTFS 3.1)
    Aug  1 13:18:24 backup ntfs-3g[1737]: Cmdline options: ro
    Aug  1 13:18:24 backup ntfs-3g[1737]: Mount options:
ro,allow_other,nonempty,relatime,fsname=/dev/mapper/lvm1--vol-sr8--disk2--snapshot--copy2,blkdev,blksize=4096
    Aug  1 13:18:24 backup ntfs-3g[1737]: Ownership and permissions
    disabled, configuration type 7

    root@backup:~# ls -hal /usr/lib/x86_64-linux-gnu/ntfs-3g
    total 68K
    drwxr-xr-x  2 root root 4.0K Jan 10  2017 .
    drwxr-xr-x 45 root root  40K Aug  1 06:12 ..
    -rw-r--r--  1 root root  17K Aug  1 13:04 ntfs-plugin-80000013.so

    Kind regards,

    Jelle de Jong


    _______________________________________________
    ntfs-3g-devel mailing list
    ntfs-3g-devel@lists.sourceforge.net
    <mailto:ntfs-3g-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel






_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to