Re: btrfs scrub: cancel + resume not resuming?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/9/20 12:05 PM, Holger Hoffstätte wrote:
$cat test-scrub
#!/bin/sh
btrfs scrub start /mnt/backup
sleep 30
btrfs scrub status -R /mnt/backup
btrfs scrub cancel /mnt/backup
btrfs scrub resume /mnt/backup
sleep 10
btrfs scrub status -R /mnt/backup

[snip]
     last_physical: 3591372800
         ^^^^^^^^^^^^^^^^^^^^^^^^^
[snip]
     last_physical: 923205632
         ^^^^^^^^^^^^^^^^^^^^^^^^

Not sure what I'm doing wrong ;)

AARGH. What I'm doing wrong is that I can't read and that it indeed seems
to start from the beginning. Nice catch!

-h



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux