Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> None of those problems are hard to workaround:

Sure, there are very few problems that cannot be solved by throwing some time and sweat on them. However, when I do need to solve something, I prefer to not be sidetracked by sub-problems. Smooth sailing and all that.

It's much simpler to pull an usb key from the drawer or PXE boot, as you mentioned, and go on on solving the damaged system, than to start downloading and preparing a live distro somewhere.



Again, you're overstating things. If it genuinely takes you more than a couple of minutes to run apt and modprobe then I really think you shouldn't be allowed anywere near a degraded system to begin with. These aren't "sub-problems" - they're the absolute basics of system administration.


It a bit more than couple of minutes to download installer, install it somewhere (livecd doesn't have persistent /), install zfs there and only then go on doing whatever you were doing.

Compared to grabbing standard media you have somewhere, it will take at least 15 minutes extra.

Basics of system administration does not mean, that you are wasting your time, especially on something you can be without.


> It a bit more than couple of minutes to download installer, install it somewhere (livecd doesn't have persistent /), install zfs there and only then go on doing whatever you were doing.

You don't need a persistent root. I'd already addressed that point. Just run modprobe and you're done.

>Compared to grabbing standard media you have somewhere, it will take at least 15 minutes extra.

Bullshit. I've done exactly what I described and it did not take me 15 minutes. Furthermore all you're doing is pre-emptively pushing the work to before your outage which you could do the same with the ISO (if you really wanted to compare apples with apples).

> Basics of system administration does not mean, that you are wasting your time, especially on something you can be without.

The whole point of this tangent was about when one needs an Live CD. Not about whether creating a live CD is worthwhile when you already have a USB key. That new argument you've invented is stupid because the answer is quite clearly "use the USB key if that's already in your draw." But what happens if you have a ZFS volume on a system and you don't already have a recovery media? (ie the original question) Well in that case you can use any of the methods I described. Or, of course, you can create a USB key too. But that will take just as long as the methods I described anyway (you still have to download the OS image, ZFS drivers and write them all to your storage medium. Thus all you're really doing is swapping out one chunk of plastic with another chunk of plastic).


> You don't need a persistent root. I'd already addressed that point. Just run modprobe and you're done.

That assumes too much. For example, that you have a network connection while booted from the live media. You may not have one; then you cannot run apt/yum and you need persistent media that you prepared somewhere else. (Happened to me).

> Bullshit.

Surely. Or you have extra speedy USB keys. Just installing minimal distro on USB takes a better chunk of that time.

> The whole point of this tangent was about when one needs an Live CD.

When you are doing something non-standard - and installing ZFS on Linux is pretty nonstandard - you know in advance that the normal live media won't work. It's prudent to have something prepared, if/when SHTF event occurs.

Specifically with regards to filesystem, when you are installing with non-distro-provided-fs root, you need to make it anyway, just to install it in the first place. So instead of throwing it away, just label it and put in into the drawer. (When you are not installing on non-distro-fs root, you don't need support for that fs in live media at all, the standard one will do for making the system boot).


> That assumes too much

You've been assuming a crap load of stuff as well when it suits your argument. Like having a pre-prepared USB key to begin with.

> For example, that you have a network connection while booted from the live media. You may not have one; then you cannot run apt/yum and you need persistent media that you prepared somewhere else. (Happened to me).

Indeed. You might also not have a CD drive on the host (happened to me), or any blank CD-Rs, or a CD burner on your workstation. Or the internet connection might not work on your workstation either. But then most of those arguments can be made for creating a USB key as well so your point is moot. In fact my latest workstation (Macbook Pro) only has USB-C so I couldn't use my USB keys when I went to install Linux on that.

My point is, if you're looking for ways to nitpick, there are plenty for your examples as well. In fact there will be a thousand different exceptions for any solution you could dream up. Thus is the nature of working in IT.

> Just installing minimal distro on USB takes a better chunk of that time.

Arguably yes but that also takes longer and your original point was about getting stuff done as quickly as possible. So you're now contradicting yourself.

> When you are doing something non-standard - and installing ZFS on Linux is pretty nonstandard - you know in advance that the normal live media won't work.

Except the whole point of this tangent is me demonstrating where it does work.

> It's prudent to have something prepared, if/when SHTF event occurs.

Now you're arguing a different point to the point I was discussing. I'm not going to disagree with you there (since I've already discussed I run a PXE server for situations like these) but that wasn't the topic we were discussing.

I seriously just think you're now just arguing for the sake of winning an internet argument. I'm not going to argue with you that a CD is better than USB because it's pretty obvious that isn't the case. But that wasn't the point I was discussing. So for the benefit of my own sanity can we please get back onto topic: you can use live CDs to repair a degraded system running ZFS. Sure there will be occasions when you cannot; but that's the case when doing anything in IT (and thus why use sysadmins get to command such a good wage). But generally you can. And I literally have. Many times in fact. So enough with the dumb "death by a thousand paper cuts" and goal post moving arguments please.


> You've been assuming a crap load of stuff as well when it suits your argument. Like having a pre-prepared USB key to begin with.

You are still conveniently ignoring what I said: if you want to install system with ZFS root, you have to make it. That's also the reason why I have it. I just didn't throw it away after the installation.

> Except the whole point of this tangent is me demonstrating where it does work.

Yes, if everything is aligned right, it can work.

> I seriously just think you're now just arguing for the sake of winning an internet argument.

You are free to think whatever you want.

> you can use live CDs to repair a degraded system running ZFS.

Yes, under certain conditions. How they apply in your environment is up to you to assess.

> Sure there will be occasions when you cannot; but that's the case when doing anything in IT (and thus why use sysadmins get to command such a good wage). But generally you can. And I literally have. Many times in fact. So enough with the dumb "death by a thousand paper cuts" and goal post moving arguments please.

It's not goal post moving, it's what happens. Having a livecd that supports your configuration is advantageous to not having it. Being able to download a ready-mady one is advantageous to having to make it. Etc.

So when I can choose between freebsd or opensolaris iso and native system that fully support whatever I need (that was the original issue, remember?), of course I will choose the latter, or having the latter available is preferred.


> You are still conveniently ignoring what I said: if you want to install system with ZFS root, you have to make it. That's also the reason why I have it. I just didn't throw it away after the installation.

I'm not ignoring it; I've repeatedly addressed it and pointed out how it's not true (the Ubuntu Desktop example). Want a few more examples? When I installed ArchLinux with a ZFS root I didn't use a custom ISO (read their ZFS wiki if you don't believe me). I also didn't create a custom Ubuntu Server ISO when I installed that with a ZFS root. Both were installed from CD - the vanilla CD available on their respective websites.

Also, even if you did install from a USB key; what's to say you don't then lose said key afterwards? I'm forever am losing them.

The point is whichever argument you're going to make will be full of more exceptions than you can count. So nitpicking one over the other, like you are, is an utterly pointless exercise and a distraction from the original point I was making.

> So when I can choose between freebsd or opensolaris iso and native system that fully support whatever I need (that was the original issue, remember?)

No that wasn't the original issue. The original issue was whether there are an live CDs that can be used to rescue a degraded ZFS system - which I've demonstrated there are.

However I do agree with you that running ZFS on Linux is a little pointless when FreeBSD and the OpenSolaris forks are all solid platforms and have unencumbered native ZFS support. Though installing a ZFS root on FreeBSD was just as painful as doing so on ArchLinux (at least that was the case a few versions ago - things might have improved since but thankfully FreeBSD never really needs rebuilds so I've not had revisit that particular pain point)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: