On a brand spanking new HP Proliant microserver, I boot off the CD, get as far as choosing the installation target (a USB drive), and it falls over in a big ugly mess with an “unknown error”. Further info has a load of python stacktrace.
I tried installing to a HDD instead, figuring mebbe it’s the USB drive that’s the problem.
This is strange as I am personally aware of HP microservers running Rockstor and none of them ran into this problem.
Sorry that it’s not even installing for you, we can help troubleshoot.
I think that the installer/anaconda is running into a buggy code path because of the particular state of the drive you are trying to install it to. My speculation is that it is because it’s not happy with the existing partition table on the drive.
What was on the drive before?
Is it possible to zero out the drive using dd or wipefs and try installing again? You may use Knoppix for that.
One more thing to try is to install stock CentOS 7 and see if that works, both with and without btrfs partitioning scheme.
I agree that it indeed is a poor install experience. We’ll need to reproduce the error in order to fix it. But it’s clear that the problem is in the anaconda installer.
in the installer, there’s a bit where you choose the installation target drive. On my setup, first is an HD, then the USB drive, then the other HD. The first HD is reported as something like 986GB capacity, 1.8 MB free, whereas the second HD drive is “968GB capacity, 968GB free” or something in that ballpark. (These aren’t the exact numbers just a ballpark, my server is at home now).
Happy to help. HP microservers are one of the first hardware configurations we started using Rockstor for real. I take it yours is the latest(gen8) unlike our older ones.
Do you have experience running Linux with root filesystem on a USB drive? I gather your goal is to run Rockstor from usb so you can free up one more HDD for data? I have an old HP desktop here on which I run Rockstor from a usb stick, but I am not very happy with the results. First, the system runs significantly slower and unpredictably, in a matter of few months the usb died, however, reinstall worked fine. But that has another problem in that after you reinstall, you can’t just import your previous state (pools, shares, users…). This last problem is something we’ll fix(https://github.com/rockstor/rockstor-core/issues/392) soon.
I built another DIY NAS box(http://rockstor.com/blog/?p=425#comment-5) and the installer did show the usb stick as the second(non-default) drive. It installed fine on it.
Yes, please send screenshots and any other helpful information. You can email files to support@rockstor.com
Yes, it’s a gen8. You’re correct: I want to put rockstor on a USB stick so that both hard drives that came with the server can participate in the array.
I am glad you were able to troubleshoot it. I’ll try to reproduce it by trying to install on a hard drive with ext or xfs filesystem on it.
But more importantly, keep us posted on how the behaviour is running from the USB stick.
Also, do you mind sharing exact specs of your hardware including HDDs and USB? It could be useful for others in the community.
Last but not least, I am interested in helping you get Rockstor running from the micro sd card. You’ll need to spend some time mucking with your precious box and I understand if you don’t want to deal with it since things are working now. But it can really help others to figure this out. Either way, I appreciate your involvment so far.
You’re not wrong about the USB by the way. Dreadfully slow. I’ve got a 16GB sansdisk extreme on order (has a proper SSD controller) - hopefully that improves things. Otherwise I’m going to replace the DVD drive with a proper SSD.
Fair enough. I’ve updated the title of this discussion to it’s more useful to others trying Rockstor on HP microservers.
I just wanted to add that I have also seen this issue, and I was not installing on an HP microserver, so it’s not limited just to that scenario. I tried the steps that worked for blowback (install to HDD, then reinstall on the USB drive), and that worked, but before that I was getting the same error about being unable to delete a non-existent subvolume.
For reference, the hardware I was using was a machine I built myself: ASRock C2750D4I motherboard/CPU with an 8 GB Verbati Store N Stay drive as the target. Not sure which of those was at fault, but clearly something made the installer unhappy.
6 months later, and I’m back for another go. This time with Rockstor-3.7.9.iso, to see if the installation process is any less dreadful.
blowback, I feel your pain and really appreciate the detailed comment. Besides just thanking you, I think I have something helpful. I’ve created a new iso with latest anaconda bits from centos and it’s a lot less flaky. I tried a few paths especially with custom partitioning and no crash! I did manage to crash it trying to toggle on/off switch of a nic that’s not connected.
After a cup of tea, I decided I wasn’t quite done. I downloaded Super Grub2 Disk from here http://www.supergrubdisk.org/category/download/supergrub2diskdownload/super-grub2-disk-stable/, burned it to a CD, and booted off that.
blowback! did you see my previous comment? Have you tried the new 3.8-0 iso? I am curious if the problem persists with it.
Suman, sorry didn’t see the post, was too busy investigating! Earlier posts are a bit long-winded and curmudgeonly I’m afraid, a bit of a stream-of-consciousness rant as I tried to get that particular set-up to work! I tried to edit them for tone and length but the edit page doesn’t seem to work!
That giant non-resizable BTRFS partition doesn’t really sit well with me, so I’m back with a new non-standard setup, for which I’ll try your new installer image.
so I decided after reading around not to rely on the Marvell hardware RAID, and configure it as JBOD.
Second time around, I configured /boot as a RAID-1 across both sdd/sde, swap on sdd, / as btrfs on sdd only. figuring I’ll be able to add the remaining space on sde to the rockstor_rockstor pool once the system’s booted.
Third time around, I booted 3.8.0, and used one of the spare shells to wipefs sda,sdc (magnetics) and sdd, sde (msatas).
I think I fell foul of the Rockstor rule “rockstor only works on unpartitioned drives”; so while I can set up / as btrfs in a partition at install time, I can’t add another partition to it at run time.