M
M
m2_viktor2015-05-29 12:38:07
linux
m2_viktor, 2015-05-29 12:38:07

How to display a list of unmounted partitions with sizes in linux?

Hello,
I have a virtual machine with debian7. The root directory and all service are on /dev/sda. There is an unallocated /dev/sdb. I partition fdisk /dev/sdb to /dev/sdb1 and /dev/sdb2 and /dev/sdb5. Now I have to create filesystems on the new partitions, but suppose I forgot the size of the partitions on /dev/sdb in gigabytes, how do I look at this before creating the fs and mounting the created partitions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xibir, 2015-05-29
@m2_viktor

lsblk

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question