본문 바로가기
OS/linux

centos 7에서 ntfs 마운트 하기

by Knowledge Store In Hyunsoft 2019. 10. 14.

centos에서 ntfs 마운트 하기 샘플

yum install epel-release

yum install ntfs-3g

mkdir /mnt/data

mount -t ntfs-3g /dev/sdb2 /mnt/data -o defaults

vi /etc/fstab
/dev/sdb2    /mnt/data    ntfs-3g defaults,hide_hid_files,windows_names 0 0

* 참고 명령어

lsblk : 블록디스크 구성현황을 살펴보는 명령어

19:48 root:/root> lsblk
NAME                        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda                           8:0    1 136.6G  0 disk
├─sda1                        8:1    1     1G  0 part /boot
└─sda2                        8:2    1 135.6G  0 part
  ├─centos_lenetcenter-root 253:0    0 128.7G  0 lvm  /
  └─centos_lenetcenter-swap 253:1    0   6.9G  0 lvm
sdb                           8:16   0 119.2G  0 disk
└─sdb1                        8:17   0 119.2G  0 part /data/ssd
sr0                          11:0    1  1024M  0 rom
nvme0n1                     259:0    0 119.2G  0 disk
└─nvme0n1p1                 259:1    0 119.2G  0 part /data/nvme

 

728x90

댓글