January 9, 201610 yr Author This must be what you are referring to: http://lnx.cx/docs/vdg/html/ch02s02.html#VDG-Cookbook-Resize-Image-RAW Didn't think it'd be that involved. I'll have to really look over this carefully. I'm a bit confused, is this all done within the VM OS that you are wanting to expand or is this done within the unraid console or a combination of both? I'm looking at the raw image section. Edit: btw, anyone wanting to run ubuntu 14.04 LTS and is having terrible graphic refresh on the built in quemu-vnc-remote, simply install x11vnc on ubuntu and create a startup .conf file so it starts when ubuntu does. I use another normal vnc client program to view it now. This makes is 100% better and easy to use over VNC.
January 10, 201610 yr I'm a bit confused, is this all done within the VM OS that you are wanting to expand or is this done within the unraid console or a combination of both? I'm looking at the raw image section. It's both. Think of it this way, first you expand the virtual hard drive by using the qemu command from the unraid console, qemu-img info vdisk1.img qemu-img resize vdisk1.img +20G qemu-img info vdisk1.img then you boot the vm back up and go into disk management to tell windows to use the newly available space to expand its C: drive. It's really not that involved.
January 12, 201610 yr Author I'm definitely going to have to do this. My docker image is also full It was a 10GB image and never thought I'd be using dockers so much. My question with the docker .img, I'd imagine that you can increase the size, but how do you tell it to use the expanded area because in the tutorial it was using a GUI based program to actually utilize the newly expanded image. Can one do the same thing with any image within that program?
January 12, 201610 yr Author Thanks. I'll give it a shot soon. What about these two steps Example 2.3. Create devices with kpartx Example 2.4. Create the symbolic links I'd imagine they are necessary. Still making sure I go through these direction very carefully.
January 12, 201610 yr Author So you can actually just click on the name of the VM (not the vm image) and change the disk size that way. Then you can download a partition manager and I was able to simply add the new space on to the existing partition that way. Booted up perfectly and recognized the space. I think with the windows manager you have to watch out for the recovery partition or something to do with it. Now to figure out how to expand the docker image size. I wonder if I manually turn off the docker daemon and then simply run qemu-img resize docker.img +5G Will that space be available automatically or will I need to extend some internal partition like I had to do with the Windows VM that I just finished up with.
January 12, 201610 yr Author If you go to settings ---> docker then you can stop the docker daemon there and then choose the default docker size. I changed it from 10-20GB as I think of of the DBs for the dockers are getting large. Unfortunately, this did not actually change the available/usable space by just doing that. Label: none uuid: ceaad5ca-ccce-422d-88f3-0cc87bdadf9d Total devices 1 FS bytes used 7.24GiB devid 1 size 20.00GiB used 10.00GiB path /dev/loop0 btrfs-progs v4.1.2 running this command in unraid console give me the following: btrfs fi df /var/lib/docker Data, single: total=7.97GiB, used=6.46GiB System, DUP: total=8.00MiB, used=16.00KiB System, single: total=4.00MiB, used=0.00B Metadata, DUP: total=1.00GiB, used=798.53MiB Metadata, single: total=8.00MiB, used=0.00B GlobalReserve, single: total=176.00MiB, used=0.00B It is clear that the docker.img was not actually expanded.
January 12, 201610 yr Author I've deleted the image and started over using the templates section of the add new container. One heck of a long night and the dockers are back to normal with an enlarged 20GB docker.img and increased VM image for windows7. Just have to update the plexmediaserver as that set of files was comporomised.
January 12, 201610 yr Author Does anyone know if it is possible to switch from one repository's docker to another. For example, I have linuxserver.io autoupdating dockers, which I've never really been a huge proponent for, but if I'd like to switch to binhex's sab, could I simply remove the linuxserver.io sab docker, input the same directory mappings when in installing binhex's sab and have it function properly?
January 12, 201610 yr Does anyone know if it is possible to switch from one repository's docker to another. For example, I have linuxserver.io autoupdating dockers, which I've never really been a huge proponent for, but if I'd like to switch to binhex's sab, could I simply remove the linuxserver.io sab docker, input the same directory mappings when in installing binhex's sab and have it function properly? Maybe not generally true, and I don't use SAB or any binhex, but I switched NZBGet and Plex to the LSIO versions and everything just worked.
January 12, 201610 yr Author Yeah, I haven't had any issues really. I just don't like the fact that they auto update. Is there a way to stop this so I can selectively update?
Archived
This topic is now archived and is closed to further replies.