1.하드디스크 인식여부 확인
1
2
3
4
5
6
7
8
9
10
| Disk /dev/sda: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM008-2FR1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 922609BD-3EFF-42B9-9399-398765444AE6
Device Start End Sectors Size Type
/dev/sda1 2048 3907028991 3907026944 1.8T Linux filesystem
|
2.UUID 확인
1
| /dev/sda1: UUID="86fb632e-2908-48f4-bfb2-84298c2f3ec7" TYPE="ext4" PARTUUID="2f9f31a4-aed7-4c15-9a7f-592815759be1"
|
3.마운트
3.1.마운트할 디렉토리 생성
3.2.fstab 에 마운트 정보 입력
file system
| mount point
| type
| options
| dump
| pass
UUID=86fb632e-2908-48f4-bfb2-84298c2f3ec7 /data ext4 defaults 0 0
크게 중요하지 않으면 마지막은 defaults 0 0
3.3.마운트
3.4.마운트 확인