[Bugs] [Bug 1448307] Seeing Input/ Output error in rebalance logs during a rebalance on an ec volume( log level=Debug)
bugzilla at redhat.com
bugzilla at redhat.com
Fri May 5 07:14:07 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1448307
--- Comment #1 from Nithya Balachandran <nbalacha at redhat.com> ---
Rebalance fails to migrate files on EC volumes:
[2017-05-03 07:37:35.643291] E [MSGID: 109023]
[dht-rebalance.c:740:__dht_rebalance_create_dst_file] 0-ecv-dht: fallocate
failed for /dir1/linux-4.10.4/include/linux/smpboot.h on ecv-disperse-1
(Operation not supported)
[2017-05-03 07:37:35.643320] E [MSGID: 0]
[dht-rebalance.c:1516:dht_migrate_file] 0-ecv-dht: Create dst failed on -
ecv-disperse-1 for file - /dir1/linux-4.10.4/include/linux/smpboot.h
RCA:
The rebalance code was recently changed to use fallocate when creating the dst
file. However it looks like this is not supported on EC volumes:
736 int32_t ec_gf_fallocate(call_frame_t * frame, xlator_t * this, fd_t * fd,
737 int32_t keep_size, off_t offset, size_t len,
738 dict_t * xdata)
739 {
740 default_fallocate_failure_cbk(frame, ENOTSUP);
741
742 return 0;
743 }
With this change, rebalance will fail on EC volumes.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list