Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I see that some people don't use fdisk to create a partition on /dev/sdb... what is the difference between making and not making a partition for a single partition disk?

I just added a partition on a virtual disk, ran mkfs.ext4 and mounted it, but I just wondered what would have been different if I did not create the partition via fdisk first and just typed mkfs.ext4 /dev/sdb...

share|improve this question

1 Answer 1

up vote 2 down vote accepted

mke2fs would tell you that it is an entire device rather than a partition. It is still able to create the filesystem, but you need to confirm that you want to do this.

Is there any specific reason for not using LVM to manage your disks? It really is easy and gives you a lot of benefit, especially if you need to expand later on.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.