Jump to content

How to repair drive after accidentally unplugging?


kkdao

Recommended Posts

Starting a new thread after this one solved my question: https://forum.armbian.com/topic/15044-how-to-re-format-and-remount-and-redo-lvm-volume-on-ssd/?tab=comments#comment-107672

but taking care of those things wasn't the root cause. it turns out the drive wasn't unmounted cleanly after accidentally unplugging the power cable from the board.


I had a drive setup using:

pvcreate /dev/nvme0n1
vgcreate rockpro64 /dev/nvme0n1
lvcreate -n <name> -L 500g rockpro64

then i formatted like this:
mkfs.ext4 /dev/rockpro64/name

but then i accidentally unplugged the power source while i got my system up and running

it wasn't cleanly unmounted and now when i try to run the system again i get errors relating to what i created and it's mount point, so i'm wondering what to do to revert back to default settings. I tried reflashing the OS image again, but the same errors still applied so there is something still going on with the drive from when I accidentally unplugged it.

Any tips or help would be greatly appreciated!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines