virtual machine doesn't use allocated disk space
0
votes
1
answer
918
views
I am running manjaro in an Oracle VirtualBox to test a virgin install of a set of softwares. I am getting an error that there is no more disk space on a particular download, however, when I set up the vm in the VirtualBox Manager, I am allocating it plenty of space (> 100GB). I have tried changing this from dynamic allocation to a fixed partition, but this did not solve the issue.
When I run
lsblk
, this is the output:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 130.6M 1 loop /run/miso/sfs/livefs
loop1 7:1 0 581.9M 1 loop /run/miso/sfs/mhwdfs
loop2 7:2 0 1.5G 1 loop /run/miso/sfs/desktopfs
loop3 7:3 0 702.8M 1 loop /run/miso/sfs/rootfs
sda 8:0 0 134G 0 disk
sr0 11:0 1 2.9G 0 rom /run/miso/bootmnt
So to me it looks like the 134gb partition needs to be mounted?
I run sudo fdisk -l
to see where it is:
Disk /dev/sda: 134.01 GiB, 143895691264 bytes, 281046272 sectors
Disk model: VBOX HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop0: 130.6 MiB, 136945664 bytes, 267472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 581.94 MiB, 610209792 bytes, 1191816 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 1.47 GiB, 1582903296 bytes, 3091608 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 702.77 MiB, 736907264 bytes, 1439272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I am running the installs from my $HOME directory (which in this case is /home/manjaro
), so I try sudo mount /dev/sda /home/manjaro
, and this is the output:
mount: /home/manjaro: wrong fs type, bad option, bad superblock on /dev/sda, missing codepage or helper program, or other error.
Output of df -h
:
Filesystem Size Used Avail Use% Mounted on
dev 5.3G 0 5.3G 0% /dev
run 5.3G 114M 5.2G 3% /run
/dev/sr0 3.0G 3.0G 0 100% /run/miso/bootmnt
cowspace 256M 0 256M 0% /run/miso/cowspace
overlay_root 7.9G 79M 7.9G 1% /run/miso/overlay_root
/dev/loop0 131M 131M 0 100% /run/miso/sfs/livefs
/dev/loop1 582M 582M 0 100% /run/miso/sfs/mhwdfs
/dev/loop2 1.5G 1.5G 0 100% /run/miso/sfs/desktopfs
/dev/loop3 703M 703M 0 100% /run/miso/sfs/rootfs
overlay 7.9G 79M 7.9G 1% /
tmpfs 5.3G 0 5.3G 0% /dev/shm
tmpfs 5.3G 53M 5.3G 1% /tmp
tmpfs 5.3G 2.4M 5.3G 1% /etc/pacman.d/gnupg
tmpfs 1.1G 104K 1.1G 1% /run/user/1000
Output of mount
:
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=5480388k,nr_inodes=1370097,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
/dev/sr0 on /run/miso/bootmnt type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
cowspace on /run/miso/cowspace type tmpfs (rw,relatime,size=262144k,mode=755,inode64)
overlay_root on /run/miso/overlay_root type tmpfs (rw,relatime,size=8264028k,mode=755,inode64)
/dev/loop0 on /run/miso/sfs/livefs type squashfs (ro,relatime)
/dev/loop1 on /run/miso/sfs/mhwdfs type squashfs (ro,relatime)
/dev/loop2 on /run/miso/sfs/desktopfs type squashfs (ro,relatime)
/dev/loop3 on /run/miso/sfs/rootfs type squashfs (ro,relatime)
overlay on / type overlay (rw,relatime,lowerdir=/run/miso/sfs/livefs:/run/miso/sfs/mhwdfs:/run/miso/sfs/desktopfs:/run/miso/sfs/rootfs,upperdir=/run/miso/overlay_root/upper,workdir=/run/miso/overlay_root/work,index=off,xino=off)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12054)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=5509352k,nr_inodes=409600,inode64)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /etc/pacman.d/gnupg type tmpfs (rw,relatime,mode=755,inode64)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1101868k,nr_inodes=275467,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
Output of losetup
:
NAME SIZELIMIT OFFSET AUTOCLEAR RO BACK-FILE DIO LOG-SEC
/dev/loop1
0 0 0 1 /run/miso/bootmnt/manjaro/x86_64/mhwdfs.sfs 0 512
/dev/loop2
0 0 0 1 /run/miso/bootmnt/manjaro/x86_64/desktopfs.sfs
0 512
/dev/loop0
0 0 0 1 /run/miso/bootmnt/manjaro/x86_64/livefs.sfs 0 512
/dev/loop3
0 0 0 1 /run/miso/bootmnt/manjaro/x86_64/rootfs.sfs 0 512
Let me know your thoughts. Thanks.
Asked by lcleary
(1 rep)
Nov 22, 2021, 02:04 PM
Last activity: Nov 26, 2021, 12:37 PM
Last activity: Nov 26, 2021, 12:37 PM