mount -t btrfs -o recovery,nospace_cache /dev/sda /srv/test
and if that does not work
mount -t btrfs -o recovery,nospace_cache,clear_cache /dev/sda /srv/test
The first mount command just came back to the prompt.
The second mount command produced the following:
"mount: /dev/sda is already mounted or /srv/test busy
/dev/sda is already mounted on /srv/test"
So then I went back and looked at previous instructions that didn't seem to work. I ran "mount" and got this:
"sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=10212176k,nr_inodes=2553044,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=2046264k,mode=755)
/dev/sdc1 on / type ext4 (rw,relatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/
systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,dir
ect,pipe_ino=1455)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
/dev/sdb1 on /srv/dev-disk-by-label-NewDrive2 type btrfs (rw,relatime,space_cache,subvolid=5,subvol=/)
/dev/sda on /srv/test type btrfs (rw,relatime,nospace_cache,subvolid=5,subvol=/)"
So, given that the drive is mounted, I went back to what you were trying to have me do before after having me mount the copy drive. So I have run "btrfs scrub start /srv/test". It came back with this:
"scrub started on /srv/test, fsid fdce5ae5-fd6d-46b9-8056-3ff15ce9fa16 (pid=11445)"
So it looks like we have successfully started the scrub that you wanted me to do back on December 22nd. You had said that I could check the progress with "btrfs scrub status /srv/test". You indicated this could run for quite awhile, maybe 24hrs. Here is the status:
"scrub status for fdce5ae5-fd6d-46b9-8056-3ff15ce9fa16
scrub started at Sat Jan 11 11:51:03 2020 and finished after 00:00:00
total bytes scrubbed: 512.00KiB with 0 errors"
So after 10 minutes, this is the btrfs scrub status /srv/test
"scrub status for fdce5ae5-fd6d-46b9-8056-3ff15ce9fa16
scrub started at Sat Jan 11 11:51:03 2020 and finished after 00:00:00
total bytes scrubbed: 512.00KiB with 0 errors"
It would appear to me that it's finished. Or does the "finished after 00:00:00" indicated it's still working?
If I do a "ls /srv/test", I get no results.
So, I await your command ...
Steve