Re: krbd map on Jewel, sysfs write failed when rbd map

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

 



Hello:

  Sorry for that I forgot paste the results of image format 1. And I still cannot mount the format 1 or 2 block on Ubuntu 14.04 client, which the kernel is 3.13.0-85-generic #129-Ubuntu.

 

##########

# rbd create block_data/data03 -s 10G --image-format 1

rbd: image format 1 is deprecated

 

# rbd info block_data/data03

2016-04-26 14:21:47.033360 7fb74e438700 -1 librbd::image::OpenRequest: RBD image format 1 is deprecated. Please copy this image to image format 2.

rbd image 'data03':

        size 10240 MB in 2560 objects

        order 22 (4096 kB objects)

        block_name_prefix: rb.0.541ab.2ae8944a

        format: 1

 

# rbd map block_data/data03

rbd: sysfs write failed

rbd: map failed: (5) Input/output error

 

Thanks a lot.

WD

 

From: Stefan Lissmats [mailto:stefan@xxxxxxxxxx]
Sent: Tuesday, April 26, 2016 2:15 PM
To: WD Hwang/WHQ/Wistron; ceph-users-bounces@xxxxxxxxxxxxxx
Cc: ceph-users@xxxxxxxxxxxxxx
Subject: SV: krbd map on Jewel, sysfs write failed when rbd map

 

Hello!

It seems you referring to an earlier message but i can't find it.

It doesn't look that you have created image format 1 images.

I have created images in Jewel (10.2.0 and also som erlier releases) with the switch --image-format 1 and seems to work perfectly even if it's a depreciated switch and causes warnings i have used it successfully with krbd and Ubuntu 14.04. 

The image format is going to stop workning i future releases as I understand så using this should probably just be used if you don't plan to use them for production for an extended time.

 

Regards 

Stefan 

 


Från: ceph-users [ceph-users-bounces@xxxxxxxxxxxxxx] för WD_Hwang@xxxxxxxxxxx [WD_Hwang@xxxxxxxxxxx]
Skickat: den 26 april 2016 04:32
Till: ceph-users-bounces@xxxxxxxxxxxxxx
Kopia: ceph-users@xxxxxxxxxxxxxx
Ämne: Re: krbd map on Jewel, sysfs write failed when rbd map

Dear Cephers:

  I got the same issue under Ubuntu 14.04, even I try to use the image format ‘1’.

# modinfo rbd

filename:       /lib/modules/3.13.0-85-generic/kernel/drivers/block/rbd.ko

license:        GPL

author:         Jeff Garzik <jeff@xxxxxxxxxx>

description:    rados block device

author:         Yehuda Sadeh <yehuda@xxxxxxxxxxxxxxx>

author:         Sage Weil <sage@xxxxxxxxxxxx>

author:         Alex Elder <elder@xxxxxxxxxxx>

srcversion:     48BFBD5C3D31D799F01D218

depends:        libceph

intree:         Y

vermagic:       3.13.0-85-generic SMP mod_unload modversions

signer:         Magrathea: Glacier signing key

sig_key:        C6:33:E9:BF:A6:CA:49:D5:3D:2E:B5:25:6A:35:87:7D:04:F1:64:F8

sig_hashalgo:   sha512

 

##########

# rbd info block_data/data01

rbd image 'data01':

        size 10240 MB in 2560 objects

        order 22 (4096 kB objects)

        block_name_prefix: rbd_data.540752ae8944a

        format: 2

        features:

        flags:

# rbd map block_data/data01

rbd: sysfs write failed

rbd: map failed: (5) Input/output error

 

##########

# rbd info block_data/data02

rbd image 'data02':

        size 10240 MB in 2560 objects

        order 22 (4096 kB objects)

        block_name_prefix: rbd_data.2aac0238e1f29

        format: 2

        features: layering

       flags:

# rbd map block_data/data02

rbd: sysfs write failed

rbd: map failed: (5) Input/output error

 

  Is there any new idea to solve this issue?

 

Thanks a lot,

WD

---------------------------------------------------------------------------------------------------------------------------------------------------------------

This email contains confidential or legally privileged information and is for the sole use of its intended recipient.

Any unauthorized review, use, copying or distribution of this email or the content of this email is strictly prohibited.

If you are not the intended recipient, you may reply to the sender and should delete this e-mail immediately.

---------------------------------------------------------------------------------------------------------------------------------------------------------------

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux