Mounting 4K block size Cinder Volume on instance fails
Bug #1195913 reported by
John Griffith
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Chet Burgess |
Bug Description
When using a 4K block sized volume created in Cinder, it attaches to the instance no problem and partitions can be created and there are no issues with formatting the partition. However when attempting to mount the volume an IO Error occurs and the mount fails.
This behavior has been seen on KVM/Libvirt and happens on various instances (Ubuntu, Cirros, Fedora etc). I suspect there's something in the block-size parameter of the libvirt attach XML that's either missing or incorrect, I'll try looking into this but wanted to get this out incase somebody already knows what might be going on here.
tags: | added: libvirt volumes |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
assignee: | Chet Burgess (cfb-n) → Dan Smith (danms) |
Changed in nova: | |
assignee: | Dan Smith (danms) → Chet Burgess (cfb-n) |
Changed in nova: | |
importance: | Undecided → High |
milestone: | none → havana-3 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | havana-3 → 2013.2 |
To post a comment you must log in.
Looking at this again I *believe* the issue is that we're not doing any specifications on blkio logical_block_size or physical_block_size so it's always passed in as the default, so 4K fails??
I'm wondering if what's needed as an additional option to the attach which specifies these values and an entry in libvirt/config.py to set and build the XML for them.