2021. 9. 2. 08:00γSystem μμ μ€/LINUX
2TB μ΄μμ μ€ν 리μ§λ₯Ό μ¬μ©ν λλ MBR λ°©μ λμ GPT λ°©μμ μ¬μ©.
fdisk λμ partedλ₯Ό μ¬μ©ν΄ μ€λ€.
1. parted μ€ν
λ€μμ λͺ λ Ήμ΄λ‘ μ€νν΄ μ£Όλ©΄ λ¨.
# parted Block_Device_κ²½λ‘
μ λ /dev/sdc μ νν°μ μμ±μ ν¨.
# parted /dev/sdc GNU Parted 2.1 Using /dev/sdc Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) |
미리 fdiskλ₯Ό μ¬μ©νμ¬ νν°μ μ 1κ° fullλ‘ μμ±.
print λͺ λ Ήμ΄λ‘ νμΈν΄ 보면
(parted) print Model: LSI 9750-24i4e DISK (scsi) Disk /dev/sdc: 2400GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 2199GB 2199GBprimary lvm (parted) |
μ 체 λμ€ν¬ μ¬μ΄μ¦λ 2400GB μΈλ°,
μμ±λ νν°μ μ 2199GB μΈ κ²μ νμΈ.
'Partition Table' μ κ°μ΄ 'msdos' μΈ κ²μ νμΈ.
2. MBR -> GPT λ³κ²½
λ€μ λͺ λ Ήμ΄λ₯Ό μ¬μ©νμ¬ GPT λ°©μμΌλ‘ λ³κ²½ κ°λ₯.
(parted) mklabel gpt
λ³κ²½ ν νμΈν΄λ³΄λ©΄ Partition Tableμ κ°μ΄ λ³κ²½λ κ²μ νμΈ κ°λ₯.
(parted) mklabel gpt Warning: The existing disk label on /dev/sdc will be destroyed and all data on this disk will be lost. Do you want to continue? Yes/No? yes (parted) (parted) print Model: LSI 9750-24i4e DISK (scsi) Disk /dev/sdc: 2400GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags (parted) |
3. Partition μμ±
λ€μμ λͺ λ Ήμ΄λ‘ νν°μ μμ±μ΄ κ°λ₯.
(parted) mkpart primary μμμμΉ λμμΉ
νν°μ μ μ 체 μμμΌλ‘ 1κ°λ§ μμ±νλ€λ©΄ μμμμΉλ 0, λμμΉλ λμ€ν¬ μ©λμΌλ‘ μ‘μΌμλ©΄ λ¨.
νν°μ μμ± ν νμΈ ν΄λ³΄λ©΄ fdisk λ‘ μμ±ν κ²κ³Όλ λ€λ₯΄κ² 2TB μ΄μμ νν°μ μ΄ μμ±λ κ²μ νμΈ κ°λ₯.
(parted) mkpart primary 0 2400GB Warning: The resulting partition is not properly aligned for best performance. Ignore/Cancel? Ignore (parted) (parted) print Model: LSI 9750-24i4e DISK (scsi) Disk /dev/sdc: 2400GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 2400GB 2400GBprimary (parted) |
"μ΄ ν¬μ€ν μ μΏ ν‘ ννΈλμ€ νλμ μΌνμΌλ‘, μ΄μ λ°λ₯Έ μΌμ μ‘μ μμλ£λ₯Ό μ 곡λ°μ΅λλ€."
4. μ’ λ£
q λͺ λ Ήμ΄λ‘ μ’ λ£λ₯Ό ν΄μ£Όμλ©΄ λ©λλ€.β
'System μμ μ€ > LINUX' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
[Linux] CD/DVD λ₯Ό ISOλ‘ λ§λ€κΈ° (0) | 2021.09.03 |
---|---|
[Linux] LVM μμ± (0) | 2021.09.02 |
[RHCSA] RHEL 7 CLIμμ GUI μ€μΉ λ° μ¬μ©λ²β (0) | 2021.09.01 |
[RHCSA] RHEL 7 CD-ROMμ ν΅ν΄ yum μ¬μ©λ² (0) | 2021.08.31 |
[Linux] RHEL 7 CD-ROM Mount & Unmount (0) | 2021.08.30 |