Questions tagged as ['btrfs']

Btrfs is a new copy on write filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration. Initially developed by Oracle, Btrfs is licensed under the GPL and open for contribution from anyone.
Score: 2
Pilot6 avatar
How to find out which disk is failing in a btrfs raid1 filesystem?
cn flag

A couple of days ago system SSD in my desktop failed completely. A week or two before some symptoms appeared: the system occasionally booted as read-only, some errors appeared. But after a reboot all worked well. SMART didn't show anything at all.

This is my main working computer and it is 10-year-old (with some upgrades). I have proper backups set up to a HDD and also important data is sent to a ...

Score: 2
What is the Btrfs extended attribute 'm'?
cn flag

I recently found one of my Virtual Machine images with the extended attribute 'm'. I tried to look it up, but I found no information. Is this an undocumented extended attribute?

$ lsattr usb2ubuntu.btrfs.img*
---------------------m usb2ubuntu.btrfs.img
---------------------- usb2ubuntu.btrfs.img.210810_15:02:49.bak

Notice the attribute doesn't exist on the backup file.

Score: 0
Why is my filesystem size larger than the partition size. (df vs fdisk)
br flag

So... I get that fdisk lists partition sizes, and df lists filesystem sizes, and that filesystem may use a portion of the partition and disagree on the size, but why would df list filesystem sizes that are larger that the partition sizes?

enter image description here

df: /dev/sda6 200G

fdisk: /dev/sda5 7.8G


Score: 0
mfender avatar
Grub not recognizing btrfs partition after Ubuntu installation
in flag

Recently I've installed Ubuntu 20.04 (ext4). On the same disk was installed Linux Mint 19 (btrfs). I was able to mount partition, copy files, etc. It wasn't corrupted.

After installing Ubuntu grub was unable to recognise files of Linux Mint system and make record in boot menu. I was running grub from ubuntu terminal.

Score: 0
vega avatar
Logging issue in graphics terminal in Ubuntu 20.04 after timeshift setup
us flag

I installed timeshift btrfs type in my Dell laptop with Ubuntu 20.04 for btrfs. After reboot, I see login is not possible in graphics console and so pressing CTRL-ALT-F2 I came to text console and loging was possible. However, after the login, I see that /home and /opt partitions are missing which are listed in /etc/fstab and pwd shows directory /. I could see the partitions using sudo fdisk -l command.  ...

Score: 1
Any way to pause a task and then restart within a pipe
tm flag

I use a command like btrfs restore -iv /dev/sdc1 /RESTORED

estimated time of running it is few days

In every hour of running I see a lot of prompts like:

We seem to be looping a lot on /path/to/some/file, do you want to keep going on?

I'd like to say N to all remaining prompts, but there is no such option (according to man btrfs-restore and btrfs )

I think I need this: yes N | btrfs restore -iv ...