Command or tool for terminal to report disk space but as a kind of TUI (Terminal User Interface)?

Hi Manuel, :waving_hand:

youĀ“re welcome.

Hmm, it makes me wonder . :thinking:

You provided this screenshot (cropped):

So ā€œStatusā€ says itĀ“s ā€œActiveā€. I guess thatĀ“s the reason for the key symbol being displayed.
Althoughā€¦

ā€¦ might it be the case that /dev/sda3 is still mounted :red_question_mark:

Just a thought.

Cheers from Rosika :slightly_smiling_face:

3 Likes

Very very interesting ā€¦ if the OS is not running how is mounted that partition?

LOL ā€¦ tools and Linux always have something to show! :slight_smile:

2 Likes

@Manuel_Jordan :

Hi Manuel, :waving_hand:

O.K., I guess your reasoning is: why is the respective partition mounted even if the OS running as virtual machine isnĀ“t running at the moment?

Seems intriguingā€¦

Well, now I actually had to to consult perplexity for some explanation :blush:

The key icon on /dev/sda3 appears because the GParted Live environment itself has mounted the partition, even though your Linux Server OS is not running.
Hereā€™s why this happens and how to resolve it:

Why /dev/sda3 is Mounted in GParted Live:

Live Environment Behavior:

When booting from the GParted Live CD/DVD, the VM runs the GParted operating system (not your installed Server OS).
This Live environment may automatically mount partitions like /dev/sda3 for read-only inspection or to facilitate repairs.
The key icon indicates the partition is mounted, preventing modifications until unmounted.

Could this be it :red_question_mark:

Cheers from Rosika :slightly_smiling_face:

P.S.:

Another possibility:

VirtualBox Boot Configuration:

If the VMā€™s boot order prioritizes the Live CD/DVD over the virtual hard disk, the VM will repeatedly boot into GParted instead of your Server OS. This keeps the partitions ā€œin useā€ by the Live session, even though the Server OS is inactive

3 Likes

Iā€™m not clear on what you are saying, but I think maybe you are wondering why you donā€™t see a 50GB .vdi file.

By default, VirtualBox will allocate only the currently needed space and grow the file as needed until it reaches the 50GB (or whatever size) limit you configured.

3 Likes

Correct ā€¦ it because from the beginning the .vdi file was created with 50GB ā€¦ thus if I reach the limit is mandatory two things:

  • With VB increase the vdi file to give extra space
  • Use GParted as Live CD/DVD to increase the storage according with the new addition added in the previous step

I think exists at least 2 more ways to create the .vdi capacity from the beginning

2 Likes

Hello @Rosika :slight_smile:

O.K., I guess your reasoning is: why is the respective partition mounted even if the OS running as virtual machine isnĀ“t running at the moment?

Correct.

Seems intriguingā€¦
Well, now I actually had to to consult perplexity for some explanation :blush:

LOL

The key icon on /dev/sda3 appears ā€¦
Could this be it :red_question_mark:

Has sense in someway

If the VMā€™s boot order prioritizes the Live CD/DVD over the virtual hard disk, the VM will repeatedly boot into GParted instead of your Server OS. This keeps the partitions ā€œin useā€ by the Live session, even though the Server OS is inactive

But it is the correct approach, first read the ā€œOptical Diskā€ and later the ā€œHard Diskā€ ā€¦ otherwise the Live CD/DVD never runs ā€¦

Interesting this behavior :nerd_face:

2 Likes

Thanks @Manuel_Jordan for the feedback :heart:

Cheers from Rosika :slightly_smiling_face:

2 Likes