[PVE-User] Data limits not being respected on zfs vm volume

Lindsay Mathieson lindsay.mathieson at gmail.com
Wed Apr 20 04:54:23 CEST 2022


This is really odd - was downloading a large amount of data in a debian 
VM last night, something went wrong (my problem), it didn't stop and 
filled up the volume.


Should be a problem as the virtual disk only exists to store temporary data:

  * vm-100-disk-1
  * 256GB
  * 1 Partition, formatted and mounted as EXT4
  * Located under rpool/data


Trouble is, it kept expanding past 256GB, using up all the free space on 
the host boot drive. This morning everything was down and I had to 
delete the volume to get a functioning system.

zfs list of volumes and snapshots:

NAME                            USED AVAIL     REFER  MOUNTPOINT
rpool                           450G     0B      104K  /rpool
rpool/ROOT                     17.3G     0B       96K /rpool/ROOT
rpool/ROOT/pve-1               17.3G     0B     17.3G  /
rpool/data                      432G     0B      128K /rpool/data
rpool/data/basevol-101-disk-0   563M     0B      563M 
/rpool/data/basevol-101-disk-0
rpool/data/basevol-102-disk-0   562M     0B      562M 
/rpool/data/basevol-102-disk-0
rpool/data/subvol-151-disk-0    911M     0B      911M 
/rpool/data/subvol-151-disk-0
rpool/data/subvol-152-disk-0    712M     0B      712M 
/rpool/data/subvol-152-disk-0
rpool/data/subvol-153-disk-0    712M     0B      712M 
/rpool/data/subvol-153-disk-0
rpool/data/subvol-154-disk-0    710M     0B      710M 
/rpool/data/subvol-154-disk-0
rpool/data/subvol-155-disk-0    838M     0B      838M 
/rpool/data/subvol-155-disk-0
rpool/data/vm-100-disk-0       47.3G     0B     45.0G  -
_*rpool/data/vm-100-disk-1        338G     0B      235G  -*_
rpool/data/vm-100-state-fsck   2.05G     0B     2.05G  -
rpool/data/vm-201-disk-0       40.1G     0B     38.0G  -
rpool/data/vm-201-disk-1        176K     0B      104K  -
root at px-server:~#


NAME                                     USED  AVAIL     REFER MOUNTPOINT
rpool/data/basevol-101-disk-0 at __base__     8K      -      563M -
rpool/data/basevol-102-disk-0 at __base__     8K      -      562M -
rpool/data/vm-100-disk-0 at fsck           2.32G      -     42.7G -
rpool/data/vm-100-disk-1 at fsck            103G      -      164G -
rpool/data/vm-201-disk-0 at BIOSChange     2.12G      -     37.7G -
rpool/data/vm-201-disk-1 at BIOSChange       72K      -       96K -


VM fstab

UUID=7928b71b-a00e-4614-b239-d5cc9bf311d6 /               ext4    
errors=remount-ro 0       1

# swap was on /dev/sda5 during installation
# UUID=26f4eae9-7855-4561-b75b-1405cc5eec3e none swap    sw              
0       0

/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto 0       0


_*PARTUUID=bd9ca0da-fbde-4bfc-852b-f6b7db86292a /mnt/temp               
ext4    errors=remount-ro 0       1*_


# moosefs
mfsmount        /mnt/plex       fuse 
defaults,_netdev,mfsdelayedinit,mfssubfolder=plex 0       0


How was this even possible?

nb. The process downloading data was running in docker hosted on the 
debian vm.


-- 
Lindsay Mathieson



More information about the pve-user mailing list