Re: label devices got removed after format

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

 



Am 12.07.2013 12:33, schrieb Gabriel de Perthuis:
> On Thu, 11 Jul 2013 18:28:06 -0700, Kent Overstreet wrote:
>> On Thu, Jul 11, 2013 at 11:43:22AM +0200, Stefan Priebe - Profihost AG wrote:
>>> Hi,
>>>
>>> after doing mkfs.xfs -f /dev/bcache/by-label/mybcachelabel
>>>
>>> /dev/bcache/by-label/mybcachelabel gots removed...
>>>
>>> Only a reboot brings it back.
>>>
>>> Stefan
>>
>> Gabriel - I bet the uevent bcache is emitting is conflicting with the
>> name of an existing label uevent; there'll be a symlink for the
>> filesystem's label - for the same block device - so the mkfs could be
>> causing another uevent to be emitted overwriting our label.
> 
> The uevent property is CACHED_LABEL, a name that shouldn't interfere
> with the cached device's filesystem label.
> 
>> Or maybe the conflict is a bit more subtle - anyways, you added the
>> label uevent code, think you might be able to figure it out?
> 
> I actually can't reproduce this; the link doesn't disappear.

To me it happens alays when a udev event is triggered. It seems the
label isn't republished. To me the whole Folder /dev/bcache gets removed.

May i've used the wrong kernel patches on top of 3.10?

I have 2cd508a73e7f02b6d30bdbf9322d0b9c6e11a58e and
74ba1d388deb5d064414696f83578b0aade4685a

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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux