-
uf
hi, im new to smartos. have everything installed but when i run imgadm import uuid, i get disk is full
-
uf
not sure where it's trying to save, but the lowest capacity is zones/cores which has 10gb free.
-
uf
and / is a ramdisk that's practically full
-
uf
... and /zones has about 15gb free
-
pjustice
15GB isn't all that much space for a useful host, but all the image I've ever looked at are sub GB in size.
-
uf
it's just for some testing purposes, not for being a production server
-
uf
regardless, it won't let me import anything because / is full
-
pjustice
is always fairly full.
-
pjustice
Maybe /tmp?
-
pjustice
How much ram?
-
uf
about 20gb ram.
-
uf
not sure about tmp, i didn't look, it was complaining about /
-
pjustice
oh, it specifically said / is full?
-
uf
yup
-
uf
it downloaded like 16mb and then exited with that error
-
pjustice
so what does `df -k /` look like?
-
pjustice
It should be doing any downloading into /var/tmp.
-
uf
sorry for the delay. df -k / is 95% full
-
uf
i dont see any mount for /var or /var/tmp, so i guess these go into /, but /tmp is 1% full
-
uf
sorry, /var is 1% full
-
uf
both /var and /tmp have about 15gb free space.
-
uf
pjustice ^
-
pjustice
Would be more useful to know bytes than % for /
-
pjustice
(I'm basically comparing to one of my host machines here.)
-
uf
17165 free
-
uf
303637 used
-
pjustice
Oddness.
-
pjustice
I think at this point, I would try running imgadm under `truss` to find out what files it's creating. Having a second terminal session open to look in e.g. /tmp might be useful too.
-
uf
i mean, i run this from a livecd (i think that's like the only option?), so im not sure how did i even end up in this mess to begin with
-
uf
i don't mind re-starting the whole thing either
-
uf
it has literally nothing in there so far
-
pjustice
You can boot it from a usb stick or pxe boot it too. And once you get a machine installed, you can actually set it up to boot from local hard disk.
-
pjustice
I've never actually run a machine with that little ram and disk, so I don't know where it gets into trouble.
-
uf
well it's running from a live cd right now
-
uf
i guess thats really a usb stick
-
pjustice
Shouldn't really matter.
-
uf
i've literally just "installed" it and configured a zpool. that's all i've done.
-
uf
and installed probably means configured it, not even installed anything
-
pjustice
Yeah, you have to do something else I never bothered to look up to get it to make the local disk bootable.
-
pjustice
Given the numbers you're seeing, and what the source code says imgadm does, this really isn't making sense to me. Several of the developers are around during western hemisphere daylight hours. And I'd try the `truss` idea if you haven't yet.
-
Guest1332
danmcd: rmustacchi: I took shipment of 50 Intel E810-CQDA1 NIC's yesterday...against my will lol. Do either of you happen to have the bug/feature request number for the illumos driver? Also, I think I asked this before but I cannot remember...(Can also test tonight)...will the 100GBe NIC link up to a switch at 40GBe with the i40e driver?
-
Guest1332
I can't figure out what happens to my nick nowadays. I was logged in as barfield but it changed my name to Guest1332 after I joined #smartos. Something must be going on with m~y client.
-
Guest1332
bahamat: I noticed the packer images for ubuntu 22.04 released in November 23 have focal fossy or whatever the name is for 20.04 in the description. Just thought that I would report it.
-
Guest1332
Instead of "Jammy Jealyfish".
-
bahamat
Ok, I'll take a look.
-
Guest1332
One other thing; is github the right place to open issues? Or should they just be reported on the mailing lists/irc so that it goes to atlassian?
-
bahamat
You can report issues with github.
-
bahamat
uf: You might be getting that error from bash not being able to write the .bash_history file. But imgadm isn't going to write to /, images go in /zones.
-
bahamat
uf: What does `zpool list` say under FREE?
-
rmustacc
Guest1332: I don't know if thre's an open bug there. I did a small start of this in 2019 while still at Joyent that had some basics, but no I/O.
github.com/rmustacc/illumos-gate/tree/ice-dev.
-
rmustacc
But there is no complete illumos driver for that part. The E810 will not work with the i40e driver.
-
Guest1332
Thank you sir!
-
Guest1332
My partner should be thrilled :)
-
Guest1332
At least I get to say I told yo so
-
rmustacc
It's a good chance to learn device development in my opinion.
-
rmustacc
Nothing is motivating like a lot of parts you need to work!
-
bahamat
Guest1332: triton-cloud-images#14
-
jinni
-
rmustacc
There's a scaffold of it so far and importantly the I/O engine is the same as i40e.
-
rmustacc
So for better or worse you can leverage that.
-
Guest1332
Would sponsorship be of any interest to you or any other developers to reprioritize this work?
-
Guest1332
Sorry if that breaks any IRC rules
-
Guest1332
thought about the rules after I hit enter
-
rmustacc
I'm not in a position where I can. Others might.
-
bahamat
We don't have any particular rules about it, but people need to prioritize their day jobs.
-
Guest1332
Thanks I definitely agree
-
bahamat
The best way to influence what gets worked on is by having a support contract where you can make specific requests. Then it's up to the business to set the appropriate priority.
-
Guest1332
We've got some things in the works coming up that Nick/MNX may be interested in so I'll reach out in a week or so.
-
rmustacc
I can answer questions and other things, but this is not an effort I can lead and not really a spare time kind of thing for me tbh.
-
Guest1332
Your answers are valueable. Thank you
-
Guest1332
I tried to implement the s3-manta-bridge recently...and I could see the API requests working correctly but data was never visible in buckets from s3cmd. Does anyone here know if all of the s3 API projects interfacing with manta were broken by the v2 release?
-
bahamat
I wouldn't describe it that way.
-
bahamat
mantav2 has two interfaces for storing objects.
-
bahamat
1. directory style, the API is unchanged from mantav1 and this is still the only one officially supported
-
bahamat
2. bucket style, completely different semantics and internal indexing. This is experimental only.
-
Guest1332
Thats the buckets-api right?
-
bahamat
Yes
-
Guest1332
Experimental is not officially supported but if I recall while still at Joyent, it was working right?
-
bahamat
If you use the buckets branch of node-manta you get the mbucket command, which can be used to copy objects in/out (i.e., PUT/GET)
-
Guest1332
interesting
-
bahamat
It pretty much works. But there are still things with it that preclude declaring it as GA and fully supported.
-
bahamat
As of now, if you use it I can't recommend putting production workloads on it.
-
bahamat
We don't really know how well it scales yet.
-
bahamat
Both as in what happens when it gets really full, and what happens when you need to grow it.
-
bahamat
The mbucket command should work.
-
bahamat
So if you're trying to make manta buckets be the back end for your s3 front end, then you'll first need to make sure that the equivalent mbucket command is working properly.
-
bahamat
Assuming it works, then you need to check the difference in the API calls that your thing is making.
-
Guest1332
thanks!