The storage on EX4100 switch can be verified in two ways
1. From CLI using the command “show system storage
2. From shell mode using the command “gpart show”
This KB mentions the commands to check storage.
In CLI, the system storage output indicates that the /dev/gpt/junos has 5.7GB size operational user partition out of the total capacity.
> show system storage
fpc0:
--------------------------------------------------------------------------
Filesystem Size Used Avail Capacity Mounted on
/dev/gpt/junos 5.7G 1.3G 3.9G 25% /.mount
tmpfs 2.2G 12K 2.2G 0% /.mount/tmp
/var/jails/rest-api 5.7G 1.3G 3.9G 25% /.mount/packages/mnt/junos-runtime/web-api/var
tmpfs 673M 360K 673M 0% /.mount/mfs
The free BSD command “gpart show” indicates the overall storage capacity of 8GB. The 8GB storage is calculated as gb to gib conversion, which is "8 GB = 7.450580597 GiB”, the 7.4505 rounded off to 7.5G capacity.
> start shell
% gpart show
=> 40 15630600 da0 GPT (7.5G)
40 204800 1 efi (100M)
204840 3145728 2 freebsd-ufs (1.5G)
3350568 12280072 3 freebsd-ufs (5.9G)