Re: *** Some devices missing ***

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luescher Claude posted on Tue, 06 Dec 2016 14:00:28 +0100 as excerpted:

> The server was running 3.13 kernel and btrfs progs 4.0  until it
> crashed. After that mounting the file system hang forever so I decided
> to switch to Linux Kernel 4.8.11 and btrfs-progs v4.8.5.
> 
> There are of course no missing devices.  This is what I get in dmesg
> when I try to mount the array with or without the degraded option:

> [363.066379] BTRFS error (device sdf): super_num_devices 10 mismatch
> with num_devices 9 found here

> I only find an old 2014 list entry that it was some bug and fixed so it
> should be long time fixed in 4.8.5. I need to put the device back to
> operation as soon as possible. Anybody have any further ideas what can I
> do?

FWIW there's a very recent (within the last week) thread on this, with a 
patch.  I'm not a dev, just a btrfs user and list regular, so I didn't 
specifically track it, but someone else will likely post a more direct 
link or list the thread name anyway.

IIRC the problem is that under certain circumstances the number of 
devices as given in the superblock can be incorrect, so the patch lets 
btrfs ignore the given number if all chunks (both copies in raid1/10 
mode) appear to be accounted for on already available devices.

I believe the patch has been queued, but isn't in a release yet.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux