/srv/irclogs.ubuntu.com/2019/01/19/#snappy.txt

Croephanvm00:07
mupPR snapcraft#2445 opened: Add core18 support to dotnet plugin <Created by ed10vi> <https://github.com/snapcore/snapcraft/pull/2445>12:48
Croephawith ubuntu core, is there a way to change the partiton labels? im having a problem where I have one installation on a thumbdrive and another installation on the main mmc, and i think its getting confused...15:44
=== phoenix_firebrd is now known as murthy
fallenouro/21:13
=== phoenix_firebrd is now known as murthy
fallenourHey is anyone else having significant issues with 18.04 LTS snap installs? All of mine are taking up 100% of the space allocated for them, and I cant even list my containers because theres no space avialble. Can anyone give any insights into this? I cant even finish installs of my snaps until this is resolved.21:14
fallenourThis is what Im seeing on disk so far: http://paste.ubuntu.com/p/dQ3PZ8vwwc/  and http://paste.ubuntu.com/p/WkznvBsZRR/    The issue is, I cant even execute "docker container list" becuse it says not enough disk space. Total usage on the disk is maybe 10 Gb? On a disk thats well over 1TB in total size. Its a completely fresh Ubuntu 18.04LTS install, the only change is I also installed Ubuntu-Desktop.21:21
MattJfallenour, I'm no snap expert, but I believe that's totally normal21:23
MattJsnaps are essentially disk images, they are no larger than the files they contain. They get mounted, read-only, and that's why it will always say 100% used.21:24
MattJI've encountered problems with monitoring on production systems where I would get disk usage alerts on snap installs :)21:24
fallenourMattJ: Well the problem with that is, It installed by default on the system, but it wont even let me finish the snap install. I cant even configure the items snap installed. If I cant configure it, I cant use it, and effectively, its broken. If its unconfigurable, its worthless.21:25
MattJ100% on your / partition is obviously a problem21:25
fallenourMattJ: Yea thats the same though Ihave. My question is, why doesnt it do to 75% instead, and scale due to isntall size, that way it always has room for changes?21:25
MattJBecause snaps are read-only by design21:26
leftyfbfallenour: there are no changes within the snap container21:26
leftyfbfallenour: it's a version of software. If you installed a new version, then the new snap gets symlinked to "current"21:26
fallenourMattJ: The other question is, how do I change it so I can configure the services. leftyfb Then how am I supposed to configure Nextcloud for instance to use a database? If I cant complete the isntall, it wont work.21:26
MattJThey just contain the application, any data that the application generates doesn't go into the snap but into your usual system partition21:26
fallenourMattJ: That I get, but even when Ive used snaps previously, tehy at least allowed me to configure the application first. I cant even do that here.21:27
leftyfbfallenour: you've mentioned docker, lx(c/d) and nextcloud. Lets start with testing a simple snap. Maybe try installing vlc21:27
MattJfallenour, because your main disk is full21:27
leftyfbfallenour: configuring the application is done outside of the snap container in your root filesystem21:27
fallenourleftyfb: Ok, Im game. ill try it.21:28
MattJfallenour, can you do a `df -h /`?21:28
fallenourleftyfb: MattJ Im getting connection refused for snap. My disk: http://paste.ubuntu.com/p/HdmdQXXrns/21:28
leftyfb /dev/mapper/ubuntu--vg-ubuntu--lv   4062912 4046528         0 100% /21:29
leftyfbyou have zero space left on your drie21:29
leftyfbdrive*21:29
leftyfbyou are out of disk space, nothing to do with snaps21:29
MattJfallenour, I asked for with -h21:29
fallenourSorry about that MattJ http://paste.ubuntu.com/p/NXNH85Qwgn/ leftyfb Thats the thing though, I know I shouldnt be. The server its on has at least 800 GB of dedicated space across multiple drives. Theres no way its full.21:30
leftyfbfallenour: you only have 4G in your root partition21:31
MattJfallenour, that's what you need to fix... the root partition is only 4GB21:31
MattJI've done installations before where the installer only creates a relatively small root partition (when using LVM)21:31
MattJYou have to grow the partition manually21:31
fallenourMattJ: leftyfb Ok, how do I do that? more specifically safely, the other question is how do I check to see how many disks my server can see.21:32
fallenourMattJ: leftyfb All of the installs were done with LVM21:32
MattJhttps://wiki.ubuntu.com/Lvm is a good place to start I guess21:32
fallenourMattJ: leftyfb when did Ubuntu start doing this? this wasnt an issue in 16.04, they would jsut use the full space availble. Im confused as to why this is a thing now21:34
MattJI don't know, I don't typically use LVM21:34
fallenourMattJ: I normally do, but I only use it so that I can expand drive space later with LVM when I upgrade the harddrives in the future. But like I said before, I never had this issue. THe only thing Ive done differently this time is use 1 Raid 0 instead of 6.21:35
leftyfbfallenour: the default install of Ubuntu server should use up the remaining space by default. How did you do the install?21:37
leftyfbBtw, raid 0 is begging for data loss. Hope you don't care about the data on it21:37
fallenourleftyfb: I used the built in process through cd install. generic "install with * using LVM" option. As for the data itself, I have replication between the servers on the databases, web app servers are using raid 1 with the data between HA Master-Master with 15 minute backups to cold storage.21:39
fallenourleftyfb: MattJ odd idea, but how do I list all the physical disks that the system can see? I tried df -aTh, anything else I can try to see what it can see? It may not be seeing my drives and using only ram, if thats a thing.21:40
leftyfblsblk21:40
leftyfbYou might be better off in #ubuntu-server at this point since this isn't a snap issue21:41
fallenourleftyfb: I think we just found the problem http://paste.ubuntu.com/p/nfFdh3SRDh/21:41
leftyfbYeah, like we said, you only created a 4g partition for root21:41
fallenourleftyfb: So weird. I have no idea why it did this, or why it added all the space to sda3. Is there a fast fix for this?21:44
MattJfallenour, try #ubuntu-server22:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!