Won't reboot, won't import templates

5 replies
sean.rearviewmirror
12 posts

I have VM's larger than 16gb so I transfer them to the addon drive with filezilla.

When I try to import them, after about an hour or 2 everything locks up and I can't start or use the 1 antlet I have managed to create.

When I try to reboot through the webpage or SSH, I see that the system is being shutdown, but it never fully shuts down.

ping-t shows the IP address as still responding, but when I try to SSH into the Antsle and shutdown, root credentials don't work.

Any ideas.....anyone??

MarioStaff
35 posts

Sean,

It's possible it is filling up your root partition.  The root partition is only 16G in size.

If you can ssh to the antsle, check with

df -h /

If you cannot connect at all boot from a bootable USB. We recommend using SystemRescueCD:
http://www.system-rescue-cd.org/Installing-SystemRescueCd-on-a-USB-stick/
I use a utility called Rufus to create the bootable usb with the sysrescue .iso (https://rufus.ie)

Then mount the 3rd partition of the drive with 4 partitions. List the block devices (drives) with

lsblk

The root partition is most likely sdc3.
Mount this partition to a directory

mkdir /r
mount /dev/sdc3 /r

From here you can check the partition with

df -h /r

If it is full remove the file you were uploading

rm /path/to/file

It is best to create a new zfs to upload the VM to

zfs create addon/myupload

This will create a directory with the same path/name.  Now sftp the vm file(s) to that directory.

sean.rearviewmirror
12 posts

I have been using the addon drive , and transferring all of my templates and putting them there with filezilla.

then importing them with the web interface. I have been successful with smaller .vmdk files, but anything over 30 gb seems to cause problems.

df -h /

size = 16 g

used = 7.3 g

available = 7.7g

sean.rearviewmirror
12 posts

Quote from Mario on December 2, 2019, 4:02 pm

Sean,

It's possible it is filling up your root partition.  The root partition is only 16G in size.

If you can ssh to the antsle, check with

df -h /

If you cannot connect at all boot from a bootable USB. We recommend using SystemRescueCD:
http://www.system-rescue-cd.org/Installing-SystemRescueCd-on-a-USB-stick/
I use a utility called Rufus to create the bootable usb with the sysrescue .iso (https://rufus.ie)

Then mount the 3rd partition of the drive with 4 partitions. List the block devices (drives) with

lsblk

The root partition is most likely sdc3.
Mount this partition to a directory

mkdir /r
mount /dev/sdc3 /r

From here you can check the partition with

df -h /r

If it is full remove the file you were uploading

rm /path/to/file

It is best to create a new zfs to upload the VM to

zfs create addon/myupload

This will create a directory with the same path/name.  Now sftp the vm file(s) to that directory.

Now the root is full, and I temporarily lost a zpool. Recovered the lost zpool, but memory usage is at 50% with no antlets running, and I don't know why all 16g are being used.

lancem
210 posts

What about in /var/log?

du -h /var/log

My syslog was using alot of space.  I don't recall exactly why but I think it was related to some mount point that wasn't available or something...

Log in to reply. New here? It takes a minute.