Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I created disks with fdisk:

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *         xxx         xxx         xxx   83  Linux
/dev/sda2             xxx         xxx         xxx   82  Linux swap / Solaris
/dev/sda3             xxx         xxx         xxx   8e  Linux LVM

(Sytems are created using fdisk's t command)

Should I now format each disk using mkfs on /dev/sdaX?

share|improve this question
    
Depends, what are you trying to do? What OS are you using? Are you installing a new system? –  terdon Jun 18 '13 at 11:37
add comment

2 Answers 2

Do a ls /dev/sd* and see if the device names show up.

If they don't show up, do this:

/sbin/blockdev --rereadpt /dev/sda

If they still don't show up,. reboot.

I know cfdisk, which is what I usually use, causes the partition table to update afterward. Not sure about fdisk.

share|improve this answer
add comment

You should do that if you want a particular FS on that partition.

You can achieve that by using the mkfs suite. (You can add more FS to the mkfs suite by installing exfat-utils, ntfs-3g and so on, if you're trying to set up a Windows Box for example.)

share|improve this answer
add comment

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.