ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

What command do you use to create Linux file systems?

user-image
تم إضافة السؤال من قبل Faten Almajaly
تاريخ النشر: 2014/06/23
Steven Liang
من قبل Steven Liang , Sr. System Support , Bank of Tokyo Mitsubishi UFJ

case1:

fdisk -- to create a partition from hdisk

mkfs -t filesystem  to format the partion you want

 

case2:

fdisk -- to build a partition and make it as LVM sign

pvcreate -- to create a PV

vgcreate -- to build a VG and add PVs into VG

lvcreate -- to build a LV

mkfs -t format -- to format the filesystem into that LV

 

Roderick Cabase
من قبل Roderick Cabase , IT Technician , Saudi Aramco (Contract Isam Kabbani & Partners Co.)

mkfs command

Example:

 

mkfs -t ext3 /dev/hda1

 

There are also type specific command, which in fact are called by mkfs; these are:

 

mke2fs mkfs.ext3 mkfs.msdos mkfs.vfat

use:

man mke2fs man mkfs.ext3 man mkfs.msdos man mkfs.vfat

 

for the type specific options available. Note: mke2fs and mkfs.ext3 are usually the same file.

 

Khalique Zafar
من قبل Khalique Zafar , Solution Manager IT , Huawei Technologies

mkfs -t <filesystem option> <device name>

 

Filesystem options = vfat, ext2, ext3,ext4 etc.

Device Name= raw disk, basic partition, Logical Volume  such as /dev/hda1, /vg00/lv0 etc. 

Emad Mohammed said abdalla
من قبل Emad Mohammed said abdalla , ERP & IT Software, operation general manager . , AL DOHA Company

I agree with Mr Steven Liang  

Nagoor Meeran
من قبل Nagoor Meeran , Engineer , wipro_infotech

Hi Friends,

   This Nagoor i have1 year exp desktop role right now i am looking for hulf System Enginner job kindly help me. ID:

 

 

Muhammad Afroz Alam
من قبل Muhammad Afroz Alam , Group Leader , Aptech Computer Education

mkfs -t filesystem_typ device

Muhammad Anzar
من قبل Muhammad Anzar , DevOps/DevSecOps Architect , Confidential

mkfs is using for filesystem formating.

We can create following file system ext2, ext3, ext4 with following command mkfs.ext2 partition, mkfs.ext3 partition, mkfs.ext4 partition

Syed Javed
من قبل Syed Javed , it consultant , Infosys

mkfs -t filetype /dev/DEVICE

OR

mkfs.ext3 /dev/DEVICE

OR

mkfs.ext4 /dev/DEVICE

المزيد من الأسئلة المماثلة