The officially official Devuan Forum!

You are not logged in.

#1 2018-09-18 05:10:50

billmoss
Member
Registered: 2018-09-17
Posts: 1  

xfs_repair

Problem with xfs_repair corrupting a partition.

Using a high quality USB to SATA adapter.
Partition a disk with gparted.
Set the file type to xfs and format.
Mount a partition
    mount /dev/sdd1 /mnt/sdd1
cd to /usr/local
find . | cpio -pvdum /mnt/sdd1
umount /mnt/sdd1
xfs_repair -n /dev/sdd1

    Generates all sorts of corruption errors.
When the adapter is moved to another system running Slackware 14.2,
xfs_repair works fine. If the original system is booted on a GNU Rescue
CD (flash drive), xfs_repair works fine.

On the original system, modinfo xfs indicates that the kernel driver and
the xfs_repair utility are of the same version, 4.9.

The system is use is an 8 core Intel on an Asus system board with 16 GiB
of RAM, using Devuan ASCII 64bit.

Offline

Board footer