-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Trying to copy a 10GB file to a 2GB Stratis filesystem appears to succeed, but in reality causes the file to be corrupted. To reproduce:
- Login to a RHEL 9.2 system as root (System has a 20GB root disk, plus a 2GB blank disk)
- Install/enable/start
stratisdandstratis-cli(version 3.4.1)
yum -y install stratisd stratis-cli; systemctl enable --now stratisd stratis pool create testpool /dev/sdbstratis filesystem create testpool testfilesystemmkdir -p /mnt/test- Add this line to
/etc/fstab
/dev/stratis/testpool/testfilesystem /mnt/test xfs defaults,x-systemd.requires=stratisd.service 0 0 mount -a- Download a large file to /root for testing
wget -P /root http://mirrors.rit.edu/centos/7.9.2009/isos/x86_64/CentOS-7-x86_64-Everything-2009.iso - Copy the file to the Stratis filesystem
cp /root/CentOS-7-x86_64-Everything-2009.iso /mnt/test - Hash the test file in both locations
md5sum /root/CentOS-7-x86_64-Everything-2009.iso
md5sum /mnt/test/CentOS-7-x86_64-Everything-2009.iso
These checksums will come back different, indicating data corruption.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels