You are not logged in.

#1 2023-07-19 07:42:23

nsavinda
Member
Registered: 2023-07-19
Posts: 1

Btrfs file system not mounting

I received a "No space left on device" error on my Btrfs filesystem
Then I add a Btrfs device using the command

 btrfs device add /dev/loop0 . 

and rebalance file system.
I forgot to delete the Btrfs device using the command

 btrfs device delete /dev/loop0 . 

As a result, my filesystem is now unable to mount, and I'm seeking assistance on resolving this issue.


[nirmal@nirmal-notebook ~]$ sudo mount  /dev/mapper/luks-d31cd5c9-39b2-4972-abd4-1435ba1665c2 /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/mapper/luks-d31cd5c9-39b2-4972-abd4-1435ba1665c2, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.
Jul 19 13:03:25 nirmal-notebook kernel: BTRFS info (device dm-1): using crc32c (crc32c-intel) checksum algorithm
Jul 19 13:03:25 nirmal-notebook kernel: BTRFS info (device dm-1): disk space caching is enabled
Jul 19 13:03:25 nirmal-notebook kernel: BTRFS error (device dm-1): devid 2 uuid 9a841ee3-6227-49fe-b113-0def5f78709d is missing
Jul 19 13:03:25 nirmal-notebook kernel: BTRFS error (device dm-1): failed to read chunk tree: -2
Jul 19 13:03:25 nirmal-notebook sudo[40990]: pam_unix(sudo:session): session closed for user root
Jul 19 13:03:25 nirmal-notebook kernel: BTRFS error (device dm-1): open_ctree failed

Offline

#2 2023-07-22 10:00:09

ua4000
Member
Registered: 2015-10-14
Posts: 559

Re: Btrfs file system not mounting

btrfs device add /dev/loop0 . 

With this command you made a RAID file-system and also moved some of your data into loop0 with the rebalance. What and where is loop0 ? Do you still have it ?

I fear you have lost all data. Contact the person who gave you this strange instruction... maybe it was a mistake or a bad joke ?

Offline

Board footer

Powered by FluxBB