Bug 572958 - Can't create snapshots!
Summary: Can't create snapshots!
Status: CLOSED DUPLICATE of bug 503726
Alias: None
Product: Fedora
Classification: Fedora
Component: btrfs-progs   
(Show other bugs)
Version: 12
Hardware: i686 Linux
Target Milestone: ---
Assignee: Josef Bacik
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2010-03-12 13:23 UTC by Mario Ceresa
Modified: 2010-03-12 13:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-03-12 13:27:41 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Mario Ceresa 2010-03-12 13:23:26 UTC
Description of problem:
I'm unable to create a snapshot

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create a 300MB btrfs file, format and mount as a loop device:

dd if=/dev/zero of=btrfs.img count=300 bs=1M
losetup /dev/loop0 btrfs.img
mkfs.btrfs -L test /dev/loop0
mount /dev/loop0 /mnt/btrfs/

2. Create a snapshot:
btrfsctl -s snap0 /mnt/btrfs/
Actual results:
ioctl:: Inappropriate ioctl for device

Expected results:
Create snapshot

Additional info:
# modinfo btrfs
filename:       /lib/modules/
license:        GPL
srcversion:     515D00B63448802E7928F98
depends:        libcrc32c,zlib_deflate
vermagic: SMP mod_unload 686

As reported in 

the problem might be a version mismatch between the kernel module and the utility package. But I don't know how to check the kernel module version!

Comment 1 Mario Ceresa 2010-03-12 13:27:41 UTC
I just noticed that there was a duplicate bug. I didn't find it neither looking with google nor with the bodhi "bug reports" function.

I'll close the bug, sorry for the noise.


*** This bug has been marked as a duplicate of bug 503726 ***

Note You need to log in before you can comment on or make changes to this bug.