Mounting an LVM-based NTFS Partition on the Linux Host

I use LVM or “Logical Volume Manager” for all my storage needs. LVM provides a layer of abstraction between physical storage devices (such as hard drives or SSDs) and the file systems that are created on them. Among the file systems are also NTFS partitions that I created under Microsoft Windows 10. Here I share a little BASH script that mounts an LVM-based NTFS partition on the Linux host.

Continue reading “Mounting an LVM-based NTFS Partition on the Linux Host”

Does the Linux NTFS3 Driver Corrupt Directories?

Updated January 19, 2024

About a year ago I switched to the new Linux NTFS3 driver built into the kernel. Up until then I used the user space NTFS-3G driver to mount Windows NTFS drives on my Linux host. Yesterday when running my hash script on one of my NTFS photo backup drives, I noticed an input/output error.

Continue reading “Does the Linux NTFS3 Driver Corrupt Directories?”

New NTFS Driver in Kernel 5.15

Linux kernel release 5.15 introduced a new NTFS file system driver named NTFS3. This kernel driver was originally developed by Paragon Software as a commercial solution (more about the ntfs3 driver can be found on their FAQ page).

NTFS3 is not to be confused with NTFS-3G, a user space driver that employs the FUSE or “file system in user space” approach. There is a 3rd driver available – simply NTFS – that was shipped as the standard NTFS driver on Linux, but it lacked support for many of the Microsoft NTFS features (like writing to disk). Most of us dealing with NTFS drives have installed and use the NTFS-3G driver.

Continue reading “New NTFS Driver in Kernel 5.15”

Remote Backup Script for Windows NTFS Partitions on LVM Volumes

Linux bash script to mount and backup / synchronize a Windows 10 partition inside a LVM volume to a remote backup server using rsync and SSH

I run the bash script below to backup my Windows NTFS partitions residing on LVM volumes to a remote backup server. It uses SSH and public key authentication to authenticate at the remote side.

The script mounts an NTFS partition inside a LVM raw volume. It performs a file-based backup using rsync. It is NOT suitable for system backups!

Please carefully read the “Requirements”, “How it Works”, and “Usage” sections before attempting to use it.

Continue reading “Remote Backup Script for Windows NTFS Partitions on LVM Volumes”