Howto Format Hard Disk on Linux Console

Filed in Linux System Leave a comment

1. Use “fdisk /dev/path-to-your-device” to create new partition
2. “mkfs.ext4 /dev/cciss/c0d1p1″ to create new file system
3. “blkid” to find hard disk UUID
4. Edit “/etc/fstab” to permanently add your new partition
5. Restart server

 

Hard Disk Tune Overriding:

This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

 

TOP