So I just accidentally bumped and and unplugged the cable on an external USB harddrive.
- There was no activity at the time.
- It's btrfs (one big partition the whole drive, about 2TB... (I think it's spinning rust, not an SSD -- I dunno, it's just something I had in my box of random old things I inherited from I dunno where))
---
I just plugged it back in, and...
-
-
-
- but
#=>
---
What should I do/check?
Like, I am aware of
but I don't know anything specific about how/why to use it, or what related/alternative tools I should use...?
Basically, what are my unknown-unknowns here?
How are you generally supposed to deal with this kind of situation?
- There was no activity at the time.
- It's btrfs (one big partition the whole drive, about 2TB... (I think it's spinning rust, not an SSD -- I dunno, it's just something I had in my box of random old things I inherited from I dunno where))
---
I just plugged it back in, and...
-
mountpoint [[path]] #=> "[[path]] is a mountpoint"-
lsblk doesn't show it as having a mountpoint-
findmnt #=>
Code:
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda3[/@/.snapshots/1/snapshot] btrfs rw,relatime,ssd,discard=async,space_cache=v2,subvolid=266,subvol=/@/.snapshots/1/snapshot
[...]
[...]
[...]
└─[[path]] /dev/sdb1 btrfs ro,nosuid,nodev,relatime,space_cache,subvolid=5,subvol=/
- but
sudo ls [[path]] #=>
ls: reading directory '[[path]]': Input/output error---
What should I do/check?
Like, I am aware of
fsck,but I don't know anything specific about how/why to use it, or what related/alternative tools I should use...?
Basically, what are my unknown-unknowns here?
How are you generally supposed to deal with this kind of situation?

