Re: [ceph-users] RBD v1 image format ...

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

 



On Wed, Jan 11, 2017 at 6:01 PM, Shinobu Kinjo <skinjo@xxxxxxxxxx> wrote:
> It would be fine to not support v1 image format at all.
>
> But it would be probably friendly for users to provide them with more
> understandable message when they face feature mismatch instead of just
> displaying:
>
>  * rbd: map failed: (6) No such device or address
>
> For instance, show the following something in message:
>
>  * Execute rbd feature disable <image-name>
> deep-flatten,fast-diff,object-map,exclusive-lock
>
>  or
>
>  * Set rbd default features to 3

We already do that in jewel:

$ sudo rbd map a
rbd: sysfs write failed
RBD image feature set mismatch. You can disable features unsupported
by the kernel with "rbd feature disable".
In some cases useful info is found in syslog - try "dmesg | tail" or so.
rbd: map failed: (6) No such device or address

Enumerating the features to be disabled is hard because that depends on
the version of the rbd.ko module and there is no interface for querying
the feature set.  The man page can definitely be improved though: move
--image-feature paragraph into its own section, expand the descriptions
and add kernel version info.  I'll put that on my TODO list...

Thanks,

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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux