Forums

Resolved
0 votes
Hi,

When doing a "yum --enablerepo=*" I discovered that the clears-zfs repo is broken.


clearos-infra | 3.0 kB 00:00:00
clearos-infra-testing | 3.0 kB 00:00:00
clearos-updates | 3.0 kB 00:00:00
clearos-updates-testing | 3.0 kB 00:00:00
http://archive.zfsonlinux.org/epel/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/



One of the configured repositories failed (ZFS on Linux for EL7),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:

1. Contact the upstream for the repository and get them to fix the problem.

2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:

yum-config-manager --disable clearos-zfs

4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=clearos-zfs.skip_if_unavailable=true

failure: repodata/repomd.xml from clearos-zfs: [Errno 256] No more mirrors to try.
http://archive.zfsonlinux.org/epel/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
[root@enterprise yum.repos.d]#
Friday, December 30 2016, 08:57 AM
Share this post:

Accepted Answer

Friday, December 30 2016, 04:39 PM - #Permalink
Resolved
0 votes
There were bugs with the ZFS upgrade process that caused some volumes to BREAK!!! (ie. data loss)

We like the idea of ZFS but it just isn't ready for production. The repo was a copy of the official ZFS repo. If you need that repos still, you can use the official one instead. Sorry for the inconvenience.
The reply is currently minimized Show
Responses (6)
  • Accepted Answer

    Friday, December 30 2016, 09:02 AM - #Permalink
    Resolved
    0 votes
    Hi Marcel,
    I believe the ZFS repos have been taken down. I've removed them from /etc/yum.repos.d so the --enablerepo=* still works.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 30 2016, 09:12 AM - #Permalink
    Resolved
    0 votes
    Hi Nick,

    Yeah, I already changed the repo to "clearos-zfs.backup" so it's not checking anymore. I'll wait a bit to remove it till I'm sure...

    Are you sure it's been taken down? If so I'm interested why ClearCenter decided to do so. Any comment from ClearCenter? My personal opinion is I do not regret this and I think ClearCenter is better off to use BTRFS. For now the problem is that BTRFS is still very new and RAID 5 and 6 is a no go at the moment.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 30 2016, 05:21 PM - #Permalink
    Resolved
    0 votes
    Thank you Dave for clarifying. I can imagine that ZFS is a great feature for businesses. I wanted to experiment a bit with ZFS a while ago but I came to conclusion it's to expensive for home users. I think a big problem with ZFS is you can't add a drive at a time. BTRFS has this disadvantage not but is also not production ready. I'll guess we have to wait a bit for a 3 generation file system.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 27 2017, 02:54 PM - #Permalink
    Resolved
    0 votes
    Hi,
    Any news about ZFS support?
    As I use zfs for many many years in production, all other alternatives are big step back comparing to zfs. Including the btrfs (I also use it only on my laptop and desktop to hold the OS only, but frankly, btrfs sucks).
    So, is there a working clearos-zfs support/repo, or I have to do it by myself?
    From my side, it is not a problem to follow the 2nd option, I am just curious, is the clearos-zfs ready to use or not.
    Thanks,
    István
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 27 2017, 03:45 PM - #Permalink
    Resolved
    0 votes
    I've just had a look at the zfs wiki and I am a little concerned. If the modules are kernel modules they may well be incompatible with the ClearOS kernel, but you should get an installation error if they are. In that case you'll need to compile your own modules from source against the ClearOS kernel. This will change when ClearOS switches to a mainstream kernel, at which point precompiled Centos binaries should work.

    Note that, in the back of your mind, you should plan on how you would have upgraded from ClearOS 7.3 to ClearOS 7.4 remembering that ClearOS updates itself automatically, but does not switch kernels until your reboot. You may need a plan for when 7.4 goes to 7.5.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 27 2017, 04:48 PM - #Permalink
    Resolved
    0 votes
    Hi Nick,
    Thank you for your response.
    In fact, I already installed the dkms version of the latest zfs on my clearos.
    I use ClearOS as a virtual machine on top of Proxmox.

    So, I know, kernel changes will need more attention, but this part is not an issue for me, I have experiences with "zfs without repository support" :)

    I just finished a distribution analysis of file sizes on my production server to match the best volblocksize. This will be fun (tuning the system), because I use zfs with proxmox and zfs on top of zvol :))))
    In fact, I do not trust any other filesystems (extX, xfs, btrfs) than zfs, so, I force this kind of "strange" configuration (zfs on top of zvol) instead of using xfs/ext4 on top of zvol. (I know, this sounds like a troll, so, just ignore my opinion, everybody should use one's favourite/best-fit filesystem).

    I have no experience with zfs version 7.5, surprisingly the latest version available with centos, which is a little bit weird, due to that, Centos only use mature (aka old :))) packages. But, where is the challenge anyway, right? :)

    If I will not forget, I will report some results here after some time.
    Bye,
    István
    The reply is currently minimized Show
Your Reply