Re: df command and free/available space.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Keith Smith via PLUG-discuss
Date:  
To: Main PLUG discussion list
CC: techlists
Subject: Re: df command and free/available space.
The docs say it needs 2.5G. My experience is it needs at a bare minimum
4GB. And I have not installed PHP/MySql/Apache yet.

In 1998 I bought a box set of RedHat 5.2 or was it 4.2.... point is, the
entire install fit on 4 micro floppy disks. I recall in 2000
downloading Debian and it was 4 or 5 micro floppies.


On 2022-11-11 09:51, Michael Butash via PLUG-discuss wrote:
> I've got a base 20.04 server image I clone out, looking now it's using
> 2.5gb with some updates, things like snmpd installed, small stuff. I
> remember when ubuntu server install was like 600mb, but even linux has
> grown significantly. Sounds like you had some other crap creep into
> the install, or the lamp stack is a pig too these days.
>
> I just installed my new laptop with a 512mb boot drive, and it's not
> enough to store 4 kernels even in Arch anymore (normal/fallback
> kernels for both lts and up to date). I started getting screwed with
> ubuntu in the later 2013 and up years using a 256mb boot, now guess I
> need a gig if I need more than 1 kernel set. Drat.
>
> -mb
>
> On Fri, Nov 11, 2022 at 9:20 AM Keith Smith via PLUG-discuss
> <> wrote:
>
>> Hi,
>>
>> I've gotten VirtualBox working and installed just the Ubuntu plain
>> server 20.04 with the goal of creating a LAMP setup that will be
>> used
>> for a tiny bit of PHP testing.
>>
>> I allocated 10GB of space for this VM instance.
>>
>> I want to allocate a limited amount of disk space because I think
>> this
>> is static and will count as disk usage on the host even when my
>> virtual
>> machine is not running.
>>
>> I ran "df -h" and here is the output:
>>
>> keith@plain-ubuntu20-lamp:~$ df -h
>> Filesystem                         Size  Used Avail Use% Mounted on
>> udev                               948M     0  948M   0% /dev
>> tmpfs                              199M  1.1M  198M   1% /run
>> /dev/mapper/ubuntu--vg-ubuntu--lv  8.1G  3.6G  4.0G  48% /
>> tmpfs                              992M     0  992M   0% /dev/shm
>> tmpfs                              5.0M     0  5.0M   0% /run/lock
>> tmpfs                              992M     0  992M   0%
>> /sys/fs/cgroup
>> /dev/loop0                          68M   68M     0 100%
>> /snap/lxd/22753
>> /dev/sda2                          1.7G  106M  1.5G   7% /boot
>> /dev/loop1                          47M   47M     0 100%
>> /snap/snapd/16292
>> /dev/loop2                          62M   62M     0 100%
>> /snap/core20/1611
>> tmpfs                              199M     0  199M   0%
>> /run/user/1000
>> keith@plain-ubuntu20-lamp:~$

>>
>> I assume the line : "/dev/mapper/ubuntu--vg-ubuntu--lv 8.1G 3.6G
>>
>> 4.0G 48% /" is root.
>>
>> So a minimal install of the Ubuntu server 20.04lts is 3.6G? Yikes
>> is
>> this correct? So I have 4G free? I can live with 4G free. Yikes I
>>
>> have yet to install PHP/MySql/Apache.
>>
>> Is this correct?
>>
>> Thank you for your input!!
>>
>> Keith
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list:
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---------------------------------------------------
> PLUG-discuss mailing list:
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list:
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss