Linux plug-in hard disk steps

  
        View all hard disk fdisk -l hard disk partition fdisk /dev/vdbnp3w# write self-starting echo -e "/dev/vdb /data ext4 defaults 1 1" >>/etc/fstab#reverse write can not start #Format Mkfs.ext4 /dev/vdb#Create a hard disk mount directory mkdir /data#mount hard disk

mount /dev/vdb /data
#restart test reboot#unmount hard disk

umount /dev/vdb /Data

Copyright © Windows knowledge All Rights Reserved