<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>시스템 관리 Archives - 어제와 내일의 나 그 사이의 이야기</title>
	<atom:link href="https://lycos7560.com/tag/%ec%8b%9c%ec%8a%a4%ed%85%9c-%ea%b4%80%eb%a6%ac/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>생각의 흐름을 타고 다니며 만드는 블로그</description>
	<lastBuildDate>Mon, 16 Mar 2026 21:01:51 +0000</lastBuildDate>
	<language>ko-KR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://lycos7560.com/wp-content/uploads/2022/11/cropped-cropped-cropped-log-1-150x150-1-80x80.png</url>
	<title>시스템 관리 Archives - 어제와 내일의 나 그 사이의 이야기</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>LVM(Logical Volume Manager) 구조 및 개념</title>
		<link>https://lycos7560.com/etc/lvmlogical-volume-manager-%ea%b5%ac%ec%a1%b0-%eb%b0%8f-%ea%b0%9c%eb%85%90/40489/</link>
					<comments>https://lycos7560.com/etc/lvmlogical-volume-manager-%ea%b5%ac%ec%a1%b0-%eb%b0%8f-%ea%b0%9c%eb%85%90/40489/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Sun, 22 Feb 2026 16:13:57 +0000</pubDate>
				<category><![CDATA[기타]]></category>
		<category><![CDATA[AIX admin]]></category>
		<category><![CDATA[AIX hdisk]]></category>
		<category><![CDATA[AIX LVM]]></category>
		<category><![CDATA[AIX storage]]></category>
		<category><![CDATA[Block Device]]></category>
		<category><![CDATA[Data Storage]]></category>
		<category><![CDATA[Disk allocation]]></category>
		<category><![CDATA[disk device]]></category>
		<category><![CDATA[Disk Management]]></category>
		<category><![CDATA[Disk Partition]]></category>
		<category><![CDATA[Enterprise storage]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[Extent]]></category>
		<category><![CDATA[FC storage]]></category>
		<category><![CDATA[Fibre Channel]]></category>
		<category><![CDATA[File System]]></category>
		<category><![CDATA[FileSystem]]></category>
		<category><![CDATA[hdisk]]></category>
		<category><![CDATA[hdisk0]]></category>
		<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[IT infrastructure]]></category>
		<category><![CDATA[IT 인프라]]></category>
		<category><![CDATA[JFS]]></category>
		<category><![CDATA[JFS2]]></category>
		<category><![CDATA[LE]]></category>
		<category><![CDATA[Linux admin]]></category>
		<category><![CDATA[Linux LVM]]></category>
		<category><![CDATA[Linux storage]]></category>
		<category><![CDATA[Logical Disk]]></category>
		<category><![CDATA[Logical Extent]]></category>
		<category><![CDATA[Logical Partition]]></category>
		<category><![CDATA[Logical storage]]></category>
		<category><![CDATA[Logical Unit Number]]></category>
		<category><![CDATA[Logical Volume]]></category>
		<category><![CDATA[Logical Volume Manager]]></category>
		<category><![CDATA[LP]]></category>
		<category><![CDATA[lsdev]]></category>
		<category><![CDATA[lslv]]></category>
		<category><![CDATA[lspv]]></category>
		<category><![CDATA[lsvg]]></category>
		<category><![CDATA[LUN]]></category>
		<category><![CDATA[LV]]></category>
		<category><![CDATA[lvdisplay]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[LVM architecture]]></category>
		<category><![CDATA[LVM concept]]></category>
		<category><![CDATA[LVM hierarchy]]></category>
		<category><![CDATA[LVM 개념]]></category>
		<category><![CDATA[LVM 계층 구조]]></category>
		<category><![CDATA[LVM 구조]]></category>
		<category><![CDATA[lvs]]></category>
		<category><![CDATA[Mirroring]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[mount point]]></category>
		<category><![CDATA[PE]]></category>
		<category><![CDATA[Physical Disk]]></category>
		<category><![CDATA[Physical Extent]]></category>
		<category><![CDATA[Physical Partition]]></category>
		<category><![CDATA[Physical storage]]></category>
		<category><![CDATA[Physical Volume]]></category>
		<category><![CDATA[PP]]></category>
		<category><![CDATA[PV]]></category>
		<category><![CDATA[pvdisplay]]></category>
		<category><![CDATA[pvs]]></category>
		<category><![CDATA[Quorum]]></category>
		<category><![CDATA[SAN]]></category>
		<category><![CDATA[SAN storage]]></category>
		<category><![CDATA[Server storage]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Storage admin]]></category>
		<category><![CDATA[Storage architecture]]></category>
		<category><![CDATA[Storage concept]]></category>
		<category><![CDATA[Storage hierarchy]]></category>
		<category><![CDATA[Storage layer]]></category>
		<category><![CDATA[storage management]]></category>
		<category><![CDATA[Storage pool]]></category>
		<category><![CDATA[Storage virtualization]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[UNIX admin]]></category>
		<category><![CDATA[UNIX LVM]]></category>
		<category><![CDATA[UNIX storage]]></category>
		<category><![CDATA[VG]]></category>
		<category><![CDATA[VGDA]]></category>
		<category><![CDATA[vgdisplay]]></category>
		<category><![CDATA[vgs]]></category>
		<category><![CDATA[Virtual storage]]></category>
		<category><![CDATA[Volume Group]]></category>
		<category><![CDATA[Volume Group Descriptor Area]]></category>
		<category><![CDATA[Volume management]]></category>
		<category><![CDATA[xfs]]></category>
		<category><![CDATA[가상 스토리지]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[논리 디스크]]></category>
		<category><![CDATA[논리 볼륨]]></category>
		<category><![CDATA[논리 볼륨 관리자]]></category>
		<category><![CDATA[논리 스토리지]]></category>
		<category><![CDATA[논리 파티션]]></category>
		<category><![CDATA[데이터 저장]]></category>
		<category><![CDATA[디스크 관리]]></category>
		<category><![CDATA[디스크 파티션]]></category>
		<category><![CDATA[디스크 할당]]></category>
		<category><![CDATA[마운트]]></category>
		<category><![CDATA[마운트 포인트]]></category>
		<category><![CDATA[물리 디스크]]></category>
		<category><![CDATA[물리 볼륨]]></category>
		<category><![CDATA[물리 스토리지]]></category>
		<category><![CDATA[물리 파티션]]></category>
		<category><![CDATA[미러링]]></category>
		<category><![CDATA[볼륨 관리]]></category>
		<category><![CDATA[볼륨 그룹]]></category>
		<category><![CDATA[블록 디바이스]]></category>
		<category><![CDATA[서버 스토리지]]></category>
		<category><![CDATA[스토리지]]></category>
		<category><![CDATA[스토리지 가상화]]></category>
		<category><![CDATA[스토리지 개념]]></category>
		<category><![CDATA[스토리지 계층]]></category>
		<category><![CDATA[스토리지 관리]]></category>
		<category><![CDATA[스토리지 관리자]]></category>
		<category><![CDATA[스토리지 구조]]></category>
		<category><![CDATA[스토리지 아키텍처]]></category>
		<category><![CDATA[스토리지 풀]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[시스템 운영]]></category>
		<category><![CDATA[엔터프라이즈 스토리지]]></category>
		<category><![CDATA[인프라]]></category>
		<category><![CDATA[쿼럼]]></category>
		<category><![CDATA[파일 시스템]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=40489</guid>

					<description><![CDATA[<p>LVM의 계층 구조와 주요 개념 LVM(Logical Volume Manager)은 리눅스 및 유닉스 계열 시스템에서 사용자가 논리적인 볼륨 저장소를 설정하고 제어할 수 있도록 하는 운영 체제 명령, 라이브러리 및 도구 세트입니다. (Manager) 이는 실제 물리적 디스크와 응용 프로그램 사이에 장치 드라이버 계층을 두어, 물리적 디스크 구조와 무관하게 스토리지 공간을 논리적으로 관리할 수 있게 해줍니다. (여러 물리적인 디스크들을 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/etc/lvmlogical-volume-manager-%ea%b5%ac%ec%a1%b0-%eb%b0%8f-%ea%b0%9c%eb%85%90/40489/">LVM(Logical Volume Manager) 구조 및 개념</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-472a844f      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#lvm의-계층-구조와-주요-개념" class="uagb-toc-link__trigger">LVM의 계층 구조와 주요 개념</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#1-물리적-계층-pv-physical-volume-및-pp-physical-partition" class="uagb-toc-link__trigger">1. 물리적 계층: PV (Physical Volume) 및 PP (Physical Partition)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#pv-physical-volume" class="uagb-toc-link__trigger">PV (Physical Volume)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#pp-physical-partition" class="uagb-toc-link__trigger">PP (Physical Partition)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#관련-명령어" class="uagb-toc-link__trigger">관련 명령어</a></li></ul><li class="uagb-toc__list"><a href="#2-논리적-그룹-계층-vg-volume-group" class="uagb-toc-link__trigger">2. 논리적 그룹 계층: VG (Volume Group)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#vg-volume-group" class="uagb-toc-link__trigger">VG (Volume Group)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#관련-명령어" class="uagb-toc-link__trigger">관련 명령어</a></li></ul><li class="uagb-toc__list"><a href="#3-논리적-할당-계층-lv-logical-volume-및-lp-logical-partition-미러링mirroring" class="uagb-toc-link__trigger">3. 논리적 할당 계층: LV (Logical Volume) 및 LP (Logical Partition) / 미러링(Mirroring)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#lv-logical-volume" class="uagb-toc-link__trigger">LV (Logical Volume)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#lp-logical-partition" class="uagb-toc-link__trigger">LP (Logical Partition)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#미러링mirroring" class="uagb-toc-link__trigger">미러링(Mirroring)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#관련-명령어" class="uagb-toc-link__trigger">관련 명령어</a></li></ul><li class="uagb-toc__list"><a href="#4-계층-구조의-상위-단계-파일-시스템file-system" class="uagb-toc-link__trigger">4. 계층 구조의 상위 단계: 파일 시스템(File System)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#file-system" class="uagb-toc-link__trigger">File System</a></li></ul><li class="uagb-toc__list"><a href="#주요-개념-요약" class="uagb-toc-link__trigger">주요 개념 요약</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#계층-구조" class="uagb-toc-link__trigger">계층 구조</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#유연성" class="uagb-toc-link__trigger">유연성</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#데이터-무결성" class="uagb-toc-link__trigger">데이터 무결성</a></ul></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">LVM의 계층 구조와 주요 개념</h3>



<p><strong>LVM(Logical Volume Manager)</strong>은 리눅스 및 유닉스 계열 시스템에서 사용자가 논리적인 볼륨 저장소를 설정하고 제어할 수 있도록 하는 운영 체제 명령, 라이브러리 및 도구 세트입니다. (Manager)</p>



<p>이는 실제 <strong>물리적 디스크</strong>와 <strong>응용 프로그램</strong> 사이에 <strong>장치 드라이버 계층</strong>을 두어, <strong>물리적 디스크 구조</strong>와<strong> 무관하게 스토리지 공간을 논리적으로 관리</strong>할 수 있게 해줍니다.</p>



<p>(여러 물리적인 디스크들을 하나의 논리적인 디스크처럼 다룰 수 있게 함 &#8211; 고용량, 고속, 데이터의 무결성 등을 실현 가능)</p>



<ul class="wp-block-list">
<li><strong>LVM이 필요한 이유?</strong></li>
</ul>



<p>기존 파티션 기반 스토리지 관리 방식은 용량 확장이나 재구성이 복잡하고 다운 타임이 발생할 수 있다. </p>



<p>그러나 LVM을 사용하면 하드 드라이브를 재분할할 필요 없이 논리 볼륨을 생성, 크기 조정, 이동 및 삭제할 수 있습니다.</p>



<p>LVM의 진정한 매력은 논리 볼륨과 볼륨 그룹의 크기를 실시간으로 조정할 수 있다는 점에 있습니다.</p>



<p>예를 들어) 갑자기 데이터베이스 용량 필요하다고 해도<strong> LVM을 사용하면 운영 중단 없이 손쉽게 공간을 확장</strong>할 수 있습니다.</p>



<p>LVM은 하드 디스크 위에 얇은 소프트웨어 계층을 덧씌워 하드 드라이브 관리의 연속성과 편의성을 추상화한 것이라고 생각하면 될 것 같습니다.</p>



<div class="wp-block-uagb-container uagb-block-a9759a32 alignfull uagb-is-root-container"><div class="uagb-container-inner-blocks-wrap">
<div class="wp-block-uagb-container uagb-block-9b76df1b">
<figure class="wp-block-image size-full is-resized"><img fetchpriority="high" decoding="async" width="960" height="967" src="https://lycos7560.com/wp-content/uploads/2026/02/Lvm.svg_.png" alt="" class="wp-image-40492" style="width:792px;height:auto" srcset="https://lycos7560.com/wp-content/uploads/2026/02/Lvm.svg_.png 960w, https://lycos7560.com/wp-content/uploads/2026/02/Lvm.svg_-298x300.png 298w, https://lycos7560.com/wp-content/uploads/2026/02/Lvm.svg_-150x150.png 150w, https://lycos7560.com/wp-content/uploads/2026/02/Lvm.svg_-768x774.png 768w" sizes="(max-width: 960px) 100vw, 960px" /><figcaption class="wp-element-caption"><a href="https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)">https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)</a></figcaption></figure>
</div>



<div class="wp-block-uagb-container uagb-block-f0a092a6">
<figure class="wp-block-image size-full has-custom-border"><img decoding="async" width="791" height="481" src="https://lycos7560.com/wp-content/uploads/2026/02/image-8.png" alt="" class="wp-image-40490" style="border-width:1px" srcset="https://lycos7560.com/wp-content/uploads/2026/02/image-8.png 791w, https://lycos7560.com/wp-content/uploads/2026/02/image-8-300x182.png 300w, https://lycos7560.com/wp-content/uploads/2026/02/image-8-768x467.png 768w" sizes="(max-width: 791px) 100vw, 791px" /><figcaption class="wp-element-caption"><a href="https://medium.com/@habibullah.127.0.0.1/what-is-lvm-lvm-architecture-how-to-create-pvs-vgs-lvs-in-linux-30acd24e4f0b" target="_blank" rel="noreferrer noopener">https://medium.com/@habibullah.127.0.0.1/what-is-lvm-lvm-architecture-how-to-create-pvs-vgs-lvs-in-linux-30acd24e4f0b</a></figcaption></figure>
</div>
</div></div>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">1. 물리적 계층: PV (Physical Volume) 및 PP (Physical Partition)</h4>



<h5 class="wp-block-heading"><strong>PV (Physical Volume)</strong></h5>



<p>LVM에서 인식하는 <strong>물리적 디스크 드라이브</strong> 자체를 의미하며, AIX 시스템에서는 <code>hdisk0</code>, <code>hdisk1</code>과 같은 이름으로 표시됩니다.</p>



<p><mark style="background-color:rgba(0, 0, 0, 0);color:#ff6900" class="has-inline-color"><strong>하나의 PV는 </strong></mark>반드시 <mark style="background-color:rgba(0, 0, 0, 0);color:#ff6900" class="has-inline-color"><strong>하나의 VG</strong></mark>에만 속할 수 있습니다.</p>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h5 class="wp-block-heading"><strong><strong>PP (Physical Partition)</strong></strong></h5>



<p>PV를 일정한 크기로 나눈 <strong>최소의 물리적 단위</strong>입니다.</p>



<p>PP의 크기는 1MB에서 1GB까지 설정 가능하며, <mark style="background-color:rgba(0, 0, 0, 0);color:#ff6900" class="has-inline-color"><strong>동일한 VG 내의 모든 PV</strong></mark>는<mark style="background-color:rgba(0, 0, 0, 0);color:#ff6900" class="has-inline-color"><strong> 동일한 크기의 PP</strong></mark>를 가집니다.</p>



<h5 class="wp-block-heading"><strong><strong>관련 명령어</strong></strong></h5>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 하드 디스크 총 개수, 파티션 수, 저장 용량 및 사용 가능 용량을 확인
- Linux
lsblk
- AIX
lsdev -Cc disk

# Physical Volumes 총 개수
- Linux
pvs
pvdisplay
- AIX
lspv
lspv hdisk0</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">2. 논리적 그룹 계층: VG (Volume Group)</h4>



<h5 class="wp-block-heading"><strong><strong>VG (Volume Group)</strong></strong></h5>



<p>하나 이상의 <strong>PV들을 논리적으로 묶은 집합체</strong>입니다.</p>



<p>VG 내의 디스크들은 PP라는 단위로 쪼개져 관리되며, 이를 통해 여러 <strong>물리적 디스크에 걸쳐 있는 논리적 볼륨을 생성하는 등 유연한 관리가 가능</strong>해집니다.</p>



<p>데이터 보호를 위해 미러링을 설정하면, <strong>하나의 LP가 2개 또는 3개의 PP에 대응</strong>되어 동일한 데이터 사본을 여러 곳에 저장하게 됩니다.</p>



<h5 class="wp-block-heading"><strong><strong>관련 명령어</strong></strong></h5>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Volume groups 확인
- Linux
vgs
vgdisplay
- AIX
lsvg
lsvg vgname</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">3. 논리적 할당 계층: LV (Logical Volume) 및 LP (Logical Partition) / <strong>미러링(Mirroring)</strong></h4>



<h5 class="wp-block-heading"><strong><strong><strong>LV (Logical Volume)</strong></strong></strong></h5>



<p>사용자가 실제 데이터를 저장하기 위해 VG 내에서 정의하는 <strong>논리적인 저장 공간</strong>입니다.</p>



<p>LV는 사용자에게는 연속된 공간으로 보이지만, <strong>실제 물리적 위치(PP)는 디스크 상에서 흩어져 있거나 여러 PV에 걸쳐 있을 수 있습니다</strong>.</p>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h5 class="wp-block-heading"><strong><strong><strong><strong>LP (Logical Partition)</strong></strong></strong></strong></h5>



<p>LV를 구성하는 <strong>최소 논리 단위</strong>로, <strong>하나 이상의 PP</strong>에 대응됩니다.</p>



<p>※ 참고: AIX에서는 LP/PP라는 용어를 사용하며,<br>Linux LVM에서는 LE/PE(Extent)라는 용어를 사용한다.</p>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h5 class="wp-block-heading"><strong><strong><strong><strong><strong>미러링(Mirroring)</strong></strong></strong></strong></strong></h5>



<p>데이터 보호를 위해 미러링을 설정하면, <strong>하나의 LP가 2개 또는 3개의 PP에 대응</strong>되어 동일한 데이터 사본을 여러 곳에 저장하게 됩니다.</p>



<h5 class="wp-block-heading"><strong><strong>관련 명령어</strong></strong></h5>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Logical volumes 확인
- Linux
lvs
lvdisplay
- AIX
lslv
lslv lvname</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">4. 계층 구조의 상위 단계: 파일 시스템(File System)</h4>



<h5 class="wp-block-heading"><strong><strong><strong>File System</strong></strong></strong></h5>



<p>LV 위에 구축되어 사용자가 <strong>실제 파일을 저장하고 접근할 수 있도록 하는 논리적인 구조</strong>입니다.</p>



<p>생성된 <strong>LV 위에는 JFS 또는 JFS2와 같은 파일 시스템</strong>이 구축되거나, 페이징 공간(Paging Space)으로 사용됩니다.</p>



<p>운영체제는 이러한 파일 시스템을 통해 파일을 저장하고 관리합니다.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:0;margin-bottom:0"/>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">주요 개념 요약</h4>



<h5 class="wp-block-heading"><strong><strong><strong><strong>계층 구조</strong></strong></strong></strong></h5>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">PV(PP) → VG → LV(LP) → 파일 시스템</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h5 class="wp-block-heading"><strong><strong><strong><strong><strong>유연성</strong></strong></strong></strong></strong></h5>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">LVM을 사용하면 운영 중에 파일 시스템의 용량을 늘리거나 줄이는 것이 가능하며, 
물리적인 디스크 한계를 넘어 스토리지를 효율적으로 관리할 수 있습니다</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h5 class="wp-block-heading"><strong><strong><strong><strong><strong><strong>데이터 무결성</strong></strong></strong></strong></strong></strong></h5>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">VGDA(Volume Group Descriptor Area)와 같은 영역에 LVM 구조 정보를 저장하여 관리하며, 
쿼럼(Quorum) 메커니즘을 통해 디스크 장애 시에도 데이터의 무결성을 보장합니다.</pre>



<div style="height:25px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="[리눅스 기초 강의] 41강. 6.3 LVM(Logical Volume Manage)" width="1778" height="1000" src="https://www.youtube.com/embed/eb2cDW-zXlI?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p></p>



<p></p>
<p>The post <a href="https://lycos7560.com/etc/lvmlogical-volume-manager-%ea%b5%ac%ec%a1%b0-%eb%b0%8f-%ea%b0%9c%eb%85%90/40489/">LVM(Logical Volume Manager) 구조 및 개념</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/etc/lvmlogical-volume-manager-%ea%b5%ac%ec%a1%b0-%eb%b0%8f-%ea%b0%9c%eb%85%90/40489/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux Development Tools Install</title>
		<link>https://lycos7560.com/etc/linux-development-tools-install/40476/</link>
					<comments>https://lycos7560.com/etc/linux-development-tools-install/40476/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Mon, 16 Feb 2026 22:31:03 +0000</pubDate>
				<category><![CDATA[기타]]></category>
		<category><![CDATA[autoconf]]></category>
		<category><![CDATA[automake]]></category>
		<category><![CDATA[C 언어]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[C++ 언어]]></category>
		<category><![CDATA[CI/CD]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[Development Tools]]></category>
		<category><![CDATA[DevOps]]></category>
		<category><![CDATA[dnf]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[gdb]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[glibc-devel]]></category>
		<category><![CDATA[groupinstall]]></category>
		<category><![CDATA[How-to 가이드]]></category>
		<category><![CDATA[kernel-devel]]></category>
		<category><![CDATA[kernel-headers]]></category>
		<category><![CDATA[libstdc++-devel]]></category>
		<category><![CDATA[libtool]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux 개발 환경]]></category>
		<category><![CDATA[Linux 관리]]></category>
		<category><![CDATA[Linux 설치]]></category>
		<category><![CDATA[Linux 정보]]></category>
		<category><![CDATA[Linux 초보자]]></category>
		<category><![CDATA[Linux 커널]]></category>
		<category><![CDATA[Linux 컴파일]]></category>
		<category><![CDATA[Linux 팁]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[OS 개발]]></category>
		<category><![CDATA[Rocky]]></category>
		<category><![CDATA[Rocky Linux]]></category>
		<category><![CDATA[Rocky Linux 설치]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[vmtoolsd]]></category>
		<category><![CDATA[VMware Tools]]></category>
		<category><![CDATA[VMware Workstation]]></category>
		<category><![CDATA[가상 머신]]></category>
		<category><![CDATA[개발 입문]]></category>
		<category><![CDATA[개발 정보]]></category>
		<category><![CDATA[개발 튜토리얼]]></category>
		<category><![CDATA[개발 팁]]></category>
		<category><![CDATA[개발 필수 도구]]></category>
		<category><![CDATA[개발 환경]]></category>
		<category><![CDATA[개발자 가이드]]></category>
		<category><![CDATA[개발자 도구]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[기술 문서]]></category>
		<category><![CDATA[기술 블로그]]></category>
		<category><![CDATA[기술 정보]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[단계별 설명]]></category>
		<category><![CDATA[드라이버 개발]]></category>
		<category><![CDATA[디버거]]></category>
		<category><![CDATA[라이브러리 빌드]]></category>
		<category><![CDATA[링킹]]></category>
		<category><![CDATA[바이너리 생성]]></category>
		<category><![CDATA[백엔드 개발]]></category>
		<category><![CDATA[버전 관리]]></category>
		<category><![CDATA[비유 설명]]></category>
		<category><![CDATA[빌드 과정]]></category>
		<category><![CDATA[빌드 관리]]></category>
		<category><![CDATA[빌드 도구]]></category>
		<category><![CDATA[빌드 자동화]]></category>
		<category><![CDATA[상세 설명]]></category>
		<category><![CDATA[서버 개발]]></category>
		<category><![CDATA[설치 가이드]]></category>
		<category><![CDATA[성능 최적화]]></category>
		<category><![CDATA[소스 코드]]></category>
		<category><![CDATA[소스 코드 컴파일]]></category>
		<category><![CDATA[소프트웨어 개발]]></category>
		<category><![CDATA[소프트웨어 빌드]]></category>
		<category><![CDATA[소프트웨어 설치]]></category>
		<category><![CDATA[소프트웨어 아키텍처]]></category>
		<category><![CDATA[시스템 개발]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[시스템 구축]]></category>
		<category><![CDATA[시스템 프로그래밍]]></category>
		<category><![CDATA[실습 환경]]></category>
		<category><![CDATA[실전 가이드]]></category>
		<category><![CDATA[에뮬레이션]]></category>
		<category><![CDATA[오류 해결]]></category>
		<category><![CDATA[오픈소스]]></category>
		<category><![CDATA[오픈소스 개발]]></category>
		<category><![CDATA[운영체제]]></category>
		<category><![CDATA[의존성 관리]]></category>
		<category><![CDATA[이해하기 쉬운 설명]]></category>
		<category><![CDATA[임베디드 시스템]]></category>
		<category><![CDATA[자동화]]></category>
		<category><![CDATA[자동화 빌드]]></category>
		<category><![CDATA[주의사항]]></category>
		<category><![CDATA[초보자 가이드]]></category>
		<category><![CDATA[커널 개발]]></category>
		<category><![CDATA[커널 모듈]]></category>
		<category><![CDATA[커널 헤더]]></category>
		<category><![CDATA[컴파일 과정]]></category>
		<category><![CDATA[컴파일 도구]]></category>
		<category><![CDATA[컴파일러]]></category>
		<category><![CDATA[컴퓨터 아키텍처]]></category>
		<category><![CDATA[클라우드 개발]]></category>
		<category><![CDATA[튜토리얼]]></category>
		<category><![CDATA[트러블슈팅]]></category>
		<category><![CDATA[패키지 관리]]></category>
		<category><![CDATA[패키지 설치]]></category>
		<category><![CDATA[프로그래밍]]></category>
		<category><![CDATA[프로그래밍 도구]]></category>
		<category><![CDATA[학습 가이드]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=40476</guid>

					<description><![CDATA[<p>Development Tools (개발 도구 모음) ? Linux에서 소프트웨어를 개발하고 컴파일하는 데 필요한 도구들의 패키지입니다. 예를 들어 &#8220;VMware Tools&#8221;처럼 C/C++ 소스 코드로 작성된 프로그램을 설치할 때 반드시 필요합니다. 설치 명령 부분 의미 주의 sudo 관리자 권한 필수! dnf Rocky Linux 패키지 매니저 Ubuntu는 apt groupinstall 패키지 그룹 설치 install과 다름 "Development Tools" 그룹 이름 따옴표 필수 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/etc/linux-development-tools-install/40476/">Linux Development Tools Install</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-7dc8e9d1      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#development-tools-개발-도구-모음" class="uagb-toc-link__trigger">Development Tools (개발 도구 모음) ?</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#설치-명령" class="uagb-toc-link__trigger">설치 명령</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#설치-시간-및-용량" class="uagb-toc-link__trigger">설치 시간 및 용량</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#설치-결과" class="uagb-toc-link__trigger">설치 결과</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#주요-설치-파일-cc-기준" class="uagb-toc-link__trigger">주요 설치 파일 (C/C++ 기준)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#컴파일러-compiler" class="uagb-toc-link__trigger">컴파일러 (Compiler)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#빌드-도구-build-tools" class="uagb-toc-link__trigger">빌드 도구 (Build Tools)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#커널-개발-패키지-kernel-development" class="uagb-toc-link__trigger">커널 개발 패키지 (Kernel Development)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#라이브러리-개발-패키지-library-development" class="uagb-toc-link__trigger">라이브러리 개발 패키지 (Library Development)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#추가-개발-도구" class="uagb-toc-link__trigger">추가 개발 도구</a></li></ul><li class="uagb-toc__list"><a href="#참고-및-주의사항" class="uagb-toc-link__trigger">참고 및 주의사항</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#groupinstall-vs-install" class="uagb-toc-link__trigger">groupinstall vs install</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#설치-확인" class="uagb-toc-link__trigger">설치 확인</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#오류-발생-시" class="uagb-toc-link__trigger">오류 발생 시</a></ul></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">Development Tools (개발 도구 모음) ?</h2>



<p>Linux에서 소프트웨어를 <strong>개발하고 컴파일하는 데 필요한 도구들의 패키지</strong>입니다.</p>



<p>예를 들어 &#8220;VMware Tools&#8221;처럼 <strong>C/C++ 소스 코드로 작성된 프로그램</strong>을 설치할 때 반드시 필요합니다.</p>



<h3 class="wp-block-heading">설치 명령</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">rocky linux

dnf groupinstall "Development Tools" -y

// vm-tool 설치 (Rocky Linux 공식 저장소에서 설치, ISO 방식이 아님)
sudo dnf install open-vm-tools open-vm-tools-desktop -y
</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>부분</th><th>의미</th><th>주의</th></tr></thead><tbody><tr><td><code>sudo</code></td><td>관리자 권한</td><td>필수!</td></tr><tr><td><code>dnf</code></td><td>Rocky Linux 패키지 매니저</td><td>Ubuntu는 <code>apt</code></td></tr><tr><td><code>groupinstall</code></td><td>패키지 <strong>그룹</strong> 설치</td><td><code>install</code>과 다름</td></tr><tr><td><code>"Development Tools"</code></td><td>그룹 이름</td><td><strong>따옴표 필수</strong></td></tr><tr><td><code>-y</code></td><td>Yes 자동 응답</td><td>사용자 입력 생략</td></tr></tbody></table></figure>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--40);margin-bottom:var(--wp--preset--spacing--40)"/>



<h3 class="wp-block-heading">설치 시간 및 용량</h3>



<ul class="wp-block-list">
<li><strong>예상 시간:</strong> 3-5분</li>



<li><strong>설치 크기:</strong> ~1GB</li>



<li><strong>필요 디스크:</strong> ~2GB</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20)"/>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">설치 결과</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">20260217 설치 결과는 Rocky Linux 버전 및 시간에 따라 다를 수 있습니다.

--------------

Installed:
  annobin-docs-12.99-1.el10.noarch                 annobin-plugin-gcc-12.99-1.el10.x86_64               asciidoc-10.2.0-12.el10.noarch                   autoconf-2.71-13.el10.noarch                                   
  automake-1.16.5-20.el10.noarch                   bison-3.8.2-9.el10.x86_64                            boost-atomic-1.83.0-5.el10.x86_64                boost-filesystem-1.83.0-5.el10.x86_64                          
  boost-regex-1.83.0-5.el10.x86_64                 boost-system-1.83.0-5.el10.x86_64                    boost-thread-1.83.0-5.el10.x86_64                byacc-2.0.20230521-7.el10.x86_64                               
  cmake-filesystem-3.30.5-3.el10_0.x86_64          cpp-14.3.1-2.1.el10.x86_64                           debugedit-5.1-8.el10.x86_64                      diffstat-1.66-3.el10.x86_64                                    
  docbook-dtds-1.0-92.el10.noarch                  docbook-style-xsl-1.79.2-30.el10.noarch              dwz-0.16-1.el10.x86_64                           dyninst-13.0.0-1.el10.x86_64                                   
  efi-srpm-macros-6-7.el10.noarch                  efivar-libs-39-3.el10.x86_64                         elfutils-0.193-1.el10.rocky.0.1.x86_64           elfutils-debuginfod-client-devel-0.193-1.el10.rocky.0.1.x86_64 
  elfutils-devel-0.193-1.el10.rocky.0.1.x86_64     elfutils-libelf-devel-0.193-1.el10.rocky.0.1.x86_64  flex-2.6.4-19.el10.x86_64                        fonts-srpm-macros-1:2.0.5-18.el10.noarch                       
  forge-srpm-macros-0.4.0-6.el10.noarch            gcc-14.3.1-2.1.el10.x86_64                           gcc-c++-14.3.1-2.1.el10.x86_64                   gcc-plugin-annobin-14.3.1-2.1.el10.x86_64                      
  gdb-16.3-2.el10.x86_64                           gdb-headless-16.3-2.el10.x86_64                      gettext-common-devel-0.22.5-6.el10.noarch        gettext-devel-0.22.5-6.el10.x86_64                             
  git-2.47.3-1.el10.x86_64                         git-core-2.47.3-1.el10.x86_64                        git-core-doc-2.47.3-1.el10.noarch                glibc-devel-2.39-58.el10_1.7.x86_64                            
  go-srpm-macros-3.6.0-4.el10.noarch               graphviz-9.0.0-15.el10.x86_64                        intltool-0.51.0-29.el10.noarch                   javapackages-filesystem-6.4.0-1.el10.noarch                    
  jna-5.14.0-7.el10.x86_64                         kernel-devel-6.12.0-124.35.1.el10_1.x86_64           kernel-headers-6.12.0-124.35.1.el10_1.x86_64     kernel-srpm-macros-1.0-26.el10.noarch                          
  libipt-2.1-5.el10.x86_64                         libstdc++-devel-14.3.1-2.1.el10.x86_64               libtool-2.4.7-13.el10.x86_64                     libxcrypt-devel-4.4.36-10.el10.x86_64                          
  libzstd-devel-1.5.5-9.el10.x86_64                ltrace-0.7.91-52.el10.x86_64                         lua-srpm-macros-1-15.el10.noarch                 m4-1.4.19-11.el10.x86_64                                       
  make-1:4.4.1-9.el10.x86_64                       mokutil-2:0.7.2-1.el10.x86_64                        nss-tools-3.112.0-4.el10_0.x86_64                ocaml-srpm-macros-10-4.el10.noarch                             
  openblas-srpm-macros-2-19.el10.noarch            openssl-devel-1:3.5.1-7.el10_1.x86_64                package-notes-srpm-macros-0.5-13.el10.noarch     patch-2.7.6-26.el10.x86_64                                     
  patchutils-0.4.2-15.el10.x86_64                  perl-Clone-0.46-10.el10.x86_64                       perl-Compress-Raw-Bzip2-2.212-512.el10.x86_64    perl-Compress-Raw-Zlib-2.212-513.el10_1.x86_64                 
  perl-Data-Dump-1.25-13.el10.noarch               perl-Digest-HMAC-1.04-12.el10.noarch                 perl-Digest-SHA-1:6.04-512.el10.x86_64           perl-Encode-Locale-1.05-31.el10.noarch                         
  perl-Error-1:0.17029-18.el10.noarch              perl-Fedora-VSP-0.001-36.el10.noarch                 perl-File-Compare-1.100.800-512.2.el10_0.noarch  perl-File-Copy-2.41-512.2.el10_0.noarch                        
  perl-File-Listing-6.16-5.el10.noarch             perl-Git-2.47.3-1.el10.noarch                        perl-HTML-Parser-3.82-3.el10.x86_64              perl-HTML-Tagset-3.20-59.el10.noarch                           
  perl-HTTP-Cookies-6.11-5.el10.noarch             perl-HTTP-Date-6.06-6.el10.noarch                    perl-HTTP-Message-6.45-5.el10.noarch             perl-HTTP-Negotiate-6.01-40.el10.noarch                        
  perl-I18N-Langinfo-0.24-512.2.el10_0.x86_64      perl-IO-Compress-2.212-512.el10.noarch               perl-IO-HTML-1.004-14.el10.noarch                perl-LWP-MediaTypes-6.04-19.el10.noarch                        
  perl-Module-Load-1:0.36-511.el10.noarch          perl-NTLM-1.09-41.el10.noarch                        perl-Net-HTTP-6.23-6.el10.noarch                 perl-TermReadKey-2.38-24.el10.x86_64                           
  perl-Thread-Queue-3.14-511.el10.noarch           perl-TimeDate-1:2.33-16.el10.noarch                  perl-Try-Tiny-0.31-12.el10.noarch                perl-WWW-RobotRules-6.02-41.el10.noarch                        
  perl-XML-Parser-2.47-6.el10.x86_64               perl-generators-1.16-7.el10.noarch                   perl-lib-0.65-512.2.el10_0.x86_64                perl-libwww-perl-6.76-3.el10.noarch                            
  perl-macros-4:5.40.2-512.2.el10_0.noarch         perl-srpm-macros-1-57.el10.noarch                    perl-subs-1.04-512.2.el10_0.noarch               perl-threads-1:2.40-511.el10.x86_64                            
  perl-threads-shared-1.69-511.el10.x86_64         perl-version-8:0.99.32-4.el10.x86_64                 pesign-116-6.el10.x86_64                         pyproject-srpm-macros-1.16.2-1.el10.noarch                     
  python-srpm-macros-3.12-10.el10.noarch           qt6-srpm-macros-6.9.1-1.el10.noarch                  redhat-rpm-config-293-1.el10.rocky.0.2.noarch    rpm-build-4.19.1.1-20.el10.x86_64                              
  rpm-sign-4.19.1.1-20.el10.x86_64                 rust-toolset-srpm-macros-1.88.0-1.el10.noarch        sgml-common-0.6.3-65.el10.noarch                 source-highlight-3.1.9-25.el10.x86_64                          
  systemd-rpm-macros-257-13.el10.rocky.0.1.noarch  systemtap-5.3-3b.el10.x86_64                         systemtap-client-5.3-3b.el10.x86_64              systemtap-devel-5.3-3b.el10.x86_64                             
  systemtap-runtime-5.3-3b.el10.x86_64             tbb-2021.11.0-7.el10.x86_64                          valgrind-1:3.25.1-3.el10.x86_64                  valgrind-devel-1:3.25.1-3.el10.x86_64                          
  valgrind-docs-1:3.25.1-3.el10.x86_64             valgrind-gdb-1:3.25.1-3.el10.x86_64                  valgrind-scripts-1:3.25.1-3.el10.x86_64          xz-devel-1:5.6.2-4.el10_0.x86_64                               
  zlib-ng-compat-devel-2.2.3-3.el10_1.x86_64       zstd-1.5.5-9.el10.x86_64                            

Complete!</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20)"/>



<h3 class="wp-block-heading">주요 설치 파일 (C/C++ 기준)</h3>



<h4 class="wp-block-heading">컴파일러 (Compiler)</h4>



<p>소스 코드(.c, .cpp) → 기계어 실행파일로 변환</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">gcc-14.3.1           → C 언어 컴파일러
gcc-c++-14.3.1       → C++ 언어 컴파일러</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">빌드 도구 (Build Tools)</h4>



<p>컴파일러 옵션 자동 설정 / 복잡한 빌드 과정 자동화 / 어떤 파일을 먼저 컴파일할지 관리 등&#8230;</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">make-4.4.1           → 자동 빌드 관리
autoconf-2.71        → 자동 설정 생성
automake-1.16.5      → Makefile 자동 생성</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">커널 개발 패키지 (Kernel Development)</h4>



<p><strong>역할:</strong> 커널과 상호작용하는 모듈 작성 가능</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">kernel-devel-6.12.0-124.35.1
kernel-headers-6.12.0-124.35.1
-----------------------------------------------
설치 명령어
sudo dnf install kernel-devel kernel-headers -y </pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">라이브러리 개발 패키지 (Library Development)</h4>



<p><strong>역할:</strong> 컴파일된 코드를 실행 가능 파일로 연결 (링킹)</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">glibc-devel-2.39           → C 표준 라이브러리
libstdc++-devel-14.3.1     → C++ 표준 라이브러리
-----------------------------------------------
모든 C/C++ 프로그램의 기본 함수 제공
printf(), malloc() 등의 함수 구현</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">추가 개발 도구</h4>



<p>Git: 소스 코드 변경 이력 관리, GDB: 프로그램 실행 중 오류 추적, libtool: 공유 라이브러리(.so) 빌드</p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">git-2.47.3           → 소스 코드 버전 관리
gdb-16.3             → 프로그램 디버거
libtool-2.4.7        → 라이브러리 빌드 도구</pre>



<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" style="margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50)"/>



<h3 class="wp-block-heading">참고 및 주의사항</h3>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">groupinstall vs install</h4>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/274c.png" alt="❌" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 잘못된 방법 (의존성 부족 가능)
sudo dnf install gcc

# <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> 올바른 방법 (모든 관련 도구 자동 설치)
sudo dnf groupinstall "Development Tools" -y</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">설치 확인</h4>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 컴파일러 확인
gcc --version

# Make 확인
make --version

# 커널 헤더 확인
ls /usr/src/kernels/</pre>



<div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">오류 발생 시</h4>



<p><strong>네트워크 오류:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo dnf clean all
sudo dnf groupinstall "Development Tools" -y</pre>



<p><strong>의존성 충돌:</strong></p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo dnf groupinstall "Development Tools" --allowerasing -y</pre>



<p></p>
<p>The post <a href="https://lycos7560.com/etc/linux-development-tools-install/40476/">Linux Development Tools Install</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/etc/linux-development-tools-install/40476/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Quota (쿼터)</title>
		<link>https://lycos7560.com/ubuntu/quota-%ec%bf%bc%ed%84%b0/39116/</link>
					<comments>https://lycos7560.com/ubuntu/quota-%ec%bf%bc%ed%84%b0/39116/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Fri, 06 Dec 2024 12:21:16 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Add User]]></category>
		<category><![CDATA[adduser]]></category>
		<category><![CDATA[Auto Mount]]></category>
		<category><![CDATA[Create Partition]]></category>
		<category><![CDATA[Create Test File]]></category>
		<category><![CDATA[daemon reload]]></category>
		<category><![CDATA[Disk Limitation]]></category>
		<category><![CDATA[Disk Management]]></category>
		<category><![CDATA[Disk Space Limit]]></category>
		<category><![CDATA[Disk Space Management]]></category>
		<category><![CDATA[Disk Space Monitoring]]></category>
		<category><![CDATA[Disk Space Optimization]]></category>
		<category><![CDATA[Disk Usage Limit]]></category>
		<category><![CDATA[edquota]]></category>
		<category><![CDATA[Enforcement Action]]></category>
		<category><![CDATA[fallocate]]></category>
		<category><![CDATA[File Count Limit]]></category>
		<category><![CDATA[File System]]></category>
		<category><![CDATA[File System Creation]]></category>
		<category><![CDATA[File System Format]]></category>
		<category><![CDATA[Grace Period]]></category>
		<category><![CDATA[Group Quota]]></category>
		<category><![CDATA[Group Quota Setup]]></category>
		<category><![CDATA[Hard Limit]]></category>
		<category><![CDATA[Inode]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mkfs.ext4]]></category>
		<category><![CDATA[Mount Folder]]></category>
		<category><![CDATA[Package Installation]]></category>
		<category><![CDATA[Quota]]></category>
		<category><![CDATA[Quota Package]]></category>
		<category><![CDATA[Quota 패키지]]></category>
		<category><![CDATA[quotaon]]></category>
		<category><![CDATA[repquota]]></category>
		<category><![CDATA[Soft Limit]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[system performance]]></category>
		<category><![CDATA[tune2fs]]></category>
		<category><![CDATA[User Home Directory]]></category>
		<category><![CDATA[User Quota]]></category>
		<category><![CDATA[User Quota Setup]]></category>
		<category><![CDATA[Warning Message]]></category>
		<category><![CDATA[Warning System]]></category>
		<category><![CDATA[강제 조치]]></category>
		<category><![CDATA[경고 메시지]]></category>
		<category><![CDATA[경고 시스템]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[그레이스 기간]]></category>
		<category><![CDATA[그룹 제한]]></category>
		<category><![CDATA[그룹 쿼터 설정]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[디스크 공간 관리]]></category>
		<category><![CDATA[디스크 공간 모니터링]]></category>
		<category><![CDATA[디스크 공간 최적화]]></category>
		<category><![CDATA[디스크 관리]]></category>
		<category><![CDATA[디스크 사용량 제한]]></category>
		<category><![CDATA[디스크 용량 제한]]></category>
		<category><![CDATA[디스크 제한]]></category>
		<category><![CDATA[리눅스]]></category>
		<category><![CDATA[사용자 제한]]></category>
		<category><![CDATA[사용자 추가]]></category>
		<category><![CDATA[사용자 쿼터 설정]]></category>
		<category><![CDATA[사용자 홈 디렉토리]]></category>
		<category><![CDATA[소프트 한도]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[시스템 성능]]></category>
		<category><![CDATA[우분투]]></category>
		<category><![CDATA[인오드]]></category>
		<category><![CDATA[자동 마운트]]></category>
		<category><![CDATA[쿼터]]></category>
		<category><![CDATA[테스트 파일 생성]]></category>
		<category><![CDATA[파일 개수 제한]]></category>
		<category><![CDATA[파일 시스템]]></category>
		<category><![CDATA[파일 시스템 생성]]></category>
		<category><![CDATA[파일 시스템 포맷]]></category>
		<category><![CDATA[파티션 생성]]></category>
		<category><![CDATA[패키지 설치]]></category>
		<category><![CDATA[폴더 마운트]]></category>
		<category><![CDATA[하드 한도]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=39116</guid>

					<description><![CDATA[<p>Quota (쿼터) 리눅스에서 쿼터(Quota)는 사용자 또는 그룹이 사용할 수 있는 디스크 공간 및 파일 개수를 제한하는 시스템 관리 도구 디스크 자원을 효율적으로 관리하고, 특정 사용자가 시스템 디스크 자원을 과도하게 사용하는 것을 방지 파일 시스템을 &#8220;/&#8221; (root) 로 지정하는 것보다는, 별도의 파일시스템을 지정해서 해당 부분을 쓰도록 하는 것이 좋음 &#8220;/&#8221; (root)을 동시에 여러 사용자가 사용하게되면, 우분투 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/ubuntu/quota-%ec%bf%bc%ed%84%b0/39116/">Quota (쿼터)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-1c50404f      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#quota-쿼터" class="uagb-toc-link__trigger">Quota (쿼터)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#quota-기능" class="uagb-toc-link__trigger">Quota 기능</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#quota-개념" class="uagb-toc-link__trigger">Quota 개념</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#quota-실습" class="uagb-toc-link__trigger">Quota 실습</a></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">Quota (쿼터)</h2>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p>리눅스에서 <strong>쿼터(Quota)</strong>는 사용자 또는 그룹이 사용할 수 있는 디스크 공간 및 파일 개수를 제한하는 시스템 관리 도구</p>



<p>디스크 자원을 효율적으로 관리하고, 특정 사용자가 시스템 디스크 자원을 과도하게 사용하는 것을 방지</p>



<p>파일 시스템을 &#8220;/&#8221; (root) 로 지정하는 것보다는, 별도의 파일시스템을 지정해서 해당 부분을 쓰도록 하는 것이 좋음</p>



<p> &#8220;/&#8221; (root)을 동시에 여러 사용자가 사용하게되면, 우분투 서버를 운영하기 위해서 </p>



<p>디스크를 읽고 쓰는 작업과 일반 사용자가 디스크를 읽고 쓰는 작업이 동시에 발생하므로 전반적으로 시스템의 성능이 저하됨</p>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Quota</strong> <strong>기능</strong></h3>



<ol class="wp-block-list">
<li><strong>디스크 용량 제한</strong>
<ul class="wp-block-list">
<li>사용자별 또는 그룹별 디스크 사용량 제한 설정</li>
</ul>
</li>



<li><strong>파일 개수 제한</strong>
<ul class="wp-block-list">
<li>사용자가 생성할 수 있는 파일(인오드)의 최대 개수 제한</li>
</ul>
</li>



<li><strong>경고 및 강제 조치</strong>
<ul class="wp-block-list">
<li>사용량이 한도를 초과하면 경고 메시지 출력</li>



<li>설정에 따라 일정 시간을 초과하면 파일 생성/쓰기 제한</li>
</ul>
</li>
</ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>Quota 개념</strong></h3>



<ol class="wp-block-list">
<li><strong>하드 한도 (Hard Limit)</strong>
<ul class="wp-block-list">
<li>사용자가 절대 초과할 수 없는 디스크 용량이나 파일 개수 한도</li>
</ul>
</li>



<li><strong>소프트 한도 (Soft Limit)</strong>
<ul class="wp-block-list">
<li>사용자가 초과할 수 있지만, 제한된 기간(그레이스 기간) 동안만 허용되는 한도</li>
</ul>
</li>



<li><strong>그레이스 기간 (Grace Period)</strong>
<ul class="wp-block-list">
<li>소프트 한도를 초과했을 때, 허용되는 유예 기간</li>



<li>유예 기간 내에 사용량을 줄이지 않으면 하드 한도가 적용됨</li>
</ul>
</li>
</ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">Quota 실습</h3>



<p class="wp-embed-aspect-16-9 wp-has-aspect-ratio"><a href="https://www.youtube.com/watch?v=vOzw5usBw4M&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=41" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=vOzw5usBw4M&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=41</a></p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1157" height="637" src="https://lycos7560.com/wp-content/uploads/2024/12/image-188.png" alt="" class="wp-image-39118" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-188.png 1157w, https://lycos7560.com/wp-content/uploads/2024/12/image-188-300x165.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-188-768x423.png 768w" sizes="(max-width: 1157px) 100vw, 1157px" /><figcaption class="wp-element-caption">10GB 가상의 디스크로 실습0GB 가상의 디스크로 실습</figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 파티션 생성
fdisk /dev/sdb

# 파일시스템 생성 및 포맷
mkfs.ext4 /dev/sdb1
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="888" height="887" src="https://lycos7560.com/wp-content/uploads/2024/12/image-189.png" alt="" class="wp-image-39119" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-189.png 888w, https://lycos7560.com/wp-content/uploads/2024/12/image-189-300x300.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-189-150x150.png 150w, https://lycos7560.com/wp-content/uploads/2024/12/image-189-768x767.png 768w" sizes="(max-width: 888px) 100vw, 888px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1036" height="281" src="https://lycos7560.com/wp-content/uploads/2024/12/image-190.png" alt="" class="wp-image-39120" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-190.png 1036w, https://lycos7560.com/wp-content/uploads/2024/12/image-190-300x81.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-190-768x208.png 768w" sizes="(max-width: 1036px) 100vw, 1036px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 사용자의 홈 폴더를 이곳으로 설정
# 폴더 생성 후 마운트
mkdir /userHome

# 재부팅 후 자동 마운트 등록
gedit /etc/fstab

/dev/sdb1 /userhome ext4 defaults 0 0 

# daemon reload
systemctl daemon-reload</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1193" height="515" src="https://lycos7560.com/wp-content/uploads/2024/12/image-191.png" alt="" class="wp-image-39121" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-191.png 1193w, https://lycos7560.com/wp-content/uploads/2024/12/image-191-300x130.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-191-768x332.png 768w" sizes="(max-width: 1193px) 100vw, 1193px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# sdb1을 quota로 사용 준비
tune2fs -O quota /dev/sdb1</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="845" height="219" src="https://lycos7560.com/wp-content/uploads/2024/12/image-192.png" alt="" class="wp-image-39122" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-192.png 845w, https://lycos7560.com/wp-content/uploads/2024/12/image-192-300x78.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-192-768x199.png 768w" sizes="(max-width: 845px) 100vw, 845px" /><figcaption class="wp-element-caption">마운트 전에 실행해야함</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="746" height="179" src="https://lycos7560.com/wp-content/uploads/2024/12/image-196.png" alt="" class="wp-image-39126" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-196.png 746w, https://lycos7560.com/wp-content/uploads/2024/12/image-196-300x72.png 300w" sizes="(max-width: 746px) 100vw, 746px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 사용자 추가 karina, winter
adduser --home /userHome/karina karina
adduser --home /userHome/winter winter</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="864" height="965" src="https://lycos7560.com/wp-content/uploads/2024/12/image-193.png" alt="" class="wp-image-39123" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-193.png 864w, https://lycos7560.com/wp-content/uploads/2024/12/image-193-269x300.png 269w, https://lycos7560.com/wp-content/uploads/2024/12/image-193-768x858.png 768w" sizes="(max-width: 864px) 100vw, 864px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="628" height="193" src="https://lycos7560.com/wp-content/uploads/2024/12/image-194.png" alt="" class="wp-image-39124" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-194.png 628w, https://lycos7560.com/wp-content/uploads/2024/12/image-194-300x92.png 300w" sizes="(max-width: 628px) 100vw, 628px" /><figcaption class="wp-element-caption">개인 폴더가 생성됨</figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
#  quota 패키지 설치
sudo apt update
sudo apt install quota
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="937" height="439" src="https://lycos7560.com/wp-content/uploads/2024/12/image-195.png" alt="" class="wp-image-39125" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-195.png 937w, https://lycos7560.com/wp-content/uploads/2024/12/image-195-300x141.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-195-768x360.png 768w" sizes="(max-width: 937px) 100vw, 937px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# quota 시작 
quotaon -va
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="874" height="184" src="https://lycos7560.com/wp-content/uploads/2024/12/image-197.png" alt="" class="wp-image-39127" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-197.png 874w, https://lycos7560.com/wp-content/uploads/2024/12/image-197-300x63.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-197-768x162.png 768w" sizes="(max-width: 874px) 100vw, 874px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# karina / soft 한도 40MB / Hard 한도 50MB 
edquota -u karina</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1202" height="326" src="https://lycos7560.com/wp-content/uploads/2024/12/image-198.png" alt="" class="wp-image-39128" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-198.png 1202w, https://lycos7560.com/wp-content/uploads/2024/12/image-198-300x81.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-198-768x208.png 768w" sizes="(max-width: 1202px) 100vw, 1202px" /><figcaption class="wp-element-caption">ctrl + x 로 저장</figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# karina에서 확인
su - karina 

# 테스트용 더미 파일 생성
fallocate -l 10M /userHome/karina/dummyfile.txt</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="811" height="593" src="https://lycos7560.com/wp-content/uploads/2024/12/image-199.png" alt="" class="wp-image-39129" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-199.png 811w, https://lycos7560.com/wp-content/uploads/2024/12/image-199-300x219.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-199-768x562.png 768w" sizes="(max-width: 811px) 100vw, 811px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# quota 명령어로 확인 가능
quota
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1036" height="131" src="https://lycos7560.com/wp-content/uploads/2024/12/image-200.png" alt="" class="wp-image-39130" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-200.png 1036w, https://lycos7560.com/wp-content/uploads/2024/12/image-200-300x38.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-200-768x97.png 768w" sizes="(max-width: 1036px) 100vw, 1036px" /><figcaption class="wp-element-caption">약 6일 정도 후에 Soft로 인하여 손상될 수 있음</figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# root
su root

# quota 확인
repquota /userHome/</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="609" height="269" src="https://lycos7560.com/wp-content/uploads/2024/12/image-201.png" alt="" class="wp-image-39131" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-201.png 609w, https://lycos7560.com/wp-content/uploads/2024/12/image-201-300x133.png 300w" sizes="(max-width: 609px) 100vw, 609px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># karina의 기준은 winter 에게 적용
edquota -p karina winter

# quota 확인
repquota /userHome/</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="866" height="546" src="https://lycos7560.com/wp-content/uploads/2024/12/image-202.png" alt="" class="wp-image-39132" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-202.png 866w, https://lycos7560.com/wp-content/uploads/2024/12/image-202-300x189.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-202-768x484.png 768w" sizes="(max-width: 866px) 100vw, 866px" /></figure>
<p>The post <a href="https://lycos7560.com/ubuntu/quota-%ec%bf%bc%ed%84%b0/39116/">Quota (쿼터)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/quota-%ec%bf%bc%ed%84%b0/39116/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu &#8211; LVM (Logical Volume Manager)</title>
		<link>https://lycos7560.com/ubuntu/ubuntu-lvm-logical-volume-manager/39098/</link>
					<comments>https://lycos7560.com/ubuntu/ubuntu-lvm-logical-volume-manager/39098/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Fri, 06 Dec 2024 08:34:07 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Add Disk]]></category>
		<category><![CDATA[Auto Mount on Reboot]]></category>
		<category><![CDATA[Create Snapshot]]></category>
		<category><![CDATA[Data Backup]]></category>
		<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Data Redundancy]]></category>
		<category><![CDATA[Disk Capacity Management]]></category>
		<category><![CDATA[Disk Expansion]]></category>
		<category><![CDATA[Disk Integration]]></category>
		<category><![CDATA[Disk Management]]></category>
		<category><![CDATA[Disk Partition]]></category>
		<category><![CDATA[Disk Reduction]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[fdisk 명령어]]></category>
		<category><![CDATA[File System]]></category>
		<category><![CDATA[File System Format]]></category>
		<category><![CDATA[Flexible Disk Management]]></category>
		<category><![CDATA[initramfs]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Logical Disk]]></category>
		<category><![CDATA[Logical Volume]]></category>
		<category><![CDATA[Logical Volume Manager]]></category>
		<category><![CDATA[LV]]></category>
		<category><![CDATA[lvcreate]]></category>
		<category><![CDATA[lvdisplay]]></category>
		<category><![CDATA[LVM]]></category>
		<category><![CDATA[LVM Configuration]]></category>
		<category><![CDATA[LVM Practice]]></category>
		<category><![CDATA[LVM 설정]]></category>
		<category><![CDATA[LVM 실습]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[Performance Overhead]]></category>
		<category><![CDATA[Physical Disk]]></category>
		<category><![CDATA[Physical Volume]]></category>
		<category><![CDATA[PV]]></category>
		<category><![CDATA[pvcreate]]></category>
		<category><![CDATA[Remove Disk]]></category>
		<category><![CDATA[Snapshot]]></category>
		<category><![CDATA[Software RAID]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[VG]]></category>
		<category><![CDATA[vgcreate]]></category>
		<category><![CDATA[vgdisplay]]></category>
		<category><![CDATA[Volume Group]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[논리 볼륨]]></category>
		<category><![CDATA[논리적 디스크]]></category>
		<category><![CDATA[데이터 백업]]></category>
		<category><![CDATA[데이터 복구]]></category>
		<category><![CDATA[데이터 중복성]]></category>
		<category><![CDATA[디스크 관리]]></category>
		<category><![CDATA[디스크 용량 관리]]></category>
		<category><![CDATA[디스크 제거]]></category>
		<category><![CDATA[디스크 추가]]></category>
		<category><![CDATA[디스크 축소]]></category>
		<category><![CDATA[디스크 통합]]></category>
		<category><![CDATA[디스크 파티션]]></category>
		<category><![CDATA[디스크 확장]]></category>
		<category><![CDATA[리눅스]]></category>
		<category><![CDATA[마운트]]></category>
		<category><![CDATA[물리적 디스크]]></category>
		<category><![CDATA[물리적 볼륨]]></category>
		<category><![CDATA[볼륨 그룹]]></category>
		<category><![CDATA[성능 오버헤드]]></category>
		<category><![CDATA[소프트웨어 RAID]]></category>
		<category><![CDATA[스냅샷]]></category>
		<category><![CDATA[스냅샷 생성]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[유연한 디스크 관리]]></category>
		<category><![CDATA[재부팅 자동 마운트]]></category>
		<category><![CDATA[파일 시스템]]></category>
		<category><![CDATA[파일 시스템 포맷]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=39098</guid>

					<description><![CDATA[<p>LVM (Logical Volume Manager) LVM은 리눅스 환경에서 유연하고 효율적인 디스크 관리 기능을 제공하는 논리 볼륨 관리 시스템 디스크 공간을 논리적으로 관리하고 확장하거나 축소할 수 있으며, 물리적인 디스크 파티션에 의존하지 않고도 유연한 디스크 관리를 가능하게 함 LVM 주요 개념 3가지 1. Physical Volume (PV) 실제 물리적 디스크 또는 디스크의 파티션 예: /dev/sda1, /dev/sdb1 pvcreate 명령으로 생성 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-lvm-logical-volume-manager/39098/">Ubuntu &#8211; LVM (Logical Volume Manager)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-17d701fc      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#lvm-logical-volume-manager" class="uagb-toc-link__trigger">LVM (Logical Volume Manager)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#lvm-주요-개념-3가지" class="uagb-toc-link__trigger">LVM 주요 개념 3가지</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#1-physical-volume-pv" class="uagb-toc-link__trigger">1. Physical Volume (PV)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#2-volume-group-vg" class="uagb-toc-link__trigger">2. Volume Group (VG)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#3-logical-volume-lv" class="uagb-toc-link__trigger">3. Logical Volume (LV)</a></li></ul><li class="uagb-toc__list"><a href="#lvm-주요-기능" class="uagb-toc-link__trigger">LVM 주요 기능</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#lvm-장점" class="uagb-toc-link__trigger">LVM 장점</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#lvm-단점" class="uagb-toc-link__trigger">LVM 단점</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#lvm-실습" class="uagb-toc-link__trigger">LVM 실습</a></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">LVM (Logical Volume Manager)</h3>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p>LVM은 리눅스 환경에서 유연하고 효율적인 디스크 관리 기능을 제공하는 <strong>논리 볼륨 관리 시스템</strong></p>



<p>디스크 공간을 논리적으로 관리하고 확장하거나 축소할 수 있으며, 물리적인 디스크 파티션에 의존하지 않고도 <strong>유연한 디스크 관리</strong>를 가능하게 함</p>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">LVM 주요 개념 3가지</h4>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h5 class="wp-block-heading">1. Physical Volume (PV)</h5>



<p>실제 물리적 디스크 또는 디스크의 파티션</p>



<p>예: <code>/dev/sda1</code>, <code>/dev/sdb1</code></p>



<p><code>pvcreate</code> 명령으로 생성</p>



<h5 class="wp-block-heading">2. Volume Group (VG)</h5>



<p>여러 PV를 묶어 하나의 <strong>논리적 디스크 풀(pool)</strong>로 만듭니다.</p>



<p>VG는 디스크의 <strong>물리적 경계를 초월하여 디스크를 통합 관리</strong>할 수 있게 합니다.</p>



<p>예: <code>vgcreate my_vg /dev/sda1 /dev/sdb1</code></p>



<h5 class="wp-block-heading">3. Logical Volume (LV)</h5>



<p>VG에서 원하는 크기의 <strong>논리 디스크를 할당하여 생성한 가상의 디스크</strong>입니다.</p>



<p><strong>일반 파일 시스템처럼 마운트</strong>하여 사용합니다.</p>



<p>LV는 필요에 따라 크기를 <strong>동적으로 조정</strong>할 수 있습니다.</p>



<p>예: <code>lvcreate -L 20G -n my_lv my_vg</code></p>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">LVM 주요 기능</h4>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<ol class="wp-block-list">
<li><strong>유연한 디스크 관리</strong>
<ul class="wp-block-list">
<li>디스크 추가/제거가 간단하며, 운영 중에도 가능</li>



<li>파티션 크기 조정이 자유로움.</li>
</ul>
</li>



<li><strong>디스크 공간 통합</strong>
<ul class="wp-block-list">
<li>여러 디스크를 하나의 Volume Group으로 통합하여 사용할 수 있음</li>
</ul>
</li>



<li><strong>스냅샷 기능</strong>
<ul class="wp-block-list">
<li>현재 상태의 복사본(Snapshot)을 생성하여 백업이나 테스트에 사용</li>
</ul>
</li>



<li><strong>디스크 확장/축소</strong>
<ul class="wp-block-list">
<li>LV와 VG의 크기를 유동적으로 조정 가능</li>
</ul>
</li>



<li><strong>RAID 기능 지원</strong>
<ul class="wp-block-list">
<li>LVM은 소프트웨어 RAID와 함께 사용하여 데이터 중복성을 제공할 수 있음</li>
</ul>
</li>
</ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading"><strong>LVM 장점</strong></h4>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<ul class="wp-block-list">
<li>디스크 크기 및 배치 유연성</li>



<li>디스크 추가 및 제거가 쉬움</li>



<li>파일 시스템 확장/축소가 가능</li>



<li>스냅샷으로 데이터 백업 및 복구 용이</li>
</ul>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading"><strong>LVM 단점</strong></h4>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<ul class="wp-block-list">
<li>설정이 일반 파티션보다 복잡</li>



<li>추가 추상화 계층으로 인해 성능 오버헤드 발생 가능</li>



<li>설정 오류 시 데이터 복구가 더 어려울 수 있음</li>
</ul>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">LVM 실습</h4>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="619" height="402" src="https://lycos7560.com/wp-content/uploads/2024/12/image-173.png" alt="" class="wp-image-39099" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-173.png 619w, https://lycos7560.com/wp-content/uploads/2024/12/image-173-300x195.png 300w" sizes="(max-width: 619px) 100vw, 619px" /><figcaption class="wp-element-caption">LVM 구성 실습 목표 (1)<br><a href="https://www.youtube.com/watch?v=IHWpSXPXb6k&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=40" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=IHWpSXPXb6k&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=40</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1063" height="779" src="https://lycos7560.com/wp-content/uploads/2024/12/image-175.png" alt="" class="wp-image-39101" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-175.png 1063w, https://lycos7560.com/wp-content/uploads/2024/12/image-175-300x220.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-175-768x563.png 768w" sizes="(max-width: 1063px) 100vw, 1063px" /><figcaption class="wp-element-caption">실습 가상하드 준비 2GB, 3GB</figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="691" height="352" src="https://lycos7560.com/wp-content/uploads/2024/12/image-174.png" alt="" class="wp-image-39100" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-174.png 691w, https://lycos7560.com/wp-content/uploads/2024/12/image-174-300x153.png 300w" sizes="(max-width: 691px) 100vw, 691px" /><figcaption class="wp-element-caption">LVM 구성 실습 목표 (2)<br><a href="https://www.youtube.com/watch?v=IHWpSXPXb6k&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=40" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=IHWpSXPXb6k&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=40</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# lvm2 패키지 다운로드
sudo apt update
sudo apt -y install lvm2
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1199" height="754" src="https://lycos7560.com/wp-content/uploads/2024/12/image-176.png" alt="" class="wp-image-39102" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-176.png 1199w, https://lycos7560.com/wp-content/uploads/2024/12/image-176-300x189.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-176-768x483.png 768w" sizes="(max-width: 1199px) 100vw, 1199px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed is-type-wp-embed"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="bNSeeZdmjn"><a href="https://lycos7560.com/ubuntu/fdisk-type-help/39077/">fdisk type, help</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;fdisk type, help&#8221; &#8212; 어제와 내일의 나 그 사이의 이야기" src="https://lycos7560.com/ubuntu/fdisk-type-help/39077/embed/#?secret=QtYiCfqndP#?secret=bNSeeZdmjn" data-secret="bNSeeZdmjn" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
ls -a /dev/sd*

# Linux LVM 타입으로 파티션 생성
fdisk /dev/sdb
fdisk /dev/sdc</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="972" height="662" src="https://lycos7560.com/wp-content/uploads/2024/12/image-177.png" alt="" class="wp-image-39103" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-177.png 972w, https://lycos7560.com/wp-content/uploads/2024/12/image-177-300x204.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-177-768x523.png 768w" sizes="(max-width: 972px) 100vw, 972px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="964" height="743" src="https://lycos7560.com/wp-content/uploads/2024/12/image-178.png" alt="" class="wp-image-39105" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-178.png 964w, https://lycos7560.com/wp-content/uploads/2024/12/image-178-300x231.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-178-768x592.png 768w" sizes="(max-width: 964px) 100vw, 964px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 물리 볼륨으로 변경
pvcreate /dev/sdb1
pvcreate /dev/sdc1

# 볼륨 "myVG" 그룹 생성
vgcreate "myVG" /dev/sdb1 /dev/sdc1

# 볼륨 확인 
vgdisplay</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1007" height="212" src="https://lycos7560.com/wp-content/uploads/2024/12/image-179.png" alt="" class="wp-image-39106" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-179.png 1007w, https://lycos7560.com/wp-content/uploads/2024/12/image-179-300x63.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-179-768x162.png 768w" sizes="(max-width: 1007px) 100vw, 1007px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="918" height="177" src="https://lycos7560.com/wp-content/uploads/2024/12/image-180.png" alt="" class="wp-image-39107" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-180.png 918w, https://lycos7560.com/wp-content/uploads/2024/12/image-180-300x58.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-180-768x148.png 768w" sizes="(max-width: 918px) 100vw, 918px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="665" height="440" src="https://lycos7560.com/wp-content/uploads/2024/12/image-181.png" alt="" class="wp-image-39108" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-181.png 665w, https://lycos7560.com/wp-content/uploads/2024/12/image-181-300x198.png 300w" sizes="(max-width: 665px) 100vw, 665px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Logical Volume 1G, 3G, 1G 설정
lvcreate --size 1G --name myLG1 myVG
lvcreate --size 3G --name myLG2 myVG

# 저장 공간이 정확하게 떨어지지 않을 수 있기 때문에 나머지를 전부 사용하는 방법(extents)으로 함
lvcreate --extents 100%FREE --name myLG3 myVG 

# 확인
lvdisplay 

# 확인
ls -l /dev/myVG</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="861" height="185" src="https://lycos7560.com/wp-content/uploads/2024/12/image-182.png" alt="" class="wp-image-39109" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-182.png 861w, https://lycos7560.com/wp-content/uploads/2024/12/image-182-300x64.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-182-768x165.png 768w" sizes="(max-width: 861px) 100vw, 861px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1168" height="941" src="https://lycos7560.com/wp-content/uploads/2024/12/image-183.png" alt="" class="wp-image-39110" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-183.png 1168w, https://lycos7560.com/wp-content/uploads/2024/12/image-183-300x242.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-183-768x619.png 768w" sizes="(max-width: 1168px) 100vw, 1168px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="856" height="126" src="https://lycos7560.com/wp-content/uploads/2024/12/image-184.png" alt="" class="wp-image-39111" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-184.png 856w, https://lycos7560.com/wp-content/uploads/2024/12/image-184-300x44.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-184-768x113.png 768w" sizes="(max-width: 856px) 100vw, 856px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># file system 생성 및 포맷
mkfs.ext4 /dev/myVG/myLG1
mkfs.ext4 /dev/myVG/myLG2
mkfs.ext4 /dev/myVG/myLG3

# 마운트 작업
mkdir /lvm1 /lvm2 /lvm3
mount /dev/myVG/myLG1 /lvm1
mount /dev/myVG/myLG2 /lvm2
mount /dev/myVG/myLG3 /lvm3

# 재부팅 자동 마운트 등
gedit /etc/fstab

/dev/myVG/myLG1 /lvm1 ext4 defaults 0 0
/dev/myVG/myLG2 /lvm2 ext4 defaults 0 0
/dev/myVG/myLG3 /lvm3 ext4 defaults 0 0</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1070" height="670" src="https://lycos7560.com/wp-content/uploads/2024/12/image-185.png" alt="" class="wp-image-39112" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-185.png 1070w, https://lycos7560.com/wp-content/uploads/2024/12/image-185-300x188.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-185-768x481.png 768w" sizes="(max-width: 1070px) 100vw, 1070px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1201" height="531" src="https://lycos7560.com/wp-content/uploads/2024/12/image-186.png" alt="" class="wp-image-39113" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-186.png 1201w, https://lycos7560.com/wp-content/uploads/2024/12/image-186-300x133.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-186-768x340.png 768w" sizes="(max-width: 1201px) 100vw, 1201px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="504" height="194" src="https://lycos7560.com/wp-content/uploads/2024/12/image-187.png" alt="" class="wp-image-39114" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-187.png 504w, https://lycos7560.com/wp-content/uploads/2024/12/image-187-300x115.png 300w" sizes="(max-width: 504px) 100vw, 504px" /></figure>



<p></p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-lvm-logical-volume-manager/39098/">Ubuntu &#8211; LVM (Logical Volume Manager)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/ubuntu-lvm-logical-volume-manager/39098/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>RAID 6, RAID 10(1+0)</title>
		<link>https://lycos7560.com/ubuntu/raid-6-raid-1010/39072/</link>
					<comments>https://lycos7560.com/ubuntu/raid-6-raid-1010/39072/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Fri, 06 Dec 2024 07:22:11 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[/etc/fstab]]></category>
		<category><![CDATA[Auto Mount]]></category>
		<category><![CDATA[Boot Recognition]]></category>
		<category><![CDATA[Data Protection]]></category>
		<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Data Stability]]></category>
		<category><![CDATA[Data Striping]]></category>
		<category><![CDATA[Disk Failure]]></category>
		<category><![CDATA[Disk Management]]></category>
		<category><![CDATA[Disk Space Efficiency]]></category>
		<category><![CDATA[Dual Parity]]></category>
		<category><![CDATA[ext4]]></category>
		<category><![CDATA[File System]]></category>
		<category><![CDATA[File System Creation]]></category>
		<category><![CDATA[File System Format]]></category>
		<category><![CDATA[fstab Configuration]]></category>
		<category><![CDATA[fstab 설정]]></category>
		<category><![CDATA[high performance]]></category>
		<category><![CDATA[High Stability]]></category>
		<category><![CDATA[initramfs 업데이트]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[Mirroring]]></category>
		<category><![CDATA[Online Resources]]></category>
		<category><![CDATA[Parallel Storage]]></category>
		<category><![CDATA[Parity]]></category>
		<category><![CDATA[Performance Degradation]]></category>
		<category><![CDATA[RAID 10]]></category>
		<category><![CDATA[RAID 5]]></category>
		<category><![CDATA[RAID 6]]></category>
		<category><![CDATA[RAID Array]]></category>
		<category><![CDATA[RAID Configuration]]></category>
		<category><![CDATA[RAID Implementation]]></category>
		<category><![CDATA[RAID Level]]></category>
		<category><![CDATA[RAID Practice]]></category>
		<category><![CDATA[RAID 구현]]></category>
		<category><![CDATA[RAID 레벨]]></category>
		<category><![CDATA[RAID 배열]]></category>
		<category><![CDATA[RAID 설정]]></category>
		<category><![CDATA[RAID 실습]]></category>
		<category><![CDATA[Read Performance]]></category>
		<category><![CDATA[Recovery Time]]></category>
		<category><![CDATA[Scalability]]></category>
		<category><![CDATA[Software RAID]]></category>
		<category><![CDATA[Storage Efficiency]]></category>
		<category><![CDATA[Striping]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Tutorial Video]]></category>
		<category><![CDATA[Update initramfs]]></category>
		<category><![CDATA[Write Performance]]></category>
		<category><![CDATA[고성능]]></category>
		<category><![CDATA[고안정성]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[데이터 보호]]></category>
		<category><![CDATA[데이터 복구]]></category>
		<category><![CDATA[데이터 스트라이핑]]></category>
		<category><![CDATA[데이터 안정성]]></category>
		<category><![CDATA[두 개의 패리티]]></category>
		<category><![CDATA[디스크 관리]]></category>
		<category><![CDATA[디스크 손상]]></category>
		<category><![CDATA[디스크 용량 효율]]></category>
		<category><![CDATA[레이드 10]]></category>
		<category><![CDATA[레이드 5]]></category>
		<category><![CDATA[레이드 6]]></category>
		<category><![CDATA[미러링]]></category>
		<category><![CDATA[병렬 저장]]></category>
		<category><![CDATA[복구 시간]]></category>
		<category><![CDATA[부팅 시 인식]]></category>
		<category><![CDATA[성능 저하]]></category>
		<category><![CDATA[소프트웨어 RAID]]></category>
		<category><![CDATA[스트라이핑]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[실습 동영상]]></category>
		<category><![CDATA[쓰기 성능]]></category>
		<category><![CDATA[온라인 자료]]></category>
		<category><![CDATA[읽기 성능]]></category>
		<category><![CDATA[자동 마운트]]></category>
		<category><![CDATA[저장 공간 효율]]></category>
		<category><![CDATA[파일 시스템]]></category>
		<category><![CDATA[파일 시스템 생성]]></category>
		<category><![CDATA[파일 시스템 포맷]]></category>
		<category><![CDATA[패리티]]></category>
		<category><![CDATA[확장성]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=39072</guid>

					<description><![CDATA[<p>RAID 6 데이터를 스트라이핑(Striping) 방식으로 저장하면서, 두 개의 패리티(Parity) 정보를 사용하여 최대 2개의 디스크가 동시에 손상되어도 데이터를 복구할 수 있는 고안정성 RAID 레벨 RAID 5와 비슷하지만, 패리티 블록을 두 개로 늘려 더 높은 안정성을 제공하며, 최소 4개의 디스크가 필요합니다. RAID 6 특징 RAID 6 장점 RAID 6 단점 RAID 6 실습 RAID 10 (1+0) RAID [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/ubuntu/raid-6-raid-1010/39072/">RAID 6, RAID 10(1+0)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-b1e0c6ae      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-6" class="uagb-toc-link__trigger">RAID 6</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-6-특징" class="uagb-toc-link__trigger">RAID 6 특징</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-6-장점" class="uagb-toc-link__trigger">RAID 6 장점</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-6-단점" class="uagb-toc-link__trigger">RAID 6 단점</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-6-실습" class="uagb-toc-link__trigger">RAID 6 실습</a></li></ul></li><li class="uagb-toc__list"><a href="#raid-10-10" class="uagb-toc-link__trigger">RAID 10 (1+0)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-10-구조" class="uagb-toc-link__trigger">RAID 10 구조</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-10-특징" class="uagb-toc-link__trigger">RAID 10 특징</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-10-장점" class="uagb-toc-link__trigger">RAID 10 장점</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-10-단점" class="uagb-toc-link__trigger">RAID 10 단점</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-10-실습" class="uagb-toc-link__trigger">RAID 10 실습</a></ul></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">RAID 6</h2>



<p>데이터를 <strong>스트라이핑(Striping) 방식</strong>으로 저장하면서, <strong>두 개의 패리티(Parity)</strong> 정보를 사용하여 </p>



<p><strong>최대 2개의 디스크가 동시에 손상</strong>되어도 데이터를 복구할 수 있는 고안정성 RAID 레벨</p>



<p>RAID 5와 비슷하지만, <strong>패리티 블록</strong>을 <strong>두 개</strong>로 늘려 더 높은 안정성을 제공하며, <strong>최소 4개의 디스크</strong>가 필요합니다.</p>



<figure class="wp-block-image"><img decoding="async" width="513" height="266" src="https://lycos7560.com/wp-content/uploads/2024/12/image-72.png" alt="" class="wp-image-38962" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-72.png 513w, https://lycos7560.com/wp-content/uploads/2024/12/image-72-300x156.png 300w" sizes="(max-width: 513px) 100vw, 513px" /><figcaption class="wp-element-caption"><a href="https://coolenjoy.net/bbs/review/476595" target="_blank" rel="noreferrer noopener">https://coolenjoy.net/bbs/review/476595</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p><strong>스트라이핑(Striping)</strong></p>



<p>데이터를 여러 디스크에 <strong>작은 단위로 나누어 병렬로 저장</strong>하는 기술</p>



<ul class="wp-block-list">
<li>RAID 레벨에서 주로 사용되며, 디스크의 읽기 및 쓰기 성능을 향상시키기 위해 고안된 방식</li>



<li>데이터를 &#8220;블록&#8221; 단위로 나누어 각 디스크에 분산 저장함으로써 여러 디스크에서 동시에 데이터를 읽거나 쓸 수 있</li>
</ul>
</blockquote>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 6 특징</h3>



<ol class="wp-block-list">
<li><strong>스트라이핑과 이중 패리티</strong>
<ul class="wp-block-list">
<li>데이터를 여러 디스크에 스트라이핑 방식으로 분산 저장.</li>



<li>각 디스크에 두 개의 패리티를 저장하여,<strong> 디스크 두 개가 동시에 고장 나더라도</strong> 데이터를 복구 가능.</li>
</ul>
</li>



<li><strong>높은 데이터 안정성</strong>
<ul class="wp-block-list">
<li>RAID 5보다 더 높은 안정성을 제공하며, 데이터 손실 가능성이 낮음.</li>
</ul>
</li>



<li><strong>디스크 용량 효율</strong>
<ul class="wp-block-list">
<li>전체 디스크 중 2개는 패리티 저장에 사용되므로, 총 용량 = (N &#8211; 2) x 단일 디스크 크기(N = 디스크 개수).</li>



<li>예: 4TB 디스크 6개 → RAID 6 용량 = 16TB (8TB는 패리티에 사용).</li>
</ul>
</li>



<li><strong>성능</strong>
<ul class="wp-block-list">
<li>읽기 성능: 스트라이핑 덕분에 RAID 5 수준으로 빠름.</li>



<li>쓰기 성능: 두 개의 패리티 계산으로 인해 RAID 5보다 느림.</li>
</ul>
</li>
</ol>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 6 장점</h3>



<ol class="wp-block-list">
<li><strong>높은 안정성</strong>
<ul class="wp-block-list">
<li>동시에 두 개의 디스크가 고장 나더라도 데이터 복구 가능.</li>



<li>RAID 5보다 안정성이 크게 향상됨.</li>
</ul>
</li>



<li><strong>공간 효율성</strong>
<ul class="wp-block-list">
<li>2개의 패리티를 사용하지만, 여전히 전체 디스크 용량의 대부분을 데이터 저장에 사용 가능.</li>
</ul>
</li>



<li><strong>성능과 안정성의 균형</strong>
<ul class="wp-block-list">
<li>읽기 작업은 스트라이핑 덕분에 빠르고, 데이터 안정성도 보장.</li>
</ul>
</li>



<li><strong>확장성</strong>
<ul class="wp-block-list">
<li>디스크를 추가하여 용량을 쉽게 확장 가능.</li>
</ul>
</li>
</ol>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 6 단점</h3>



<ol class="wp-block-list">
<li><strong>복잡한 패리티 계산</strong>
<ul class="wp-block-list">
<li>두 개의 패리티를 계산해야 하므로 쓰기 작업에서 RAID 5보다 성능이 더 낮음.</li>



<li>쓰기 성능이 중요한 환경에서는 <strong>RAID 10(1+0)</strong>이 더 적합할 수 있음.</li>
</ul>
</li>



<li><strong>디스크 용량 감소</strong>
<ul class="wp-block-list">
<li>RAID 5보다 두 개의 디스크 용량을 패리티에 사용하므로 저장 공간 효율이 약간 낮음.</li>
</ul>
</li>



<li><strong>복구 시간 증가</strong>
<ul class="wp-block-list">
<li>대용량 디스크가 많아질수록 복구 시간이 오래 걸리며, 복구 중 성능 저하가 발생할 수 있음.</li>
</ul>
</li>
</ol>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 6 실습</h3>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="401" height="446" src="https://lycos7560.com/wp-content/uploads/2024/12/image-159.png" alt="" class="wp-image-39073" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-159.png 401w, https://lycos7560.com/wp-content/uploads/2024/12/image-159-270x300.png 270w" sizes="(max-width: 401px) 100vw, 401px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=Li8koNVb8ck&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=39" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=Li8koNVb8ck&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=39</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="748" height="725" src="https://lycos7560.com/wp-content/uploads/2024/12/image-162.png" alt="" class="wp-image-39083" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-162.png 748w, https://lycos7560.com/wp-content/uploads/2024/12/image-162-300x291.png 300w" sizes="(max-width: 748px) 100vw, 748px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
ls -a /dev/sd*
fsidk -l</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1205" height="206" src="https://lycos7560.com/wp-content/uploads/2024/12/image-160.png" alt="" class="wp-image-39075" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-160.png 1205w, https://lycos7560.com/wp-content/uploads/2024/12/image-160-300x51.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-160-768x131.png 768w" sizes="(max-width: 1205px) 100vw, 1205px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="509" height="1702" src="https://lycos7560.com/wp-content/uploads/2024/12/image-161.png" alt="" class="wp-image-39076" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-161.png 509w, https://lycos7560.com/wp-content/uploads/2024/12/image-161-90x300.png 90w, https://lycos7560.com/wp-content/uploads/2024/12/image-161-459x1536.png 459w" sizes="(max-width: 509px) 100vw, 509px" /><figcaption class="wp-element-caption">8개의 Linux raid autodetect type을 생성 (Raid 6과 10 연습)</figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># sdb1, sdc1, sdd1, sde1  총 4개를 RAID 6
mdadm --create /dev/md6 --level=6 --raid-devices=4 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="871" height="155" src="https://lycos7560.com/wp-content/uploads/2024/12/image-163.png" alt="" class="wp-image-39084" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-163.png 871w, https://lycos7560.com/wp-content/uploads/2024/12/image-163-300x53.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-163-768x137.png 768w" sizes="(max-width: 871px) 100vw, 871px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
mdadm --detail /dev/md6
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="845" height="651" src="https://lycos7560.com/wp-content/uploads/2024/12/image-164.png" alt="" class="wp-image-39085" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-164.png 845w, https://lycos7560.com/wp-content/uploads/2024/12/image-164-300x231.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-164-768x592.png 768w" sizes="(max-width: 845px) 100vw, 845px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# ext4 파일 시스템을 생성 및 포맷하는 과정
mkfs.ext4 /dev/md6</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1120" height="303" src="https://lycos7560.com/wp-content/uploads/2024/12/image-165.png" alt="" class="wp-image-39086" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-165.png 1120w, https://lycos7560.com/wp-content/uploads/2024/12/image-165-300x81.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-165-768x208.png 768w" sizes="(max-width: 1120px) 100vw, 1120px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 마운트할 폴더 생성
mkdir /raid6 

# raid6에 마운트
mount /dev/md6 /raid6

# 마운트 확인
ls -a /raid6
df
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="805" height="210" src="https://lycos7560.com/wp-content/uploads/2024/12/image-166.png" alt="" class="wp-image-39088" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-166.png 805w, https://lycos7560.com/wp-content/uploads/2024/12/image-166-300x78.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-166-768x200.png 768w" sizes="(max-width: 805px) 100vw, 805px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 부팅 시 자동 마운트 등록
gedit /etc/fstab

/dev/md6 /raid6 ext4 defaults 0 0

# daemon reload
systemctl daemon-reload
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1075" height="418" src="https://lycos7560.com/wp-content/uploads/2024/12/image-167.png" alt="" class="wp-image-39089" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-167.png 1075w, https://lycos7560.com/wp-content/uploads/2024/12/image-167-300x117.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-167-768x299.png 768w" sizes="(max-width: 1075px) 100vw, 1075px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 시스템 재부팅 시에도 RAID 배열을 인식하도록 하는 과정
mdadm --detail --scan /dev/md6 >> /etc/mdadm/mdadm.conf

update-initramfs -u

#배열 등록 확인
cat /etc/mdadm/mdadm.conf
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1117" height="604" src="https://lycos7560.com/wp-content/uploads/2024/12/image-168.png" alt="" class="wp-image-39090" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-168.png 1117w, https://lycos7560.com/wp-content/uploads/2024/12/image-168-300x162.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-168-768x415.png 768w" sizes="(max-width: 1117px) 100vw, 1117px" /></figure>



<div style="height:102px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading"><strong>RAID 10 (1+0)</strong></h2>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="723" height="351" src="https://lycos7560.com/wp-content/uploads/2024/12/image-169.jpg" alt="" class="wp-image-39091" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-169.jpg 723w, https://lycos7560.com/wp-content/uploads/2024/12/image-169-300x146.jpg 300w" sizes="(max-width: 723px) 100vw, 723px" /><figcaption class="wp-element-caption"><a href="https://serverdiskdrives.com/blogs/server-hardware/what-is-then-raid-10" target="_blank" rel="noreferrer noopener">https://serverdiskdrives.com/blogs/server-hardware/what-is-then-raid-10</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p><strong>RAID 1+0</strong>, 흔히 <strong>RAID 10</strong>이라고 불리는 이 구성은 <strong>RAID 1(미러링)</strong>과 <strong>RAID 0(스트라이핑)</strong>의 결합</p>



<ul class="wp-block-list">
<li>데이터를 안전하게 보호하면서 동시에 읽기/쓰기 성능을 향상시키는 RAID 레벨</li>



<li><strong>최소 4개의 디스크</strong>가 필요하며, <strong>디스크</strong>가 <strong>짝수</strong> 개여야 구성 가능</li>
</ul>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>RAID 10 구조</strong></h3>



<p>RAID 10은 먼저 데이터를 미러링(RAID 1)으로 복제한 후, 스트라이핑(RAID 0)을 적용</p>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">구성 예시: 4개의 디스크로 RAID 10 구성</h4>



<ol class="wp-block-list">
<li><strong>미러링(RAID 1)</strong>
<ul class="wp-block-list">
<li>동일한 데이터를 두 개의 디스크에 복사하여 저장</li>



<li>예:
<ul class="wp-block-list">
<li>디스크 1과 디스크 2는 동일한 데이터를 저장</li>



<li>디스크 3과 디스크 4도 동일한 데이터를 저장</li>
</ul>
</li>
</ul>
</li>



<li><strong>스트라이핑(RAID 0)</strong>
<ul class="wp-block-list">
<li>미러링된 디스크 쌍을 스트라이핑하여 읽기/쓰기 성능을 향상</li>



<li>데이터 블록이 디스크 1+2와 디스크 3+4에 번갈아가며 저장됨</li>
</ul>
</li>
</ol>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>RAID 그룹</th><th>디스크 1</th><th>디스크 2</th><th>디스크 3</th><th>디스크 4</th></tr></thead><tbody><tr><td><strong>미러링</strong></td><td>A</td><td>A</td><td>B</td><td>B</td></tr><tr><td><strong>스트라이핑</strong></td><td>A+B</td><td>A+B</td><td>A+B</td><td>A+B</td></tr></tbody></table></figure>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>RAID 10</strong> <strong>특징</strong></h3>



<ol class="wp-block-list">
<li><strong>성능</strong>
<ul class="wp-block-list">
<li>스트라이핑 덕분에 읽기와 쓰기 작업 속도가 RAID 1보다 빠릅니다.</li>
</ul>
</li>



<li><strong>데이터 안전성</strong>
<ul class="wp-block-list">
<li>미러링으로 인해 디스크 하나가 고장 나도 데이터를 복구할 수 있습니다.</li>



<li>각 미러 그룹에서 한 디스크씩(최대 2개)이 고장 나더라도 복구 가능.</li>
</ul>
</li>



<li><strong>디스크 용량 효율</strong>
<ul class="wp-block-list">
<li>총 용량 = 디스크 총 개수의 절반 × 단일 디스크 용량.</li>



<li>예: 4TB 디스크 4개 → RAID 10 용량 = 8TB.</li>
</ul>
</li>
</ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>RAID 10 장점</strong></h3>



<ol class="wp-block-list">
<li><strong>높은 데이터 안정성</strong>
<ul class="wp-block-list">
<li>RAID 1의 미러링 덕분에 디스크 하나가 고장 나도 데이터 복구 가능</li>



<li>RAID 0보다 훨씬 안전함</li>
</ul>
</li>



<li><strong>우수한 성능</strong>
<ul class="wp-block-list">
<li>스트라이핑으로 읽기와 쓰기 성능이 RAID 1보다 훨씬 빠름</li>



<li>특히 데이터 액세스 속도가 중요한 작업에 유리</li>
</ul>
</li>



<li><strong>복구 시간 단축</strong>
<ul class="wp-block-list">
<li>디스크 하나가 고장 나도 나머지 디스크에서 복구가 빠르게 진행됨</li>
</ul>
</li>
</ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>RAID 10 단점</strong></h3>



<ol class="wp-block-list">
<li><strong>낮은 디스크 효율성</strong>
<ul class="wp-block-list">
<li>전체 디스크 용량의 절반만 데이터 저장에 사용 가능</li>



<li>RAID 5, RAID 6보다 공간 효율성이 낮음</li>
</ul>
</li>



<li><strong>비용이 높음</strong>
<ul class="wp-block-list">
<li>데이터를 미러링하므로 같은 용량을 저장하려면 두 배의 디스크가 필요</li>
</ul>
</li>



<li><strong>복잡성</strong>
<ul class="wp-block-list">
<li>설정 및 관리를 위해 RAID 컨트롤러 또는 소프트웨어 RAID가 필요</li>
</ul>
</li>
</ol>



<div style="height:41px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading"><strong>RAID 10 실습</strong></h3>



<p> mdadm으로 raid 10을 바로 적용할 수 있음</p>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
mdadm --create /dev/md10 --level=10 --raid-devices=4 /dev/sdf1 /dev/sdg1 /dev/sdh1 /dev/sdi1

mkfs.ext4 /dev/md10

mkdir /raid10

mount /dev/md10 /raid10
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1011" height="309" src="https://lycos7560.com/wp-content/uploads/2024/12/image-169.png" alt="" class="wp-image-39092" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-169.png 1011w, https://lycos7560.com/wp-content/uploads/2024/12/image-169-300x92.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-169-768x235.png 768w" sizes="(max-width: 1011px) 100vw, 1011px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
df

mdadm --detail /dev/md10
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="800" height="715" src="https://lycos7560.com/wp-content/uploads/2024/12/image-170.png" alt="" class="wp-image-39093" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-170.png 800w, https://lycos7560.com/wp-content/uploads/2024/12/image-170-300x268.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-170-768x686.png 768w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 부팅 시 자동 마운트 등록
gedit /etc/fstab

/dev/md10 /raid10 ext4 defaults 0 0

# daemon reload
systemctl daemon-reload
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1102" height="453" src="https://lycos7560.com/wp-content/uploads/2024/12/image-171.png" alt="" class="wp-image-39094" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-171.png 1102w, https://lycos7560.com/wp-content/uploads/2024/12/image-171-300x123.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-171-768x316.png 768w" sizes="(max-width: 1102px) 100vw, 1102px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 시스템 재부팅 시에도 RAID 배열을 인식하도록 하는 과정
mdadm --detail --scan /dev/md10 >> /etc/mdadm/mdadm.conf

update-initramfs -u

#배열 등록 확인
cat /etc/mdadm/mdadm.conf
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="902" height="608" src="https://lycos7560.com/wp-content/uploads/2024/12/image-172.png" alt="" class="wp-image-39095" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-172.png 902w, https://lycos7560.com/wp-content/uploads/2024/12/image-172-300x202.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-172-768x518.png 768w" sizes="(max-width: 902px) 100vw, 902px" /></figure>



<p></p>
<p>The post <a href="https://lycos7560.com/ubuntu/raid-6-raid-1010/39072/">RAID 6, RAID 10(1+0)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/raid-6-raid-1010/39072/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu &#8211; RAID 0, 1, 5 실습</title>
		<link>https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/</link>
					<comments>https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Thu, 05 Dec 2024 11:27:22 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[Data Integrity]]></category>
		<category><![CDATA[Data Protection]]></category>
		<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Data Redundancy]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[Disk Failure]]></category>
		<category><![CDATA[File System]]></category>
		<category><![CDATA[Hardware RAID]]></category>
		<category><![CDATA[High Availability]]></category>
		<category><![CDATA[Linear RAID]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[Mirroring]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Parity]]></category>
		<category><![CDATA[Partition]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Performance Degradation]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[RAID 0]]></category>
		<category><![CDATA[RAID 1]]></category>
		<category><![CDATA[RAID 5]]></category>
		<category><![CDATA[RAID 6]]></category>
		<category><![CDATA[Read Speed]]></category>
		<category><![CDATA[Recovery Time]]></category>
		<category><![CDATA[Reliability]]></category>
		<category><![CDATA[Scalability]]></category>
		<category><![CDATA[Software RAID]]></category>
		<category><![CDATA[Space Efficiency]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[storage management]]></category>
		<category><![CDATA[Storage Space]]></category>
		<category><![CDATA[Striping]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[System Configuration]]></category>
		<category><![CDATA[Ubuntu - RAID]]></category>
		<category><![CDATA[Write Speed]]></category>
		<category><![CDATA[고가용성]]></category>
		<category><![CDATA[공간 효율성]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[데이터 무결성]]></category>
		<category><![CDATA[데이터 보호]]></category>
		<category><![CDATA[데이터 복구]]></category>
		<category><![CDATA[데이터 중복성]]></category>
		<category><![CDATA[디스크]]></category>
		<category><![CDATA[디스크 손상]]></category>
		<category><![CDATA[레이드]]></category>
		<category><![CDATA[레이드 0]]></category>
		<category><![CDATA[레이드 1]]></category>
		<category><![CDATA[레이드 5]]></category>
		<category><![CDATA[레이드 6]]></category>
		<category><![CDATA[미러링]]></category>
		<category><![CDATA[복구 시간]]></category>
		<category><![CDATA[부팅]]></category>
		<category><![CDATA[성능]]></category>
		<category><![CDATA[성능 저하]]></category>
		<category><![CDATA[소프트웨어 RAID]]></category>
		<category><![CDATA[스토리지]]></category>
		<category><![CDATA[스토리지 관리]]></category>
		<category><![CDATA[스트라이핑]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[시스템 설정]]></category>
		<category><![CDATA[쓰기 속도]]></category>
		<category><![CDATA[안정성]]></category>
		<category><![CDATA[우분투]]></category>
		<category><![CDATA[운영 체제]]></category>
		<category><![CDATA[읽기 속도]]></category>
		<category><![CDATA[저장 공간]]></category>
		<category><![CDATA[파일 시스템]]></category>
		<category><![CDATA[파티션]]></category>
		<category><![CDATA[패리티]]></category>
		<category><![CDATA[하드웨어 RAID]]></category>
		<category><![CDATA[확장성]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=38964</guid>

					<description><![CDATA[<p>1. 하드 7개 추가 2. RAID 0 구축 2. RAID 1 구축 3. RAID 5 구축 (3개) 4. RAID 0 1 5 장치 고장 내기 각 RAID의 장치 하나씩을 제거하여 고장과 같은 상황을 만듬 5. RAID 0 1 5 복구 제거한 하드 3개 추가</p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/">Ubuntu &#8211; RAID 0, 1, 5 실습</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-b2b5ecf1      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#1-하드-7개-추가" class="uagb-toc-link__trigger">1. 하드 7개 추가</a><li class="uagb-toc__list"><a href="#2-raid-0-구축" class="uagb-toc-link__trigger">2. RAID 0 구축</a><li class="uagb-toc__list"><a href="#2-raid-1-구축" class="uagb-toc-link__trigger">2. RAID 1 구축</a><li class="uagb-toc__list"><a href="#3-raid-5-구축-3개" class="uagb-toc-link__trigger">3. RAID 5 구축 (3개)</a><li class="uagb-toc__list"><a href="#4-raid-0-1-5-장치-고장-내기" class="uagb-toc-link__trigger">4. RAID 0 1 5 장치 고장 내기</a><li class="uagb-toc__list"><a href="#5-raid-0-1-5-복구" class="uagb-toc-link__trigger">5. RAID 0 1 5 복구</a></ol>					</div>
									</div>
				</div>
			


<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed is-type-wp-embed"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="3rFZaQu4Nv"><a href="https://lycos7560.com/ubuntu/ubuntu-hard-disk-management-add-disk/38929/">Ubuntu &#8211; Hard disk management (Add Disk)</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Ubuntu &#8211; Hard disk management (Add Disk)&#8221; &#8212; 어제와 내일의 나 그 사이의 이야기" src="https://lycos7560.com/ubuntu/ubuntu-hard-disk-management-add-disk/38929/embed/#?secret=tOdDx8CaMS#?secret=3rFZaQu4Nv" data-secret="3rFZaQu4Nv" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div><figcaption class="wp-element-caption">사전 작업이 필요함</figcaption></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">1. 하드 7개 추가</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="417" height="454" src="https://lycos7560.com/wp-content/uploads/2024/12/image-73.png" alt="" class="wp-image-38965" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-73.png 417w, https://lycos7560.com/wp-content/uploads/2024/12/image-73-276x300.png 276w" sizes="(max-width: 417px) 100vw, 417px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=stRWo6sPGyI&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=35">https://www.youtube.com/watch?v=stRWo6sPGyI&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=35</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="754" height="728" src="https://lycos7560.com/wp-content/uploads/2024/12/image-74.png" alt="" class="wp-image-38966" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-74.png 754w, https://lycos7560.com/wp-content/uploads/2024/12/image-74-300x290.png 300w" sizes="(max-width: 754px) 100vw, 754px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="754" height="728" src="https://lycos7560.com/wp-content/uploads/2024/12/image-75.png" alt="" class="wp-image-38968" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-75.png 754w, https://lycos7560.com/wp-content/uploads/2024/12/image-75-300x290.png 300w" sizes="(max-width: 754px) 100vw, 754px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="757" height="731" src="https://lycos7560.com/wp-content/uploads/2024/12/image-76.png" alt="" class="wp-image-38969" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-76.png 757w, https://lycos7560.com/wp-content/uploads/2024/12/image-76-300x290.png 300w" sizes="(max-width: 757px) 100vw, 757px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="747" height="724" src="https://lycos7560.com/wp-content/uploads/2024/12/image-77.png" alt="" class="wp-image-38970" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-77.png 747w, https://lycos7560.com/wp-content/uploads/2024/12/image-77-300x291.png 300w" sizes="(max-width: 747px) 100vw, 747px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="757" height="731" src="https://lycos7560.com/wp-content/uploads/2024/12/image-78.png" alt="" class="wp-image-38971" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-78.png 757w, https://lycos7560.com/wp-content/uploads/2024/12/image-78-300x290.png 300w" sizes="(max-width: 757px) 100vw, 757px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="743" height="441" src="https://lycos7560.com/wp-content/uploads/2024/12/image-79.png" alt="" class="wp-image-38972" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-79.png 743w, https://lycos7560.com/wp-content/uploads/2024/12/image-79-300x178.png 300w" sizes="(max-width: 743px) 100vw, 743px" /><figcaption class="wp-element-caption">위의 과정을 반복</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="748" height="730" src="https://lycos7560.com/wp-content/uploads/2024/12/image-80.png" alt="" class="wp-image-38973" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-80.png 748w, https://lycos7560.com/wp-content/uploads/2024/12/image-80-300x293.png 300w" sizes="(max-width: 748px) 100vw, 748px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1265" height="261" src="https://lycos7560.com/wp-content/uploads/2024/12/image-81.png" alt="" class="wp-image-38974" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-81.png 1265w, https://lycos7560.com/wp-content/uploads/2024/12/image-81-300x62.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-81-768x158.png 768w" sizes="(max-width: 1265px) 100vw, 1265px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1199" height="672" src="https://lycos7560.com/wp-content/uploads/2024/12/image-82.png" alt="" class="wp-image-38975" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-82.png 1199w, https://lycos7560.com/wp-content/uploads/2024/12/image-82-300x168.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-82-768x430.png 768w" sizes="(max-width: 1199px) 100vw, 1199px" /><figcaption class="wp-element-caption">fdisk를 이용하여 파티셔닝 / RAID를 위해서 Linx -&gt; Linux raid auto 로 변경해야함</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="625" height="348" src="https://lycos7560.com/wp-content/uploads/2024/12/image-83.png" alt="" class="wp-image-38977" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-83.png 625w, https://lycos7560.com/wp-content/uploads/2024/12/image-83-300x167.png 300w" sizes="(max-width: 625px) 100vw, 625px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1207" height="744" src="https://lycos7560.com/wp-content/uploads/2024/12/image-84.png" alt="" class="wp-image-38978" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-84.png 1207w, https://lycos7560.com/wp-content/uploads/2024/12/image-84-300x185.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-84-768x473.png 768w" sizes="(max-width: 1207px) 100vw, 1207px" /><figcaption class="wp-element-caption">m을 이용하여 도움말 확인 t를 이용하여 파티션 타입 변경</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1176" height="756" src="https://lycos7560.com/wp-content/uploads/2024/12/image-85.png" alt="" class="wp-image-38979" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-85.png 1176w, https://lycos7560.com/wp-content/uploads/2024/12/image-85-300x193.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-85-768x494.png 768w" sizes="(max-width: 1176px) 100vw, 1176px" /><figcaption class="wp-element-caption">fd : Linux raid auto</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1253" height="488" src="https://lycos7560.com/wp-content/uploads/2024/12/image-86.png" alt="" class="wp-image-38980" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-86.png 1253w, https://lycos7560.com/wp-content/uploads/2024/12/image-86-300x117.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-86-768x299.png 768w" sizes="(max-width: 1253px) 100vw, 1253px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="744" height="243" src="https://lycos7560.com/wp-content/uploads/2024/12/image-87.png" alt="" class="wp-image-38981" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-87.png 744w, https://lycos7560.com/wp-content/uploads/2024/12/image-87-300x98.png 300w" sizes="(max-width: 744px) 100vw, 744px" /><figcaption class="wp-element-caption">w: write로 저장</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1275" height="252" src="https://lycos7560.com/wp-content/uploads/2024/12/image-88.png" alt="" class="wp-image-38982" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-88.png 1275w, https://lycos7560.com/wp-content/uploads/2024/12/image-88-300x59.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-88-768x152.png 768w" sizes="(max-width: 1275px) 100vw, 1275px" /><figcaption class="wp-element-caption">위의 과정을 반복</figcaption></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># RAID 패키지
sudo apt update
sudo apt -y install mdadm
</pre>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">2. RAID 0 구축</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="618" height="321" src="https://lycos7560.com/wp-content/uploads/2024/12/image-89.png" alt="" class="wp-image-38983" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-89.png 618w, https://lycos7560.com/wp-content/uploads/2024/12/image-89-300x156.png 300w" sizes="(max-width: 618px) 100vw, 618px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=k50nGEIKL2g&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=36" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=k50nGEIKL2g&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=36</a></figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1213" height="655" src="https://lycos7560.com/wp-content/uploads/2024/12/image-90.png" alt="" class="wp-image-38984" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-90.png 1213w, https://lycos7560.com/wp-content/uploads/2024/12/image-90-300x162.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-90-768x415.png 768w" sizes="(max-width: 1213px) 100vw, 1213px" /><figcaption class="wp-element-caption">fdisk로 확인</figcaption></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1

# mdadm: 리눅스에서 소프트웨어 RAID를 관리하기 위한 유틸리티
# --create: 새로운 RAID 배열을 생성하기 위한 옵션
# /dev/md0: 생성할 RAID 배열의 장치 이름
# --level=0: RAID 레벨을 지정, 여기서는 RAID 0(스트라이핑) 레벨을 사용
# --raid-devices=2: RAID 배열에 사용할 디스크 장치의 수를 지정, 여기서는 2개의 디스크를 사용
# /dev/sdb1 /dev/sdc1: RAID 배열에 포함될 디스크 파티션, 여기서는 /dev/sdb1과 /dev/sdc1 두 개의 파티션을 사용</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1208" height="196" src="https://lycos7560.com/wp-content/uploads/2024/12/image-91.png" alt="" class="wp-image-38985" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-91.png 1208w, https://lycos7560.com/wp-content/uploads/2024/12/image-91-300x49.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-91-768x125.png 768w" sizes="(max-width: 1208px) 100vw, 1208px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 모든 RAID 배열에 대한 상세 정보를 출력
sudo mdadm --detail --scan</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1224" height="218" src="https://lycos7560.com/wp-content/uploads/2024/12/image-92.png" alt="" class="wp-image-38986" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-92.png 1224w, https://lycos7560.com/wp-content/uploads/2024/12/image-92-300x53.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-92-768x137.png 768w" sizes="(max-width: 1224px) 100vw, 1224px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># /dev/md0 장치에 ext4 파일 시스템을 생성
# RAID 배열을 생성한 후, 파일 시스템을 초기화하여 사용할 수 있게 하는 중요한 단계
mkfs.ext4 /dev/md0
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1155" height="388" src="https://lycos7560.com/wp-content/uploads/2024/12/image-93.png" alt="" class="wp-image-38987" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-93.png 1155w, https://lycos7560.com/wp-content/uploads/2024/12/image-93-300x101.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-93-768x258.png 768w" sizes="(max-width: 1155px) 100vw, 1155px" /><figcaption class="wp-element-caption">mkfs.ext4 /dev/md0 </figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1091" height="303" src="https://lycos7560.com/wp-content/uploads/2024/12/image-94.png" alt="" class="wp-image-38988" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-94.png 1091w, https://lycos7560.com/wp-content/uploads/2024/12/image-94-300x83.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-94-768x213.png 768w" sizes="(max-width: 1091px) 100vw, 1091px" /><figcaption class="wp-element-caption">/raid0 위치로 mount</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1225" height="421" src="https://lycos7560.com/wp-content/uploads/2024/12/image-95.png" alt="" class="wp-image-38989" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-95.png 1225w, https://lycos7560.com/wp-content/uploads/2024/12/image-95-300x103.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-95-768x264.png 768w" sizes="(max-width: 1225px) 100vw, 1225px" /><figcaption class="wp-element-caption">/etc/fstab에 등록</figcaption></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">/dev/md0 /raid0 ext4 defaults 0 0</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># mdadm.conf 등록
sudo mdadm --detail --scan /dev/md0 >> /etc/mdadm/mdadm.conf

# 업데이트
sudo update-initramfs -u</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1075" height="597" src="https://lycos7560.com/wp-content/uploads/2024/12/image-98.png" alt="" class="wp-image-38992" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-98.png 1075w, https://lycos7560.com/wp-content/uploads/2024/12/image-98-300x167.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-98-768x427.png 768w" sizes="(max-width: 1075px) 100vw, 1075px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">systemctl daemon-reload</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="936" height="57" src="https://lycos7560.com/wp-content/uploads/2024/12/image-96.png" alt="" class="wp-image-38990" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-96.png 936w, https://lycos7560.com/wp-content/uploads/2024/12/image-96-300x18.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-96-768x47.png 768w" sizes="(max-width: 936px) 100vw, 936px" /><figcaption class="wp-element-caption">등록 후 데몬 재시작</figcaption></figure>



<p></p>



<figure class="wp-block-image"><img decoding="async" width="1157" height="750" src="https://lycos7560.com/wp-content/uploads/2024/12/image-97.png" alt="" class="wp-image-38991" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-97.png 1157w, https://lycos7560.com/wp-content/uploads/2024/12/image-97-300x194.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-97-768x498.png 768w" sizes="(max-width: 1157px) 100vw, 1157px" /><figcaption class="wp-element-caption">mdadm &#8211;detail /dev/md0 를 이용하여 정보 확인</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="629" height="628" src="https://lycos7560.com/wp-content/uploads/2024/12/image-99.png" alt="" class="wp-image-38993" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-99.png 629w, https://lycos7560.com/wp-content/uploads/2024/12/image-99-300x300.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-99-150x150.png 150w" sizes="(max-width: 629px) 100vw, 629px" /></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">2. RAID 1 구축</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># RAID Disk 정보 확인
fdisk -l /dev/sdd
fdisk -l /dev/sde
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1189" height="535" src="https://lycos7560.com/wp-content/uploads/2024/12/image-100.png" alt="" class="wp-image-38994" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-100.png 1189w, https://lycos7560.com/wp-content/uploads/2024/12/image-100-300x135.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-100-768x346.png 768w" sizes="(max-width: 1189px) 100vw, 1189px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdd1 /dev/sde1

# mdadm: 리눅스에서 소프트웨어 RAID를 관리하기 위한 유틸리티
# --create: 새로운 RAID 배열을 생성하기 위한 옵션
# /dev/md1: 생성할 RAID 배열의 장치 이름
# --level=1: RAID 레벨을 지정, 여기서는 RAID 1 레벨을 사용
# --raid-devices=2: RAID 배열에 사용할 디스크 장치의 수를 지정, 여기서는 2개의 디스크를 사용
# /dev/sdd1 /dev/sde1: RAID 배열에 포함될 디스크 파티션, 여기서는 /dev/sdd1과 /dev/sde1 두 개의 파티션을 사용</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="926" height="209" src="https://lycos7560.com/wp-content/uploads/2024/12/image-101.png" alt="" class="wp-image-38995" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-101.png 926w, https://lycos7560.com/wp-content/uploads/2024/12/image-101-300x68.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-101-768x173.png 768w" sizes="(max-width: 926px) 100vw, 926px" /><figcaption class="wp-element-caption">부팅장치로 사용이 불가능하다는 의미 y로 넘어가자</figcaption></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Raid 정보 확인
mdadm --detail /dev/md1</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="947" height="638" src="https://lycos7560.com/wp-content/uploads/2024/12/image-102.png" alt="" class="wp-image-38996" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-102.png 947w, https://lycos7560.com/wp-content/uploads/2024/12/image-102-300x202.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-102-768x517.png 768w" sizes="(max-width: 947px) 100vw, 947px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 마운트할 폴더 생성
sudo mkdir /raid1

# mdadm.conf 등록
sudo mdadm --detail --scan /dev/md1 >> /etc/mdadm/mdadm.conf

# 업데이트
sudo update-initramfs -u

#등록 확인 
cat /etc/mdadm/mdadm.conf</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="700" height="555" src="https://lycos7560.com/wp-content/uploads/2024/12/image-103.png" alt="" class="wp-image-38997" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-103.png 700w, https://lycos7560.com/wp-content/uploads/2024/12/image-103-300x238.png 300w" sizes="(max-width: 700px) 100vw, 700px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># /dev/md1 장치에 ext4 파일 시스템을 생성
# RAID 배열을 생성한 후, 파일 시스템을 초기화하여 사용할 수 있게 하는 중요한 단계
mkfs.ext4 /dev/md1
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="727" height="278" src="https://lycos7560.com/wp-content/uploads/2024/12/image-104.png" alt="" class="wp-image-38998" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-104.png 727w, https://lycos7560.com/wp-content/uploads/2024/12/image-104-300x115.png 300w" sizes="(max-width: 727px) 100vw, 727px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># raid1 으로 mount
mount /dev/md1 /raid1

#마운트 확인
df</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1183" height="224" src="https://lycos7560.com/wp-content/uploads/2024/12/image-105.png" alt="" class="wp-image-38999" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-105.png 1183w, https://lycos7560.com/wp-content/uploads/2024/12/image-105-300x57.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-105-768x145.png 768w" sizes="(max-width: 1183px) 100vw, 1183px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># /etc/fstab 에 등록 (부팅 시 마운트)
echo '/dev/md1 /raid1 ext4 defaults 0 0' | sudo tee -a /etc/fstab

# 등록 확인
cat /etc/fstab

#데몬 재시작
systemctl daemon-reload</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1169" height="378" src="https://lycos7560.com/wp-content/uploads/2024/12/image-106.png" alt="" class="wp-image-39001" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-106.png 1169w, https://lycos7560.com/wp-content/uploads/2024/12/image-106-300x97.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-106-768x248.png 768w" sizes="(max-width: 1169px) 100vw, 1169px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="532" height="213" src="https://lycos7560.com/wp-content/uploads/2024/12/image-107.png" alt="" class="wp-image-39002" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-107.png 532w, https://lycos7560.com/wp-content/uploads/2024/12/image-107-300x120.png 300w" sizes="(max-width: 532px) 100vw, 532px" /><figcaption class="wp-element-caption">재부팅 후 확인</figcaption></figure>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">3. RAID 5 구축 (3개)</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="475" height="327" src="https://lycos7560.com/wp-content/uploads/2024/12/image-110.png" alt="" class="wp-image-39005" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-110.png 475w, https://lycos7560.com/wp-content/uploads/2024/12/image-110-300x207.png 300w" sizes="(max-width: 475px) 100vw, 475px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=k50nGEIKL2g&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=36" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=k50nGEIKL2g&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=36</a></figcaption></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># RAID Disk 정보 확인
fdisk -l /dev/sdf
fdisk -l /dev/sdg
fdisk -l /dev/sdh
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1015" height="406" src="https://lycos7560.com/wp-content/uploads/2024/12/image-108.png" alt="" class="wp-image-39003" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-108.png 1015w, https://lycos7560.com/wp-content/uploads/2024/12/image-108-300x120.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-108-768x307.png 768w" sizes="(max-width: 1015px) 100vw, 1015px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="573" height="183" src="https://lycos7560.com/wp-content/uploads/2024/12/image-109.png" alt="" class="wp-image-39004" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-109.png 573w, https://lycos7560.com/wp-content/uploads/2024/12/image-109-300x96.png 300w" sizes="(max-width: 573px) 100vw, 573px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">mdadm --create /dev/md1 --level=5 --raid-devices=3 /dev/sdf1 /dev/sdg1 /dev/sdh1</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="926" height="113" src="https://lycos7560.com/wp-content/uploads/2024/12/image-111.png" alt="" class="wp-image-39006" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-111.png 926w, https://lycos7560.com/wp-content/uploads/2024/12/image-111-300x37.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-111-768x94.png 768w" sizes="(max-width: 926px) 100vw, 926px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">mdadm --detail /dev/md5
</pre>



<figure class="wp-block-image size-full is-resized"><img decoding="async" width="666" height="575" src="https://lycos7560.com/wp-content/uploads/2024/12/image-112.png" alt="" class="wp-image-39007" style="width:666px;height:auto" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-112.png 666w, https://lycos7560.com/wp-content/uploads/2024/12/image-112-300x259.png 300w" sizes="(max-width: 666px) 100vw, 666px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">mkfs.ext4 /dev/md5
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="497" height="245" src="https://lycos7560.com/wp-content/uploads/2024/12/image-113.png" alt="" class="wp-image-39009" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-113.png 497w, https://lycos7560.com/wp-content/uploads/2024/12/image-113-300x148.png 300w" sizes="(max-width: 497px) 100vw, 497px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">sudo mkdir /raid5

sudo mdadm --detail --scan /dev/md5 >> /etc/mdadm/mdadm.conf

sudo update-initramfs -u

cat /etc/mdadm/mdadm.conf
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1130" height="557" src="https://lycos7560.com/wp-content/uploads/2024/12/image-114.png" alt="" class="wp-image-39010" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-114.png 1130w, https://lycos7560.com/wp-content/uploads/2024/12/image-114-300x148.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-114-768x379.png 768w" sizes="(max-width: 1130px) 100vw, 1130px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">mount /dev/md5 /raid5
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="313" height="60" src="https://lycos7560.com/wp-content/uploads/2024/12/image-115.png" alt="" class="wp-image-39011" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-115.png 313w, https://lycos7560.com/wp-content/uploads/2024/12/image-115-300x58.png 300w" sizes="(max-width: 313px) 100vw, 313px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">df
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="620" height="218" src="https://lycos7560.com/wp-content/uploads/2024/12/image-116.png" alt="" class="wp-image-39012" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-116.png 620w, https://lycos7560.com/wp-content/uploads/2024/12/image-116-300x105.png 300w" sizes="(max-width: 620px) 100vw, 620px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">echo '/dev/md5 /raid5 ext4 defaults 0 0' | sudo tee -a /etc/fstab

cat /etc/fstab

systemctl daemon-reload
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="846" height="339" src="https://lycos7560.com/wp-content/uploads/2024/12/image-117.png" alt="" class="wp-image-39013" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-117.png 846w, https://lycos7560.com/wp-content/uploads/2024/12/image-117-300x120.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-117-768x308.png 768w" sizes="(max-width: 846px) 100vw, 846px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="795" height="290" src="https://lycos7560.com/wp-content/uploads/2024/12/image-118.png" alt="" class="wp-image-39014" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-118.png 795w, https://lycos7560.com/wp-content/uploads/2024/12/image-118-300x109.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-118-768x280.png 768w" sizes="(max-width: 795px) 100vw, 795px" /><figcaption class="wp-element-caption">재부팅 후 확인</figcaption></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">4. RAID 0 1 5 장치 고장 내기</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="863" height="525" src="https://lycos7560.com/wp-content/uploads/2024/12/image-119.png" alt="" class="wp-image-39019" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-119.png 863w, https://lycos7560.com/wp-content/uploads/2024/12/image-119-300x183.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-119-768x467.png 768w" sizes="(max-width: 863px) 100vw, 863px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 각 폴더에 더미파일 생성
fallocate -l 100M /raid0/dummy_file.img
fallocate -l 100M /raid1/dummy_file.img
fallocate -l 100M /raid5/dummy_file.img
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1072" height="257" src="https://lycos7560.com/wp-content/uploads/2024/12/image-122.png" alt="" class="wp-image-39022" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-122.png 1072w, https://lycos7560.com/wp-content/uploads/2024/12/image-122-300x72.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-122-768x184.png 768w" sizes="(max-width: 1072px) 100vw, 1072px" /></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p>각 RAID의 장치 하나씩을 제거하여 고장과 같은 상황을 만듬</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1044" height="720" src="https://lycos7560.com/wp-content/uploads/2024/12/image-120.png" alt="" class="wp-image-39020" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-120.png 1044w, https://lycos7560.com/wp-content/uploads/2024/12/image-120-300x207.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-120-768x530.png 768w" sizes="(max-width: 1044px) 100vw, 1044px" /><figcaption class="wp-element-caption">하드디스크를 제거</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1002" height="170" src="https://lycos7560.com/wp-content/uploads/2024/12/image-121.png" alt="" class="wp-image-39021" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-121.png 1002w, https://lycos7560.com/wp-content/uploads/2024/12/image-121-300x51.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-121-768x130.png 768w" sizes="(max-width: 1002px) 100vw, 1002px" /><figcaption class="wp-element-caption">ctrl + D로 넘어가기 </figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="678" height="219" src="https://lycos7560.com/wp-content/uploads/2024/12/image-123.png" alt="" class="wp-image-39023" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-123.png 678w, https://lycos7560.com/wp-content/uploads/2024/12/image-123-300x97.png 300w" sizes="(max-width: 678px) 100vw, 678px" /><figcaption class="wp-element-caption">ctrl + D로 넘어가기 </figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="736" height="210" src="https://lycos7560.com/wp-content/uploads/2024/12/image-124.png" alt="" class="wp-image-39024" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-124.png 736w, https://lycos7560.com/wp-content/uploads/2024/12/image-124-300x86.png 300w" sizes="(max-width: 736px) 100vw, 736px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 확인
mdadm --detail /dev/md0
mdadm --detail /dev/md1
mdadm --detail /dev/md5
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1172" height="688" src="https://lycos7560.com/wp-content/uploads/2024/12/image-125.png" alt="" class="wp-image-39025" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-125.png 1172w, https://lycos7560.com/wp-content/uploads/2024/12/image-125-300x176.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-125-768x451.png 768w" sizes="(max-width: 1172px) 100vw, 1172px" /><figcaption class="wp-element-caption">RAID가 비활성화 되어있음</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1149" height="402" src="https://lycos7560.com/wp-content/uploads/2024/12/image-126.png" alt="" class="wp-image-39026" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-126.png 1149w, https://lycos7560.com/wp-content/uploads/2024/12/image-126-300x105.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-126-768x269.png 768w" sizes="(max-width: 1149px) 100vw, 1149px" /><figcaption class="wp-element-caption">RAID가 비활성화 되어있음</figcaption></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
#장치 확인
ls -l /dev/sd*

df
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="951" height="336" src="https://lycos7560.com/wp-content/uploads/2024/12/image-127.png" alt="" class="wp-image-39027" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-127.png 951w, https://lycos7560.com/wp-content/uploads/2024/12/image-127-300x106.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-127-768x271.png 768w" sizes="(max-width: 951px) 100vw, 951px" /><figcaption class="wp-element-caption">새로 이름이 부여가 된 것을 확인 할 수 있다.</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="543" height="174" src="https://lycos7560.com/wp-content/uploads/2024/12/image-128.png" alt="" class="wp-image-39028" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-128.png 543w, https://lycos7560.com/wp-content/uploads/2024/12/image-128-300x96.png 300w" sizes="(max-width: 543px) 100vw, 543px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
RAID 확
mdadm --detail --scan
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="940" height="188" src="https://lycos7560.com/wp-content/uploads/2024/12/image-129.png" alt="" class="wp-image-39029" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-129.png 940w, https://lycos7560.com/wp-content/uploads/2024/12/image-129-300x60.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-129-768x154.png 768w" sizes="(max-width: 940px) 100vw, 940px" /><figcaption class="wp-element-caption">전부 비활성화 되어있음</figcaption></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">#시작 
mdadm --run /dev/md0
mdadm --run /dev/md1
mdadm --run /dev/md5

mdadm --detail --scan</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="761" height="169" src="https://lycos7560.com/wp-content/uploads/2024/12/image-131.png" alt="" class="wp-image-39031" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-131.png 761w, https://lycos7560.com/wp-content/uploads/2024/12/image-131-300x67.png 300w" sizes="(max-width: 761px) 100vw, 761px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="952" height="220" src="https://lycos7560.com/wp-content/uploads/2024/12/image-130.png" alt="" class="wp-image-39030" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-130.png 952w, https://lycos7560.com/wp-content/uploads/2024/12/image-130-300x69.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-130-768x177.png 768w" sizes="(max-width: 952px) 100vw, 952px" /><figcaption class="wp-element-caption">RAID 0은 작동 X</figcaption></figure>



<figure class="wp-block-image"><img decoding="async" width="431" height="91" src="https://lycos7560.com/wp-content/uploads/2024/12/image-132.png" alt="" class="wp-image-39032" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-132.png 431w, https://lycos7560.com/wp-content/uploads/2024/12/image-132-300x63.png 300w" sizes="(max-width: 431px) 100vw, 431px" /><figcaption class="wp-element-caption">다시 mount</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="541" height="183" src="https://lycos7560.com/wp-content/uploads/2024/12/image-133.png" alt="" class="wp-image-39033" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-133.png 541w, https://lycos7560.com/wp-content/uploads/2024/12/image-133-300x101.png 300w" sizes="(max-width: 541px) 100vw, 541px" /><figcaption class="wp-element-caption">파일은 살아있</figcaption></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 변경 후
gedit /etc/fstab

# 데몬 재시작
systemctl daeon-reload</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1183" height="687" src="https://lycos7560.com/wp-content/uploads/2024/12/image-134.png" alt="" class="wp-image-39034" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-134.png 1183w, https://lycos7560.com/wp-content/uploads/2024/12/image-134-300x174.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-134-768x446.png 768w" sizes="(max-width: 1183px) 100vw, 1183px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="403" height="110" src="https://lycos7560.com/wp-content/uploads/2024/12/image-135.png" alt="" class="wp-image-39035" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-135.png 403w, https://lycos7560.com/wp-content/uploads/2024/12/image-135-300x82.png 300w" sizes="(max-width: 403px) 100vw, 403px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="generic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# 수정
sudo gedit /etc/mdadm/mdadm.conf

sudo update-initramfs -u
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="931" height="672" src="https://lycos7560.com/wp-content/uploads/2024/12/image-136.png" alt="" class="wp-image-39036" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-136.png 931w, https://lycos7560.com/wp-content/uploads/2024/12/image-136-300x217.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-136-768x554.png 768w" sizes="(max-width: 931px) 100vw, 931px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">mdadm --detail /dev/md1
mdadm --detail /dev/md5</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1146" height="650" src="https://lycos7560.com/wp-content/uploads/2024/12/image-137.png" alt="" class="wp-image-39037" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-137.png 1146w, https://lycos7560.com/wp-content/uploads/2024/12/image-137-300x170.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-137-768x436.png 768w" sizes="(max-width: 1146px) 100vw, 1146px" /><figcaption class="wp-element-caption">mdadm &#8211;detail /dev/md1</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1135" height="727" src="https://lycos7560.com/wp-content/uploads/2024/12/image-138.png" alt="" class="wp-image-39038" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-138.png 1135w, https://lycos7560.com/wp-content/uploads/2024/12/image-138-300x192.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-138-768x492.png 768w" sizes="(max-width: 1135px) 100vw, 1135px" /><figcaption class="wp-element-caption">mdadm &#8211;detail /dev/md5</figcaption></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">5. RAID 0 1 5 복구</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="512" height="516" src="https://lycos7560.com/wp-content/uploads/2024/12/image-139.png" alt="" class="wp-image-39039" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-139.png 512w, https://lycos7560.com/wp-content/uploads/2024/12/image-139-298x300.png 298w, https://lycos7560.com/wp-content/uploads/2024/12/image-139-150x150.png 150w" sizes="(max-width: 512px) 100vw, 512px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=QnyVr_peYx8&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=38" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=QnyVr_peYx8&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=38</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p>제거한 하드 3개 추가</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1050" height="771" src="https://lycos7560.com/wp-content/uploads/2024/12/image-140.png" alt="" class="wp-image-39040" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-140.png 1050w, https://lycos7560.com/wp-content/uploads/2024/12/image-140-300x220.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-140-768x564.png 768w" sizes="(max-width: 1050px) 100vw, 1050px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="893" height="779" src="https://lycos7560.com/wp-content/uploads/2024/12/image-141.png" alt="" class="wp-image-39041" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-141.png 893w, https://lycos7560.com/wp-content/uploads/2024/12/image-141-300x262.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-141-768x670.png 768w" sizes="(max-width: 893px) 100vw, 893px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1050" height="804" src="https://lycos7560.com/wp-content/uploads/2024/12/image-142.png" alt="" class="wp-image-39042" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-142.png 1050w, https://lycos7560.com/wp-content/uploads/2024/12/image-142-300x230.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-142-768x588.png 768w" sizes="(max-width: 1050px) 100vw, 1050px" /><figcaption class="wp-element-caption">SCSI 확인 후 2개 더 추가 생성</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1376" height="701" src="https://lycos7560.com/wp-content/uploads/2024/12/image-143.png" alt="" class="wp-image-39043" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-143.png 1376w, https://lycos7560.com/wp-content/uploads/2024/12/image-143-300x153.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-143-768x391.png 768w" sizes="(max-width: 1376px) 100vw, 1376px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 추가된 목록 확인
ls -l /dev/sd*</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="806" height="473" src="https://lycos7560.com/wp-content/uploads/2024/12/image-144.png" alt="" class="wp-image-39044" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-144.png 806w, https://lycos7560.com/wp-content/uploads/2024/12/image-144-300x176.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-144-768x451.png 768w" sizes="(max-width: 806px) 100vw, 806px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 새로운 파티션 생성 (리눅스 오토 fd)
fdisk /dev/sdc
fdisk /dev/sde
fdisk /dev/sdg</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1177" height="729" src="https://lycos7560.com/wp-content/uploads/2024/12/image-145.png" alt="" class="wp-image-39045" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-145.png 1177w, https://lycos7560.com/wp-content/uploads/2024/12/image-145-300x186.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-145-768x476.png 768w" sizes="(max-width: 1177px) 100vw, 1177px" /><figcaption class="wp-element-caption">나머지 2개도 반복</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="736" height="458" src="https://lycos7560.com/wp-content/uploads/2024/12/image-147.png" alt="" class="wp-image-39048" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-147.png 736w, https://lycos7560.com/wp-content/uploads/2024/12/image-147-300x187.png 300w" sizes="(max-width: 736px) 100vw, 736px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# ext4 파일 시스템 생성
mkfs.ext4 /dev/sdc1
mkfs.ext4 /dev/sde1
mkfs.ext4 /dev/sdg1
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1122" height="742" src="https://lycos7560.com/wp-content/uploads/2024/12/image-146.png" alt="" class="wp-image-39047" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-146.png 1122w, https://lycos7560.com/wp-content/uploads/2024/12/image-146-300x198.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-146-768x508.png 768w" sizes="(max-width: 1122px) 100vw, 1122px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">- RAID 0 재생성 -

# 확인
mdadm --detail --scan

# 상세확인 (Raid 0이 md127로 변경됨)
mdadm --detail /dev/md127

# RAID 중지
mdadm --stop /dev/md127

# RAID 재생성
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdb1 /dev/sdc1</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1064" height="680" src="https://lycos7560.com/wp-content/uploads/2024/12/image-148.png" alt="" class="wp-image-39049" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-148.png 1064w, https://lycos7560.com/wp-content/uploads/2024/12/image-148-300x192.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-148-768x491.png 768w" sizes="(max-width: 1064px) 100vw, 1064px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># UUID 수정
sudo gedit /etc/mdadm/mdadm.conf

sudo update-initramfs -u

sudo mount /dev/md0 /raid0

gedit /etc/fstab

systemctl daeon-reload</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1183" height="655" src="https://lycos7560.com/wp-content/uploads/2024/12/image-149.png" alt="" class="wp-image-39061" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-149.png 1183w, https://lycos7560.com/wp-content/uploads/2024/12/image-149-300x166.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-149-768x425.png 768w" sizes="(max-width: 1183px) 100vw, 1183px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="1187" height="168" src="https://lycos7560.com/wp-content/uploads/2024/12/image-150.png" alt="" class="wp-image-39051" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-150.png 1187w, https://lycos7560.com/wp-content/uploads/2024/12/image-150-300x42.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-150-768x109.png 768w" sizes="(max-width: 1187px) 100vw, 1187px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="950" height="568" src="https://lycos7560.com/wp-content/uploads/2024/12/image-151.png" alt="" class="wp-image-39052" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-151.png 950w, https://lycos7560.com/wp-content/uploads/2024/12/image-151-300x179.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-151-768x459.png 768w" sizes="(max-width: 950px) 100vw, 950px" /></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">- RAID 1 은 재생성이 아닌 추가 -

# 상세 확인
mdadm --detail /dev/md1
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="825" height="653" src="https://lycos7560.com/wp-content/uploads/2024/12/image-152.png" alt="" class="wp-image-39053" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-152.png 825w, https://lycos7560.com/wp-content/uploads/2024/12/image-152-300x237.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-152-768x608.png 768w" sizes="(max-width: 825px) 100vw, 825px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">
# Raid에 추가
mdadm /dev/md1 --add /dev/sde1

# Raid 확인
mdadm --detail /dev/md1

# 파일 확인
ls -l /raid1</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1022" height="689" src="https://lycos7560.com/wp-content/uploads/2024/12/image-153.png" alt="" class="wp-image-39054" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-153.png 1022w, https://lycos7560.com/wp-content/uploads/2024/12/image-153-300x202.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-153-768x518.png 768w" sizes="(max-width: 1022px) 100vw, 1022px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="856" height="176" src="https://lycos7560.com/wp-content/uploads/2024/12/image-154.png" alt="" class="wp-image-39055" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-154.png 856w, https://lycos7560.com/wp-content/uploads/2024/12/image-154-300x62.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-154-768x158.png 768w" sizes="(max-width: 856px) 100vw, 856px" /></figure>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">- RAID 5 는 재생성이 아닌 추가 -

# 상세 확인
mdadm --detail /dev/md5
</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1119" height="716" src="https://lycos7560.com/wp-content/uploads/2024/12/image-155.png" alt="" class="wp-image-39056" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-155.png 1119w, https://lycos7560.com/wp-content/uploads/2024/12/image-155-300x192.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-155-768x491.png 768w" sizes="(max-width: 1119px) 100vw, 1119px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Raid에 추가
mdadm /dev/md5 --add /dev/sdg1

# Raid 확인
mdadm --detail /dev/md5

# 파일 확인
ls -l /raid5</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="1177" height="692" src="https://lycos7560.com/wp-content/uploads/2024/12/image-156.png" alt="" class="wp-image-39057" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-156.png 1177w, https://lycos7560.com/wp-content/uploads/2024/12/image-156-300x176.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-156-768x452.png 768w" sizes="(max-width: 1177px) 100vw, 1177px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="784" height="174" src="https://lycos7560.com/wp-content/uploads/2024/12/image-157.png" alt="" class="wp-image-39058" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-157.png 784w, https://lycos7560.com/wp-content/uploads/2024/12/image-157-300x67.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-157-768x170.png 768w" sizes="(max-width: 784px) 100vw, 784px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># Raid 전부 확인
mdadm --detail --scan</pre>



<figure class="wp-block-image size-full"><img decoding="async" width="674" height="120" src="https://lycos7560.com/wp-content/uploads/2024/12/image-158.png" alt="" class="wp-image-39059" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-158.png 674w, https://lycos7560.com/wp-content/uploads/2024/12/image-158-300x53.png 300w" sizes="(max-width: 674px) 100vw, 674px" /></figure>



<p></p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/">Ubuntu &#8211; RAID 0, 1, 5 실습</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>RAID (Redundant Array of Independent/Inexpensive Disks)</title>
		<link>https://lycos7560.com/ubuntu/raid-redundant-array-of-independent-inexpensive-disks/38954/</link>
					<comments>https://lycos7560.com/ubuntu/raid-redundant-array-of-independent-inexpensive-disks/38954/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Thu, 05 Dec 2024 06:13:25 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[Data Integrity]]></category>
		<category><![CDATA[Data Protection]]></category>
		<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Data Redundancy]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[Disk Failure]]></category>
		<category><![CDATA[File System]]></category>
		<category><![CDATA[Hard Disk]]></category>
		<category><![CDATA[Hardware RAID]]></category>
		<category><![CDATA[High Availability]]></category>
		<category><![CDATA[Linear RAID]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[Mirroring]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Parity]]></category>
		<category><![CDATA[Partition]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Performance Degradation]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[RAID 0]]></category>
		<category><![CDATA[RAID 1]]></category>
		<category><![CDATA[RAID 5]]></category>
		<category><![CDATA[RAID 6]]></category>
		<category><![CDATA[Read Speed]]></category>
		<category><![CDATA[Recovery Time]]></category>
		<category><![CDATA[Reliability]]></category>
		<category><![CDATA[Scalability]]></category>
		<category><![CDATA[Software RAID]]></category>
		<category><![CDATA[Space Efficiency]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[storage management]]></category>
		<category><![CDATA[Storage Space]]></category>
		<category><![CDATA[Striping]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[System Configuration]]></category>
		<category><![CDATA[Write Speed]]></category>
		<category><![CDATA[고가용성]]></category>
		<category><![CDATA[공간 효율성]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[데이터 무결성]]></category>
		<category><![CDATA[데이터 보호]]></category>
		<category><![CDATA[데이터 복구]]></category>
		<category><![CDATA[데이터 중복성]]></category>
		<category><![CDATA[디스크]]></category>
		<category><![CDATA[디스크 손상]]></category>
		<category><![CDATA[레이드]]></category>
		<category><![CDATA[레이드 0]]></category>
		<category><![CDATA[레이드 1]]></category>
		<category><![CDATA[레이드 5]]></category>
		<category><![CDATA[레이드 6]]></category>
		<category><![CDATA[미러링]]></category>
		<category><![CDATA[복구 시간]]></category>
		<category><![CDATA[부팅]]></category>
		<category><![CDATA[성능]]></category>
		<category><![CDATA[성능 저하]]></category>
		<category><![CDATA[소프트웨어 RAID]]></category>
		<category><![CDATA[스토리지]]></category>
		<category><![CDATA[스토리지 관리]]></category>
		<category><![CDATA[스트라이핑]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[시스템 설정]]></category>
		<category><![CDATA[쓰기 속도]]></category>
		<category><![CDATA[안정성]]></category>
		<category><![CDATA[우분투]]></category>
		<category><![CDATA[운영 체제]]></category>
		<category><![CDATA[읽기 속도]]></category>
		<category><![CDATA[저장 공간]]></category>
		<category><![CDATA[코테]]></category>
		<category><![CDATA[파일 시스템]]></category>
		<category><![CDATA[파티션]]></category>
		<category><![CDATA[패리티]]></category>
		<category><![CDATA[하드 디스크]]></category>
		<category><![CDATA[하드웨어 RAID]]></category>
		<category><![CDATA[확장성]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=38954</guid>

					<description><![CDATA[<p>RAID RAID의 정의 RAID(Redundant Array of Independent/Inexpensive Disks) 여러 개의 하드 드라이브를 하나의 논리적 스토리지 단위로 결합하여 성능, 안정성, 또는 데이터 중복성을 향상시키는 기술 RAID는 데이터 저장 방식을 통해 디스크 오류로 인한 데이터 손실 가능성을 중이고, 읽기/쓰기 성능을 향상시키는 데 사용 하드웨어 / 소프트웨어 RAID RAID 사용하는 이유 데이터 중복성: 중요한 데이터를 보호하기 위해 백업과 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/ubuntu/raid-redundant-array-of-independent-inexpensive-disks/38954/">RAID (Redundant Array of Independent/Inexpensive Disks)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-a5af20b5      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid" class="uagb-toc-link__trigger">RAID</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid의-정의" class="uagb-toc-link__trigger">RAID의 정의</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#하드웨어-소프트웨어-raid" class="uagb-toc-link__trigger">하드웨어 / 소프트웨어 RAID</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-사용하는-이유" class="uagb-toc-link__trigger">RAID 사용하는 이유</a></li></ul></li><li class="uagb-toc__list"><a href="#각-raid-방식의-비교-software" class="uagb-toc-link__trigger">각 RAID 방식의 비교 &#8211; Software</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#linear-raid" class="uagb-toc-link__trigger">Linear RAID</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-0" class="uagb-toc-link__trigger">RAID 0</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-1" class="uagb-toc-link__trigger">RAID 1</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-5" class="uagb-toc-link__trigger">RAID 5</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#raid-6" class="uagb-toc-link__trigger">RAID 6</a></ul></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">RAID</h2>



<h3 class="wp-block-heading">RAID의 정의</h3>



<p>RAID(Redundant Array of Independent/Inexpensive Disks)</p>



<p>여러 개의 하드 드라이브를 하나의 논리적 스토리지 단위로 결합하여 성능, 안정성, 또는 데이터 중복성을 향상시키는 기술</p>



<p>RAID는 데이터 저장 방식을 통해 디스크 오류로 인한 데이터 손실 가능성을 중이고, 읽기/쓰기 성능을 향상시키는 데 사용</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">하드웨어 / 소프트웨어 RAID</h3>



<ul class="wp-block-list">
<li>Hardware RAID : 하드웨어 제조업체에서 여러 개의 하드디스크를 가지고 장비를 만들어서 공급 [안정적 / 고비용]</li>
</ul>



<figure class="wp-block-image size-full"><img decoding="async" width="723" height="402" src="https://lycos7560.com/wp-content/uploads/2024/12/image-67.jpg" alt="" class="wp-image-38955" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-67.jpg 723w, https://lycos7560.com/wp-content/uploads/2024/12/image-67-300x167.jpg 300w" sizes="(max-width: 723px) 100vw, 723px" /><figcaption class="wp-element-caption"><a href="https://www.stevenjlee.net/2020/03/01/%EC%9D%B4%ED%95%B4%ED%95%98%EA%B8%B0-raid-%EA%B5%AC%ED%98%84-%EB%B0%A9%EC%8B%9D%EA%B3%BC-%EC%A2%85%EB%A5%98%EC%97%90-%EB%8C%80%ED%95%98%EC%97%AC/" target="_blank" rel="noreferrer noopener">https://www.stevenjlee.net/2020/03/01/%EC%9D%B4%ED%95%B4%ED%95%98%EA%B8%B0-raid-%EA%B5%AC%ED%98%84-%EB%B0%A9%EC%8B%9D%EA%B3%BC-%EC%A2%85%EB%A5%98%EC%97%90-%EB%8C%80%ED%95%98%EC%97%AC/</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<ul class="wp-block-list">
<li>Software RAID : 운영체제에서 RAID를 지원하는 방식, 리눅스 운영체제에서 지원 [저비용]</li>
</ul>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 사용하는 이유</h3>



<p>데이터 중복성: 중요한 데이터를 보호하기 위해 백업과 유사한 역할을 수행</p>



<p>성능 향상: 병렬 데이터 접근으로 읽기/쓰기 속도를 증가</p>



<p>확장성: 단일 대용량 디스크 대신 여러 디스크를 사용해 유연성을 제공</p>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading"> 각 RAID 방식의 비교 &#8211; Software </h2>



<figure class="wp-block-image size-full"><img decoding="async" width="774" height="493" src="https://lycos7560.com/wp-content/uploads/2024/12/image-67-1.jpg" alt="" class="wp-image-38956" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-67-1.jpg 774w, https://lycos7560.com/wp-content/uploads/2024/12/image-67-1-300x191.jpg 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-67-1-768x489.jpg 768w" sizes="(max-width: 774px) 100vw, 774px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34</a></figcaption></figure>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">Linear RAID</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="154" height="384" src="https://lycos7560.com/wp-content/uploads/2024/12/image-67.png" alt="" class="wp-image-38957" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-67.png 154w, https://lycos7560.com/wp-content/uploads/2024/12/image-67-120x300.png 120w" sizes="(max-width: 154px) 100vw, 154px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p>여러 개의 디스크를 <strong>하나의 논리적인 단일 디스크</strong>로 병합하는 RAID 방식</p>



<p>데이터를 디스크에 <strong>순차적</strong>으로 저장하는 방식으로 동작</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Linear RAID의 주요 특징</h4>



<ol class="wp-block-list">
<li><strong>순차적인 데이터 저장</strong>
<ul class="wp-block-list">
<li>첫 번째 디스크가 가득 차면 다음 디스크에 데이터를 계속 저장합니다.</li>



<li>데이터를 병렬로 분산(스트라이핑)하지 않습니다.</li>
</ul>
</li>



<li><strong>중복성 없음</strong>
<ul class="wp-block-list">
<li>Linear RAID는 데이터 복제나 중복성을 제공하지 않기 때문에 디스크 하나라도 손상되면 전체 데이터가 손실될 가능성이 높습니다.</li>
</ul>
</li>



<li><strong>성능</strong>
<ul class="wp-block-list">
<li>읽기/쓰기 속도가 병렬 처리되지 않아 단일 디스크와 동일한 수준의 성능을 가집니다.</li>
</ul>
</li>



<li><strong>디스크 공간 효율</strong>
<ul class="wp-block-list">
<li>모든 디스크 용량이 결합되므로 전체 디스크 용량을 100% 활용할 수 있습니다.</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Linear RAID의 장점</h4>



<ol class="wp-block-list">
<li><strong>구성 간단</strong>
<ul class="wp-block-list">
<li>복잡한 설정이나 전용 하드웨어가 필요하지 않음</li>



<li>소프트웨어 RAID 도구(e.g., <code>mdadm</code>)를 사용하여 쉽게 구성 가능.</li>
</ul>
</li>



<li><strong>저렴한 비용</strong>
<ul class="wp-block-list">
<li>모든 디스크를 그대로 사용할 수 있어 비용 효율적</li>
</ul>
</li>



<li><strong>유연성</strong>
<ul class="wp-block-list">
<li>서로 다른 크기의 디스크를 결합(예: 1TB + 500GB 디스크 = 1.5TB)</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">Linear RAID의 단점</h4>



<ol class="wp-block-list">
<li><strong>데이터 안정성 부족</strong>
<ul class="wp-block-list">
<li>하나의 디스크라도 손상되면 전체 볼륨이 손실</li>



<li>데이터 중복성이 없으므로 RAID 1이나 RAID 5처럼 복구 기능을 제공하지 않음</li>
</ul>
</li>



<li><strong>성능 향상 없음</strong>
<ul class="wp-block-list">
<li>데이터를 병렬로 읽거나 쓰지 않으므로 읽기/쓰기 성능이 향상되지 않음</li>
</ul>
</li>



<li><strong>확장성 문제</strong>
<ul class="wp-block-list">
<li>기존 Linear RAID 배열에 새 디스크를 추가하기 어려움. 추가하려면 배열을 다시 구성해야함</li>
</ul>
</li>
</ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 0</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="166" height="387" src="https://lycos7560.com/wp-content/uploads/2024/12/image-68.png" alt="" class="wp-image-38958" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-68.png 166w, https://lycos7560.com/wp-content/uploads/2024/12/image-68-129x300.png 129w" sizes="(max-width: 166px) 100vw, 166px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p><strong>스트라이핑(Striping)</strong> 기술을 사용하는 RAID의 한 유형으로, 데이터를 여러 디스크에 분산 저장하여 <strong>성능 향상</strong>에 중점을 둔 구성</p>



<p>중복성이나 데이터 복구 기능은 없지만, 빠른 읽기/쓰기 속도를 제공</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 0의 주요 특징</h4>



<ol class="wp-block-list">
<li><strong>스트라이핑(Striping)</strong>
<ul class="wp-block-list">
<li>데이터를 작은 단위(스트라이프)로 나누어 여러 디스크에 병렬로 저장</li>



<li>예: 4KB 데이터를 2개의 디스크에 2KB씩 나누어 저장</li>
</ul>
</li>



<li><strong>데이터 중복성 없음</strong>
<ul class="wp-block-list">
<li>백업 기능이 없기 때문에 디스크 하나만 손상되어도 전체 데이터가 손실</li>
</ul>
</li>



<li><strong>성능 향상</strong>
<ul class="wp-block-list">
<li>읽기/쓰기 작업을 병렬로 처리하므로 단일 디스크보다 속도가 크게 향상</li>



<li>디스크가 많을수록 성능이 비례적으로 증가</li>
</ul>
</li>



<li><strong>디스크 용량 효율</strong>
<ul class="wp-block-list">
<li>디스크의 용량을 100% 활용 가능</li>



<li>예: 1TB + 1TB 디스크 → RAID 0 용량 = 2TB</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 0의 장점</h4>



<ol class="wp-block-list">
<li><strong>최대 성능 제공</strong>
<ul class="wp-block-list">
<li>병렬 작업 덕분에 읽기 및 쓰기 성능이 매우 뛰어남</li>



<li>특히 대용량 데이터 전송이나 비디오 편집과 같은 고속 처리 작업에 적합</li>
</ul>
</li>



<li><strong>디스크 용량의 100% 사용</strong>
<ul class="wp-block-list">
<li>RAID 1처럼 일부 용량이 중복성에 사용되지 않으므로 모든 디스크 용량을 활용</li>
</ul>
</li>



<li><strong>구성이 간단</strong>
<ul class="wp-block-list">
<li>하드웨어 RAID 컨트롤러나 소프트웨어 RAID로 쉽게 설정 가능</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 0의 단점</h4>



<ol class="wp-block-list">
<li><strong>데이터 손실 위험</strong>
<ul class="wp-block-list">
<li>하나의 디스크라도 손상되면 전체 데이터가 손실</li>



<li>디스크 수가 많아질수록 고장 확률도 높아짐</li>
</ul>
</li>



<li><strong>데이터 복구 불가</strong>
<ul class="wp-block-list">
<li>RAID 1, 5, 6과 달리 복구 기능이 없어, 별도의 백업이 필수적</li>
</ul>
</li>
</ol>



<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 1</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="186" height="319" src="https://lycos7560.com/wp-content/uploads/2024/12/image-69.png" alt="" class="wp-image-38959" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-69.png 186w, https://lycos7560.com/wp-content/uploads/2024/12/image-69-175x300.png 175w" sizes="(max-width: 186px) 100vw, 186px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p><strong>미러링(Mirroring)</strong> 기술을 사용하는 RAID 레벨로, 동일한 데이터를 두 개 이상의 디스크에 복제하여 <strong>데이터 중복성</strong>과 <strong>안정성</strong>을 보장</p>



<p>하나의 디스크에 문제가 발생해도 나머지 디스크에서 데이터를 읽어올 수 있어 고가용성을 제공</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 1의 주요 특징</h4>



<ol class="wp-block-list">
<li><strong>미러링(Mirroring)</strong>
<ul class="wp-block-list">
<li>모든 데이터를 동일하게 두 개 이상의 디스크에 복사</li>



<li>디스크가 여러 개라도 용량은 하나의 디스크 용량으로 제한(디스크 하나는 복제본 역할)</li>
</ul>
</li>



<li><strong>높은 데이터 안정성</strong>
<ul class="wp-block-list">
<li>디스크 하나가 손상되더라도 데이터 손실 없이 복구 가능</li>



<li>RAID 0과 달리 높은 신뢰성을 제공</li>
</ul>
</li>



<li><strong>디스크 용량 효율</strong>
<ul class="wp-block-list">
<li>전체 디스크 용량의 50%만 사용 가능(나머지 50%는 복제본에 사용).</li>
</ul>
</li>



<li><strong>성능</strong>
<ul class="wp-block-list">
<li><strong>읽기 속도</strong>는 여러 디스크에서 데이터를 병렬로 읽을 수 있어 성능 향상이 가능</li>



<li><strong>쓰기 속도</strong>는 데이터를 모든 디스크에 복제해야 하므로 단일 디스크보다 약간 느릴 수 있음</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 1의 장점</h4>



<ol class="wp-block-list">
<li><strong>데이터 안정성</strong>
<ul class="wp-block-list">
<li>디스크 하나가 손상되더라도 복구 가능(단, 복구 시점 전까지는 추가 디스크 손상에 대비해야 함).</li>
</ul>
</li>



<li><strong>데이터 무결성 보장</strong>
<ul class="wp-block-list">
<li>중요한 데이터를 안전하게 보호 가능</li>
</ul>
</li>



<li><strong>읽기 성능 향상</strong>
<ul class="wp-block-list">
<li>여러 디스크에서 병렬로 데이터를 읽을 수 있어 읽기 작업이 빠름</li>
</ul>
</li>



<li><strong>구성이 간단</strong>
<ul class="wp-block-list">
<li>설정과 관리가 비교적 쉬운 편</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 1의 단점</h4>



<ol class="wp-block-list">
<li><strong>디스크 용량 효율 저하</strong>
<ul class="wp-block-list">
<li>2개의 디스크를 사용하더라도 실제로는 1개의 디스크 용량만 사용할 수 있음</li>
</ul>
</li>



<li><strong>비용 증가</strong>
<ul class="wp-block-list">
<li>동일 데이터를 저장하려면 2배의 디스크가 필요하므로 비용이 증가</li>
</ul>
</li>



<li><strong>쓰기 성능</strong>
<ul class="wp-block-list">
<li>모든 디스크에 데이터를 복제해야 하므로 쓰기 작업은 약간 느릴 수 있음</li>
</ul>
</li>
</ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 5</h3>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
<figure class="wp-block-image size-full"><img decoding="async" width="578" height="312" src="https://lycos7560.com/wp-content/uploads/2024/12/image-70.png" alt="" class="wp-image-38960" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-70.png 578w, https://lycos7560.com/wp-content/uploads/2024/12/image-70-300x162.png 300w" sizes="(max-width: 578px) 100vw, 578px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34</a></figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
<figure class="wp-block-image size-full"><img decoding="async" width="514" height="306" src="https://lycos7560.com/wp-content/uploads/2024/12/image-71.png" alt="" class="wp-image-38961" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-71.png 514w, https://lycos7560.com/wp-content/uploads/2024/12/image-71-300x179.png 300w" sizes="(max-width: 514px) 100vw, 514px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=0mRb3g8Gs18&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=34</a></figcaption></figure>
</div>
</div>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p>데이터를 스트라이핑(Striping) 방식으로 저장하면서, 각 디스크에 <strong>패리티(Parity)</strong> 정보를 분산 저장하는 RAID 레벨</p>



<p>성능과 데이터 안정성의 균형을 제공하며, <strong>최소 3개의 디스크</strong>가 필요</p>



<p>디스크 하나가 손상되더라도 패리티를 사용해 데이터를 복구할 수 있음</p>



<p>RAID 5가 RAID 2 ~ 4의 장점 및 특징을 가지고 있음</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 5의 주요 특징</h4>



<ol class="wp-block-list">
<li><strong>스트라이핑과 패리티</strong>
<ul class="wp-block-list">
<li>데이터를 스트라이핑(디스크 간 병렬로 나눠 저장)하여 성능 향상</li>



<li>디스크마다 <strong>패리티 정보</strong>를 분산 저장하여 데이터 복구 가능</li>



<li>예: 3개의 디스크 중 2개는 데이터 저장, 1개는 패리티 저장(순환 방식)</li>
</ul>
</li>



<li><strong>데이터 안정성</strong>
<ul class="wp-block-list">
<li>하나의 디스크가 손상되더라도 나머지 디스크와 패리티를 사용해 데이터 복구 가능</li>



<li>두 개 이상의 디스크가 손상되면 복구 불가</li>
</ul>
</li>



<li><strong>디스크 용량 효율</strong>
<ul class="wp-block-list">
<li>전체 디스크 중 하나의 디스크 용량은 패리티에 사용되므로, 총 용량 = (N &#8211; 1) x 단일 디스크 크기(N = 디스크 개수).</li>



<li>예: 4TB 디스크 4개 → RAID 5 용량 = 12TB (4TB는 패리티로 사용).</li>
</ul>
</li>



<li><strong>성능</strong>
<ul class="wp-block-list">
<li>읽기 작업: 스트라이핑 덕분에 빠름</li>



<li>쓰기 작업: 패리티 계산으로 인해 약간의 성능 저하 발생</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 5의 장점</h4>



<ol class="wp-block-list">
<li><strong>데이터 복구 가능</strong>
<ul class="wp-block-list">
<li>디스크 하나가 손상돼도 데이터 손실 없이 복구 가능</li>
</ul>
</li>



<li><strong>성능과 안정성의 균형</strong>
<ul class="wp-block-list">
<li>스트라이핑으로 읽기 성능이 좋고, 패리티로 안정성도 보장</li>
</ul>
</li>



<li><strong>공간 효율성</strong>
<ul class="wp-block-list">
<li>RAID 1보다 디스크 사용 효율이 높음</li>
</ul>
</li>



<li><strong>확장성</strong>
<ul class="wp-block-list">
<li>추가 디스크를 쉽게 추가할 수 있어 용량 확장 가능</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 5의 단점</h4>



<ol class="wp-block-list">
<li><strong>복구 시간 증가</strong>
<ul class="wp-block-list">
<li>디스크가 손상되었을 때 복구에 시간이 오래 걸릴 수 있음</li>



<li>복구 중 추가 디스크 손상 시 전체 데이터 손실</li>
</ul>
</li>



<li><strong>쓰기 성능 저하</strong>
<ul class="wp-block-list">
<li>패리티 계산 때문에 RAID 0보다 쓰기 속도가 느림</li>
</ul>
</li>



<li><strong>복잡한 구성</strong>
<ul class="wp-block-list">
<li>하드웨어 RAID 컨트롤러나 소프트웨어 RAID를 통해 구현해야 함</li>
</ul>
</li>
</ol>



<div style="height:50px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">RAID 6</h3>



<figure class="wp-block-image size-full"><img decoding="async" width="513" height="266" src="https://lycos7560.com/wp-content/uploads/2024/12/image-72.png" alt="" class="wp-image-38962" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-72.png 513w, https://lycos7560.com/wp-content/uploads/2024/12/image-72-300x156.png 300w" sizes="(max-width: 513px) 100vw, 513px" /><figcaption class="wp-element-caption"><a href="https://coolenjoy.net/bbs/review/476595" target="_blank" rel="noreferrer noopener">https://coolenjoy.net/bbs/review/476595</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<p><strong>RAID 6</strong>는 데이터를 스트라이핑(Striping) 방식으로 저장하면서, <strong>두 개의 패리티(Parity)</strong> 정보를 사용하여 <strong>최대 2개의 디스크가 동시에 손상</strong>되어도 데이터를 복구할 수 있는 고안정성 RAID 레벨</p>



<p>RAID 5와 비슷하지만, 패리티 블록을 두 개로 늘려 더 높은 안정성을 제공하며 <strong>최소 4개의 디스크</strong>가 필요</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 6의 주요 특징</h4>



<ol class="wp-block-list">
<li><strong>스트라이핑과 이중 패리티</strong>
<ul class="wp-block-list">
<li>데이터를 여러 디스크에 스트라이핑 방식으로 분산 저장</li>



<li>각 디스크에 두 개의 패리티를 저장하여, 디스크 두 개가 동시에 고장 나더라도 데이터를 복구 가능</li>
</ul>
</li>



<li><strong>높은 데이터 안정성</strong>
<ul class="wp-block-list">
<li>RAID 5보다 더 높은 안정성을 제공하며, 데이터 손실 가능성이 낮음</li>
</ul>
</li>



<li><strong>디스크 용량 효율</strong>
<ul class="wp-block-list">
<li>전체 디스크 중 2개는 패리티 저장에 사용되므로, 총 용량 = (N &#8211; 2) x 단일 디스크 크기(N = 디스크 개수)</li>



<li>예: 4TB 디스크 6개 → RAID 6 용량 = 16TB (8TB는 패리티에 사용)</li>
</ul>
</li>



<li><strong>성능</strong>
<ul class="wp-block-list">
<li>읽기 성능: 스트라이핑 덕분에 RAID 5 수준으로 빠름</li>



<li>쓰기 성능: 두 개의 패리티 계산으로 인해 RAID 5보다 느림</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 6의 장점</h4>



<ol class="wp-block-list">
<li><strong>높은 안정성</strong>
<ul class="wp-block-list">
<li>동시에 두 개의 디스크가 고장 나더라도 데이터 복구 가능</li>



<li>RAID 5보다 안정성이 크게 향상됨</li>
</ul>
</li>



<li><strong>공간 효율성</strong>
<ul class="wp-block-list">
<li>2개의 패리티를 사용하지만, 여전히 전체 디스크 용량의 대부분을 데이터 저장에 사용 가능</li>
</ul>
</li>



<li><strong>성능과 안정성의 균형</strong>
<ul class="wp-block-list">
<li>읽기 작업은 스트라이핑 덕분에 빠르고, 데이터 안정성도 보장</li>
</ul>
</li>



<li><strong>확장성</strong>
<ul class="wp-block-list">
<li>디스크를 추가하여 용량을 쉽게 확장 가능</li>
</ul>
</li>
</ol>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">RAID 6의 단점</h4>



<ol class="wp-block-list">
<li><strong>복잡한 패리티 계산</strong>
<ul class="wp-block-list">
<li>두 개의 패리티를 계산해야 하므로 쓰기 작업에서 RAID 5보다 성능이 더 낮음</li>



<li>쓰기 성능이 중요한 환경에서는 RAID 10이 더 적합할 수 있음</li>
</ul>
</li>



<li><strong>디스크 용량 감소</strong>
<ul class="wp-block-list">
<li>RAID 5보다 두 개의 디스크 용량을 패리티에 사용하므로 저장 공간 효율이 약간 낮음</li>
</ul>
</li>



<li><strong>복구 시간 증가</strong>
<ul class="wp-block-list">
<li>대용량 디스크가 많아질수록 복구 시간이 오래 걸리며, 복구 중 성능 저하가 발생할 수 있음</li>
</ul>
</li>
</ol>



<figure class="wp-block-embed is-type-wp-embed"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="LeTYSvBhZL"><a href="https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/">Ubuntu &#8211; RAID 0, 1, 5 실습</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Ubuntu &#8211; RAID 0, 1, 5 실습&#8221; &#8212; 어제와 내일의 나 그 사이의 이야기" src="https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/embed/#?secret=104oJdmrrf#?secret=LeTYSvBhZL" data-secret="LeTYSvBhZL" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed is-type-wp-embed"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="nGbNj6Y8Lu"><a href="https://lycos7560.com/ubuntu/raid-6-raid-1010/39072/">RAID 6, RAID 10(1+0)</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;RAID 6, RAID 10(1+0)&#8221; &#8212; 어제와 내일의 나 그 사이의 이야기" src="https://lycos7560.com/ubuntu/raid-6-raid-1010/39072/embed/#?secret=rrBtMrNFY4#?secret=nGbNj6Y8Lu" data-secret="nGbNj6Y8Lu" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>
<p>The post <a href="https://lycos7560.com/ubuntu/raid-redundant-array-of-independent-inexpensive-disks/38954/">RAID (Redundant Array of Independent/Inexpensive Disks)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/raid-redundant-array-of-independent-inexpensive-disks/38954/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu &#8211; Hard disk management (Add Disk)</title>
		<link>https://lycos7560.com/ubuntu/ubuntu-hard-disk-management-add-disk/38929/</link>
					<comments>https://lycos7560.com/ubuntu/ubuntu-hard-disk-management-add-disk/38929/#comments</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Thu, 05 Dec 2024 03:48:00 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[/etc/fstab]]></category>
		<category><![CDATA[Auto Mount]]></category>
		<category><![CDATA[Block Device]]></category>
		<category><![CDATA[Boot Loader]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Data Integrity]]></category>
		<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Device File]]></category>
		<category><![CDATA[Disk]]></category>
		<category><![CDATA[Disk Management]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[Filesystem Type]]></category>
		<category><![CDATA[Hard Drive]]></category>
		<category><![CDATA[Inode]]></category>
		<category><![CDATA[Journaling]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mkfs.ext4]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[Partition]]></category>
		<category><![CDATA[Partition Alignment]]></category>
		<category><![CDATA[Partition Table]]></category>
		<category><![CDATA[SATA]]></category>
		<category><![CDATA[SCSI]]></category>
		<category><![CDATA[study]]></category>
		<category><![CDATA[Superblock]]></category>
		<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[공부]]></category>
		<category><![CDATA[기초]]></category>
		<category><![CDATA[데이터 무결성]]></category>
		<category><![CDATA[데이터 복구]]></category>
		<category><![CDATA[디스크 관리]]></category>
		<category><![CDATA[리눅스]]></category>
		<category><![CDATA[마운트]]></category>
		<category><![CDATA[부트 로더]]></category>
		<category><![CDATA[블록 장치]]></category>
		<category><![CDATA[슈퍼블록]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[우분투]]></category>
		<category><![CDATA[인오드]]></category>
		<category><![CDATA[자동 마운트]]></category>
		<category><![CDATA[장치 파일]]></category>
		<category><![CDATA[저널링]]></category>
		<category><![CDATA[추가]]></category>
		<category><![CDATA[커맨드라인]]></category>
		<category><![CDATA[터미널]]></category>
		<category><![CDATA[파일 시스템]]></category>
		<category><![CDATA[파일 시스템 유형]]></category>
		<category><![CDATA[파티션]]></category>
		<category><![CDATA[파티션 정렬]]></category>
		<category><![CDATA[파티션 테이블]]></category>
		<category><![CDATA[하드 드라이브]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=38929</guid>

					<description><![CDATA[<p>현재는 물리적인 하드디스크가 장착되어 있는 상태 fdisk를 이용하여 파티셔닝을 해주어야 사용이 가능하다. n 명령어를 입력하여 새로운 파티션을 생성 파티션 타입을 선택하는 단계에서 p를 입력하여 기본 값인 primary 파티션을 선택 파티션 번호를 1로 설정 (기본적으로 MBR은 최대 4개의 주 파티션을 지원) 첫 번째 섹터를 기본 값인 2048로 설정(섹터 2048까지의 공간은 일반적으로 디스크의 메타데이터, 부트 로더, 파티션 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-hard-disk-management-add-disk/38929/">Ubuntu &#8211; Hard disk management (Add Disk)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">VMware® Workstation 17 Pro
Version 17.0.2</pre>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="502" height="351" src="https://lycos7560.com/wp-content/uploads/2024/12/image-45.png" alt="" class="wp-image-38930" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-45.png 502w, https://lycos7560.com/wp-content/uploads/2024/12/image-45-300x210.png 300w" sizes="(max-width: 502px) 100vw, 502px" /><figcaption class="wp-element-caption">Edit virtual machine settings</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="757" height="728" src="https://lycos7560.com/wp-content/uploads/2024/12/image-46.png" alt="" class="wp-image-38931" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-46.png 757w, https://lycos7560.com/wp-content/uploads/2024/12/image-46-300x289.png 300w" sizes="(max-width: 757px) 100vw, 757px" /><figcaption class="wp-element-caption">Add</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="757" height="729" src="https://lycos7560.com/wp-content/uploads/2024/12/image-47.png" alt="" class="wp-image-38932" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-47.png 757w, https://lycos7560.com/wp-content/uploads/2024/12/image-47-300x289.png 300w" sizes="(max-width: 757px) 100vw, 757px" /><figcaption class="wp-element-caption">HardDisk</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="761" height="731" src="https://lycos7560.com/wp-content/uploads/2024/12/image-48.png" alt="" class="wp-image-38933" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-48.png 761w, https://lycos7560.com/wp-content/uploads/2024/12/image-48-300x288.png 300w" sizes="(max-width: 761px) 100vw, 761px" /><figcaption class="wp-element-caption">SCSI 선택</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="761" height="732" src="https://lycos7560.com/wp-content/uploads/2024/12/image-49.png" alt="" class="wp-image-38934" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-49.png 761w, https://lycos7560.com/wp-content/uploads/2024/12/image-49-300x289.png 300w" sizes="(max-width: 761px) 100vw, 761px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="761" height="732" src="https://lycos7560.com/wp-content/uploads/2024/12/image-50.png" alt="" class="wp-image-38935" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-50.png 761w, https://lycos7560.com/wp-content/uploads/2024/12/image-50-300x289.png 300w" sizes="(max-width: 761px) 100vw, 761px" /><figcaption class="wp-element-caption">테스트용 1GB, Store virtual disk as single file 로 설정 (하나의 파일로 관리)</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="439" height="424" src="https://lycos7560.com/wp-content/uploads/2024/12/image-51.png" alt="" class="wp-image-38936" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-51.png 439w, https://lycos7560.com/wp-content/uploads/2024/12/image-51-300x290.png 300w" sizes="(max-width: 439px) 100vw, 439px" /><figcaption class="wp-element-caption">파일의 이름을 설정</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="756" height="732" src="https://lycos7560.com/wp-content/uploads/2024/12/image-52.png" alt="" class="wp-image-38937" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-52.png 756w, https://lycos7560.com/wp-content/uploads/2024/12/image-52-300x290.png 300w" sizes="(max-width: 756px) 100vw, 756px" /><figcaption class="wp-element-caption">추가된 디스크 확인</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="751" height="725" src="https://lycos7560.com/wp-content/uploads/2024/12/image-53.png" alt="" class="wp-image-38938" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-53.png 751w, https://lycos7560.com/wp-content/uploads/2024/12/image-53-300x290.png 300w" sizes="(max-width: 751px) 100vw, 751px" /><figcaption class="wp-element-caption">SCSI 0:1 New Hard Disk에 확인됨 </figcaption></figure>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
<figure class="wp-block-image size-full"><img decoding="async" width="526" height="349" src="https://lycos7560.com/wp-content/uploads/2024/12/image-54.png" alt="" class="wp-image-38939" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-54.png 526w, https://lycos7560.com/wp-content/uploads/2024/12/image-54-300x199.png 300w" sizes="(max-width: 526px) 100vw, 526px" /></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
<figure class="wp-block-image size-full"><img decoding="async" width="358" height="169" src="https://lycos7560.com/wp-content/uploads/2024/12/image-55.png" alt="" class="wp-image-38940" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-55.png 358w, https://lycos7560.com/wp-content/uploads/2024/12/image-55-300x142.png 300w" sizes="(max-width: 358px) 100vw, 358px" /></figure>
</div>
</div>



<p></p>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 확인
ls /dev/sd*</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="499" height="306" src="https://lycos7560.com/wp-content/uploads/2024/12/image-57.png" alt="" class="wp-image-38942" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-57.png 499w, https://lycos7560.com/wp-content/uploads/2024/12/image-57-300x184.png 300w" sizes="(max-width: 499px) 100vw, 499px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=9mJznB0ckjo&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=33" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=9mJznB0ckjo&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=33</a></figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1103" height="280" src="https://lycos7560.com/wp-content/uploads/2024/12/image-56.png" alt="" class="wp-image-38941" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-56.png 1103w, https://lycos7560.com/wp-content/uploads/2024/12/image-56-300x76.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-56-768x195.png 768w" sizes="(max-width: 1103px) 100vw, 1103px" /></figure>



<p>현재는 물리적인 하드디스크가 장착되어 있는 상태 fdisk를 이용하여 파티셔닝을 해주어야 사용이 가능하다.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1209" height="561" src="https://lycos7560.com/wp-content/uploads/2024/12/image-58.png" alt="" class="wp-image-38943" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-58.png 1209w, https://lycos7560.com/wp-content/uploads/2024/12/image-58-300x139.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-58-768x356.png 768w" sizes="(max-width: 1209px) 100vw, 1209px" /></figure>



<p><code>n</code> 명령어를 입력하여 새로운 파티션을 생성</p>



<p>파티션 타입을 선택하는 단계에서 <code>p</code>를 입력하여 기본 값인 primary 파티션을 선택</p>



<p>파티션 번호를 1로 설정 (기본적으로 MBR은 최대 4개의 주 파티션을 지원)</p>



<p>첫 번째 섹터를 기본 값인 2048로 설정<br>(섹터 2048까지의 공간은 일반적으로 디스크의 메타데이터, 부트 로더, 파티션 테이블 등과 같은 시스템 관리 정보가 저장되는 영역)</p>



<p>마지막 섹터를 기본 값인 2097151로 설정하여 파티션 크기를 1023 MiB 만듬</p>



<figure class="wp-block-image size-full"><img decoding="async" width="734" height="305" src="https://lycos7560.com/wp-content/uploads/2024/12/image-59.png" alt="" class="wp-image-38944" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-59.png 734w, https://lycos7560.com/wp-content/uploads/2024/12/image-59-300x125.png 300w" sizes="(max-width: 734px) 100vw, 734px" /><figcaption class="wp-element-caption">p 명령어를 이용하여 정보확인</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="750" height="157" src="https://lycos7560.com/wp-content/uploads/2024/12/image-60.png" alt="" class="wp-image-38945" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-60.png 750w, https://lycos7560.com/wp-content/uploads/2024/12/image-60-300x63.png 300w" sizes="(max-width: 750px) 100vw, 750px" /><figcaption class="wp-element-caption">W 명령어로 설정 저장</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="846" height="389" src="https://lycos7560.com/wp-content/uploads/2024/12/image-61.png" alt="" class="wp-image-38946" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-61.png 846w, https://lycos7560.com/wp-content/uploads/2024/12/image-61-300x138.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-61-768x353.png 768w" sizes="(max-width: 846px) 100vw, 846px" /><figcaption class="wp-element-caption">ext4 파일 시스템 생성 (리눅스에서 해당 파티션을 관리하고 사용)</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<p>만약 해당 디스크를 mount하려고 하는 폴더에 파일이 있다면? </p>



<figure class="wp-block-image size-full"><img decoding="async" width="500" height="262" src="https://lycos7560.com/wp-content/uploads/2024/12/image-62.png" alt="" class="wp-image-38947" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-62.png 500w, https://lycos7560.com/wp-content/uploads/2024/12/image-62-300x157.png 300w" sizes="(max-width: 500px) 100vw, 500px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=9mJznB0ckjo&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=33" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=9mJznB0ckjo&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=33</a></figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="503" height="261" src="https://lycos7560.com/wp-content/uploads/2024/12/image-63.png" alt="" class="wp-image-38948" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-63.png 503w, https://lycos7560.com/wp-content/uploads/2024/12/image-63-300x156.png 300w" sizes="(max-width: 503px) 100vw, 503px" /><figcaption class="wp-element-caption"><a href="https://www.youtube.com/watch?v=9mJznB0ckjo&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=33" target="_blank" rel="noreferrer noopener">https://www.youtube.com/watch?v=9mJznB0ckjo&amp;list=PLVsNizTWUw7HAcyW6bma7trGJfiTSDA44&amp;index=33</a></figcaption></figure>



<p>/mydata 폴더는 마운트된 곳을 가르키고 원래 파일을 볼 수 없음 (마운트 해제 원래 파일을 볼 수 있다.) </p>



<figure class="wp-block-image size-full"><img decoding="async" width="710" height="321" src="https://lycos7560.com/wp-content/uploads/2024/12/image-64.png" alt="" class="wp-image-38949" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-64.png 710w, https://lycos7560.com/wp-content/uploads/2024/12/image-64-300x136.png 300w" sizes="(max-width: 710px) 100vw, 710px" /><figcaption class="wp-element-caption">원래 디렉토리의 파일(<code>dummy.img</code>)은 일시적으로 접근할 수 없음</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<p>리부팅 때마다 마운트를 할 수 없으므로 </p>



<p><code>/etc/fstab</code> 에 등록하여 자동으로 마운트 </p>



<figure class="wp-block-image size-full"><img decoding="async" width="883" height="345" src="https://lycos7560.com/wp-content/uploads/2024/12/image-65.png" alt="" class="wp-image-38950" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-65.png 883w, https://lycos7560.com/wp-content/uploads/2024/12/image-65-300x117.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-65-768x300.png 768w" sizes="(max-width: 883px) 100vw, 883px" /></figure>



<pre class="EnlighterJSRAW" data-enlighter-language="raw" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">/dev/sdb1 /mydata ext4 defaults 0 0

# 뒤 ext4 defaults 0 0 는 거의 고</pre>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<p><code>/dev/sdb1</code>:</p>



<ul class="wp-block-list">
<li><strong>파일 시스템 장치</strong>: 디스크의 특정 파티션</li>
</ul>



<p><code>/mydata</code>:</p>



<ul class="wp-block-list">
<li><strong>마운트 지점</strong>: 파일 시스템이 마운트될 디렉토리</li>
</ul>



<p><code>ext4</code>:</p>



<ul class="wp-block-list">
<li><strong>파일 시스템 타입</strong>: 사용되는 파일 시스템의 종류, ext4 파일 시스템을 사용</li>
</ul>



<p><code>defaults</code>:</p>



<ul class="wp-block-list">
<li><strong>마운트 옵션</strong>: 기본 마운트 옵션을 사용<br>기본 옵션에는 <code>rw</code>, <code>suid</code>, <code>dev</code>, <code>exec</code>, <code>auto</code>, <code>nouser</code>, <code>async</code>가 포함</li>
</ul>



<p><code>0</code>:</p>



<ul class="wp-block-list">
<li><strong>덤프 옵션</strong>: 파일 시스템 덤프 유틸리티인 <code>dump</code> 명령어가 이 파일 시스템을 백업할지를 나타냅니다. 0은 백업하지 않음을 의미합니다.</li>
</ul>



<p><code>0</code>:</p>



<ul class="wp-block-list">
<li><strong>fsck 옵션</strong>: 시스템 부팅 시 파일 시스템 무결성을 검사할지를 나타냅니다. 0은 검사를 하지 않음을 의미합니다.</li>
</ul>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="826" height="347" src="https://lycos7560.com/wp-content/uploads/2024/12/image-66.png" alt="" class="wp-image-38951" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-66.png 826w, https://lycos7560.com/wp-content/uploads/2024/12/image-66-300x126.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-66-768x323.png 768w" sizes="(max-width: 826px) 100vw, 826px" /><figcaption class="wp-element-caption">재부팅 이후 mount 확인</figcaption></figure>



<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed is-type-wp-embed"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="F0rGeM1esA"><a href="https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/">Ubuntu &#8211; RAID 0, 1, 5 실습</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Ubuntu &#8211; RAID 0, 1, 5 실습&#8221; &#8212; 어제와 내일의 나 그 사이의 이야기" src="https://lycos7560.com/ubuntu/ubuntu-raid-0-1-5-%ec%8b%a4%ec%8a%b5/38964/embed/#?secret=vCWGI4ll8U#?secret=F0rGeM1esA" data-secret="F0rGeM1esA" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<p></p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-hard-disk-management-add-disk/38929/">Ubuntu &#8211; Hard disk management (Add Disk)</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/ubuntu-hard-disk-management-add-disk/38929/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu – Process 프로세스</title>
		<link>https://lycos7560.com/ubuntu/ubuntu-process-%ed%94%84%eb%a1%9c%ec%84%b8%ec%8a%a4/38880/</link>
					<comments>https://lycos7560.com/ubuntu/ubuntu-process-%ed%94%84%eb%a1%9c%ec%84%b8%ec%8a%a4/38880/#respond</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Mon, 02 Dec 2024 14:10:05 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[command options]]></category>
		<category><![CDATA[command output]]></category>
		<category><![CDATA[CPU usage]]></category>
		<category><![CDATA[CPU 사용률]]></category>
		<category><![CDATA[debug processes]]></category>
		<category><![CDATA[file descriptor]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[memory usage]]></category>
		<category><![CDATA[performance monitoring]]></category>
		<category><![CDATA[PID]]></category>
		<category><![CDATA[process filtering]]></category>
		<category><![CDATA[process hierarchy]]></category>
		<category><![CDATA[process ID]]></category>
		<category><![CDATA[process information]]></category>
		<category><![CDATA[Process Management]]></category>
		<category><![CDATA[process owner]]></category>
		<category><![CDATA[process statistics]]></category>
		<category><![CDATA[process tree]]></category>
		<category><![CDATA[process tree structure]]></category>
		<category><![CDATA[process visualization]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[ps command examples]]></category>
		<category><![CDATA[ps 명령어 예시]]></category>
		<category><![CDATA[ps명령어]]></category>
		<category><![CDATA[real-time monitoring]]></category>
		<category><![CDATA[resource management]]></category>
		<category><![CDATA[root processes]]></category>
		<category><![CDATA[security context]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[server maintenance]]></category>
		<category><![CDATA[server management]]></category>
		<category><![CDATA[system analysis]]></category>
		<category><![CDATA[System Monitoring]]></category>
		<category><![CDATA[system performance]]></category>
		<category><![CDATA[system resource]]></category>
		<category><![CDATA[System Utility]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[user ID]]></category>
		<category><![CDATA[user processes]]></category>
		<category><![CDATA[루트 프로세스]]></category>
		<category><![CDATA[리눅스]]></category>
		<category><![CDATA[메모리 사용량]]></category>
		<category><![CDATA[명령어 옵션]]></category>
		<category><![CDATA[명령어 출력]]></category>
		<category><![CDATA[명령줄]]></category>
		<category><![CDATA[보안 컨텍스트]]></category>
		<category><![CDATA[사용자 ID]]></category>
		<category><![CDATA[사용자 프로세스]]></category>
		<category><![CDATA[서버 관리]]></category>
		<category><![CDATA[서버 유지보수]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[시스템 리소스]]></category>
		<category><![CDATA[시스템 모니터링]]></category>
		<category><![CDATA[시스템 분석]]></category>
		<category><![CDATA[시스템 성능]]></category>
		<category><![CDATA[시스템 유틸리티]]></category>
		<category><![CDATA[실시간 모니터링]]></category>
		<category><![CDATA[우분투]]></category>
		<category><![CDATA[자원 관리]]></category>
		<category><![CDATA[터미널]]></category>
		<category><![CDATA[파일 디스크립터]]></category>
		<category><![CDATA[프로세스]]></category>
		<category><![CDATA[프로세스 ID]]></category>
		<category><![CDATA[프로세스 계층]]></category>
		<category><![CDATA[프로세스 관리]]></category>
		<category><![CDATA[프로세스 디버깅]]></category>
		<category><![CDATA[프로세스 소유자]]></category>
		<category><![CDATA[프로세스 시각화]]></category>
		<category><![CDATA[프로세스 식별자]]></category>
		<category><![CDATA[프로세스 정보]]></category>
		<category><![CDATA[프로세스 통계]]></category>
		<category><![CDATA[프로세스 트리]]></category>
		<category><![CDATA[프로세스 트리 구조]]></category>
		<category><![CDATA[프로세스 필터링]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=38880</guid>

					<description><![CDATA[<p>프로세스 (process) 정의 &#8220;하드디스크에 저장된 실행 코드(프로그램)가 메모리에 로딩되어 활성화된 것&#8221; 실행 중인 프로그램 또는 작업 단위를 의미하기도 함 프로세스는 프로그램이 메모리에서 실행되며, 각 프로세스는 고유한 **프로세스 ID(PID)**를 가집니다. 포그라운드(Foreground) 프로세스 화면에 나타나 사용자와 상호 작용하는 프로세스 화면에 출력되며, 사용자의 입력을 받아들이고 사용자와의 상호 작용을 통해 작업을 수행 백그라운드 (Background) 프로세스 사용자와의 직접적인 상호 작용 없이 실행되는 프로세스 주로 긴 작업을 수행하거나 백엔드에서 실행되는 서비스 형태의 프로그램에 사용 화면에 출력되지 않으며, 사용자 입력을 기다리지 않고 동작 특징 프로세스는 시스템 자원(CPU, 메모리 등)을 사용합니다. 부모 프로세스와 자식 프로세스 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-process-%ed%94%84%eb%a1%9c%ec%84%b8%ec%8a%a4/38880/">Ubuntu – Process 프로세스</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-4ef0589d      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#프로세스-process" class="uagb-toc-link__trigger">프로세스 (process)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#정의" class="uagb-toc-link__trigger">정의</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#포그라운드foreground-프로세스" class="uagb-toc-link__trigger">포그라운드(Foreground) 프로세스</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#백그라운드-background-프로세스" class="uagb-toc-link__trigger">백그라운드 (Background) 프로세스</a></li></ul><li class="uagb-toc__list"><a href="#특징" class="uagb-toc-link__trigger">특징</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#관련-명령어" class="uagb-toc-link__trigger">관련 명령어</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#예제" class="uagb-toc-link__trigger">예제</a></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">프로세스 (process)</h3>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">정의</h4>



<p>&#8220;하드디스크에 저장된 실행 코드(프로그램)가 메모리에 로딩되어 활성화된 것&#8221;</p>



<p>실행 중인 프로그램 또는 작업 단위를 의미하기도 함</p>



<p>프로세스는 프로그램이 메모리에서 실행되며, 각 프로세스는 고유한 **프로세스 ID(PID)**를 가집니다.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h5 class="wp-block-heading">포그라운드(<strong>Foreground</strong>) 프로세스</h5>



<p>화면에 나타나 사용자와 상호 작용하는 프로세스 </p>



<p>화면에 출력되며, 사용자의 입력을 받아들이고 사용자와의 상호 작용을 통해 작업을 수행</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h5 class="wp-block-heading"><strong>백그라운드 (Background)</strong> 프로세스</h5>



<p>사용자와의 직접적인 상호 작용 없이 실행되는 프로세스</p>



<p>주로 긴 작업을 수행하거나 백엔드에서 실행되는 서비스 형태의 프로그램에 사용</p>



<p>화면에 출력되지 않으며, 사용자 입력을 기다리지 않고 동작</p>



<figure class="wp-block-image size-full"><img decoding="async" width="538" height="211" src="https://lycos7560.com/wp-content/uploads/2024/12/image-26.png" alt="" class="wp-image-38892" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-26.png 538w, https://lycos7560.com/wp-content/uploads/2024/12/image-26-300x118.png 300w" sizes="(max-width: 538px) 100vw, 538px" /><figcaption class="wp-element-caption">Ctrl + Z : 멈춤</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="566" height="234" src="https://lycos7560.com/wp-content/uploads/2024/12/image-27.png" alt="" class="wp-image-38893" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-27.png 566w, https://lycos7560.com/wp-content/uploads/2024/12/image-27-300x124.png 300w" sizes="(max-width: 566px) 100vw, 566px" /><figcaption class="wp-element-caption">bg : Background로 실행</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="463" height="115" src="https://lycos7560.com/wp-content/uploads/2024/12/image-28.png" alt="" class="wp-image-38894" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-28.png 463w, https://lycos7560.com/wp-content/uploads/2024/12/image-28-300x75.png 300w" sizes="(max-width: 463px) 100vw, 463px" /><figcaption class="wp-element-caption">job : Background로 실행 프로세스 확인</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="483" height="102" src="https://lycos7560.com/wp-content/uploads/2024/12/image-29.png" alt="" class="wp-image-38895" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-29.png 483w, https://lycos7560.com/wp-content/uploads/2024/12/image-29-300x63.png 300w" sizes="(max-width: 483px) 100vw, 483px" /><figcaption class="wp-element-caption">fg : Foreground로 변경</figcaption></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="390" height="92" src="https://lycos7560.com/wp-content/uploads/2024/12/image-30.png" alt="" class="wp-image-38896" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-30.png 390w, https://lycos7560.com/wp-content/uploads/2024/12/image-30-300x71.png 300w" sizes="(max-width: 390px) 100vw, 390px" /><figcaption class="wp-element-caption">&amp; : Background로 실행 (vim과 같은 프로세스는 의미가 없음)</figcaption></figure>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">특징</h4>



<p>프로세스는 시스템 자원(CPU, 메모리 등)을 사용합니다.</p>



<p><strong>부모 프로세스</strong>와 <strong>자식 프로세스 관계</strong>를 가질 수 있습니다.</p>



<p>프로세스는 실행 상태(실행 중, 대기 중, 종료된 등)에 따라 변화합니다.</p>



<ul class="wp-block-list">
<li>모든 프로세스는 혼자서 독립적으로 실행되는 것이 아닌 부모 프로세스의 하위에 종속되어 실행된다.<br>예를 들어 Firefox는 X 윈도 프로세스가 구동된 상태에서 실행되어야 하므로 X 윈도는 Firefox의 부모 프로세스, Firefox는 X 윈도의 자식 프로세스 </li>
</ul>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">관련 명령어</h4>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">ps        # 현재 실행 중인 프로세스 확인
top       # 실시간으로 프로세스와 시스템 자원 사용 확인
htop      # top의 인터페이스를 개선한 도구
kill      # 특정 프로세스 종료
pkill     # 이름 기반으로 프로세스 종료
pstree    # 부모. 자식 프로세스의 관계를 트리의 형태로 보여줌</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h4 class="wp-block-heading">예제</h4>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 현재 사용자의 프로세스 확인
ps

# 시스템의 모든 프로세스 상세 정보 확인
ps aux

# 특정 프로세스 검색 (grep 활용)
ps aux | grep nginx

# 특정 사용자의 프로세스 확인
ps -u root

# 모든 프로세스의 전체 형식 정보 확인
ps -ef

# 특정 프로세스 ID의 정보 확인
ps -p 1234

# 전체 형식으로 특정 프로세스 ID의 정보 확인
ps -f -p 1234

# 프로세스 계층 구조를 트리 형태로 표시
ps -e --forest

# CPU 사용률에 따라 정렬하여 표시
ps -e --sort=-%cpu

# 특정 터미널에서 실행 중인 프로세스 확인
ps -t tty1

# 특정 그룹의 프로세스 확인
ps -G staff

# 특정 프로세스의 쓰레드 정보 표시
ps -L -p 1234

# 작업 제어 형식으로 프로세스 표시
ps -j

# 특정 형식으로 출력
ps -o pid,uname,comm

# 실시간으로 프로세스와 시스템 자원 사용 확인
top

# top의 인터페이스를 개선한 도구
htop

# 특정 프로세스 종료
kill -9 1234

# 이름 기반으로 프로세스 종료
pkill nginx

# 부모, 자식 프로세스의 관계를 트리 형태로 표시
pstree

# 현재 터미널에서 실행 중인 백그라운드 작업 확인
jobs

# 현재 터미널에서 실행 중인 프로세스를 foreground로 전환
fg %1

# 현재 터미널에서 실행 중인 프로세스를 background로 전환
bg %1
</pre>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex">
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
<figure class="wp-block-image size-full"><img decoding="async" width="863" height="341" src="https://lycos7560.com/wp-content/uploads/2024/12/image-20.png" alt="" class="wp-image-38881" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-20.png 863w, https://lycos7560.com/wp-content/uploads/2024/12/image-20-300x119.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-20-768x303.png 768w" sizes="(max-width: 863px) 100vw, 863px" /><figcaption class="wp-element-caption">ps -ef, kill -9 9001</figcaption></figure>
</div>



<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%">
<figure class="wp-block-image size-full"><img decoding="async" width="1178" height="736" src="https://lycos7560.com/wp-content/uploads/2024/12/image-21.png" alt="" class="wp-image-38882" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-21.png 1178w, https://lycos7560.com/wp-content/uploads/2024/12/image-21-300x187.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-21-768x480.png 768w" sizes="(max-width: 1178px) 100vw, 1178px" /><figcaption class="wp-element-caption">top</figcaption></figure>
</div>
</div>



<figure class="wp-block-embed is-type-wp-embed"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="ZdYs3xjkEH"><a href="https://lycos7560.com/ubuntu/ubuntu-ps-%eb%aa%85%eb%a0%b9%ec%96%b4/38887/">Ubuntu – ps 명령어</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Ubuntu – ps 명령어&#8221; &#8212; 어제와 내일의 나 그 사이의 이야기" src="https://lycos7560.com/ubuntu/ubuntu-ps-%eb%aa%85%eb%a0%b9%ec%96%b4/38887/embed/#?secret=4rXykoilzV#?secret=ZdYs3xjkEH" data-secret="ZdYs3xjkEH" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>



<p></p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-process-%ed%94%84%eb%a1%9c%ec%84%b8%ec%8a%a4/38880/">Ubuntu – Process 프로세스</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/ubuntu-process-%ed%94%84%eb%a1%9c%ec%84%b8%ec%8a%a4/38880/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu – ps 명령어</title>
		<link>https://lycos7560.com/ubuntu/ubuntu-ps-%eb%aa%85%eb%a0%b9%ec%96%b4/38887/</link>
					<comments>https://lycos7560.com/ubuntu/ubuntu-ps-%eb%aa%85%eb%a0%b9%ec%96%b4/38887/#comments</comments>
		
		<dc:creator><![CDATA[lycos7560]]></dc:creator>
		<pubDate>Mon, 02 Dec 2024 13:19:07 +0000</pubDate>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[command options]]></category>
		<category><![CDATA[command output]]></category>
		<category><![CDATA[CPU usage]]></category>
		<category><![CDATA[CPU 사용률]]></category>
		<category><![CDATA[debug processes]]></category>
		<category><![CDATA[file descriptor]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[memory usage]]></category>
		<category><![CDATA[performance monitoring]]></category>
		<category><![CDATA[PID]]></category>
		<category><![CDATA[process filtering]]></category>
		<category><![CDATA[process hierarchy]]></category>
		<category><![CDATA[process ID]]></category>
		<category><![CDATA[process information]]></category>
		<category><![CDATA[Process Management]]></category>
		<category><![CDATA[process owner]]></category>
		<category><![CDATA[process statistics]]></category>
		<category><![CDATA[process tree]]></category>
		<category><![CDATA[process tree structure]]></category>
		<category><![CDATA[process visualization]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[ps command examples]]></category>
		<category><![CDATA[ps 명령어 예시]]></category>
		<category><![CDATA[ps명령어]]></category>
		<category><![CDATA[real-time monitoring]]></category>
		<category><![CDATA[resource management]]></category>
		<category><![CDATA[root processes]]></category>
		<category><![CDATA[security context]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[server maintenance]]></category>
		<category><![CDATA[server management]]></category>
		<category><![CDATA[system analysis]]></category>
		<category><![CDATA[System Monitoring]]></category>
		<category><![CDATA[system performance]]></category>
		<category><![CDATA[system resource]]></category>
		<category><![CDATA[System Utility]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[user ID]]></category>
		<category><![CDATA[user processes]]></category>
		<category><![CDATA[루트 프로세스]]></category>
		<category><![CDATA[리눅스]]></category>
		<category><![CDATA[메모리 사용량]]></category>
		<category><![CDATA[명령어 옵션]]></category>
		<category><![CDATA[명령어 출력]]></category>
		<category><![CDATA[명령줄]]></category>
		<category><![CDATA[보안 컨텍스트]]></category>
		<category><![CDATA[사용자 ID]]></category>
		<category><![CDATA[사용자 프로세스]]></category>
		<category><![CDATA[서버 관리]]></category>
		<category><![CDATA[서버 유지보수]]></category>
		<category><![CDATA[시스템 관리]]></category>
		<category><![CDATA[시스템 리소스]]></category>
		<category><![CDATA[시스템 모니터링]]></category>
		<category><![CDATA[시스템 분석]]></category>
		<category><![CDATA[시스템 성능]]></category>
		<category><![CDATA[시스템 유틸리티]]></category>
		<category><![CDATA[실시간 모니터링]]></category>
		<category><![CDATA[우분투]]></category>
		<category><![CDATA[자원 관리]]></category>
		<category><![CDATA[터미널]]></category>
		<category><![CDATA[파일 디스크립터]]></category>
		<category><![CDATA[프로세스]]></category>
		<category><![CDATA[프로세스 ID]]></category>
		<category><![CDATA[프로세스 계층]]></category>
		<category><![CDATA[프로세스 관리]]></category>
		<category><![CDATA[프로세스 디버깅]]></category>
		<category><![CDATA[프로세스 소유자]]></category>
		<category><![CDATA[프로세스 시각화]]></category>
		<category><![CDATA[프로세스 식별자]]></category>
		<category><![CDATA[프로세스 정보]]></category>
		<category><![CDATA[프로세스 통계]]></category>
		<category><![CDATA[프로세스 트리]]></category>
		<category><![CDATA[프로세스 트리 구조]]></category>
		<category><![CDATA[프로세스 필터링]]></category>
		<guid isPermaLink="false">https://lycos7560.com/?p=38887</guid>

					<description><![CDATA[<p>ps (Process Status) Linux와 Unix 계열 시스템에서 현재 실행 중인 프로세스의 상태를 확인하는 데 사용되는 강력한 유틸리티 출력 열의 의미 열 이름 설명 UID 프로세스 소유자의 사용자 ID PID 프로세스 ID PPID 부모 프로세스 ID C CPU 사용률 STIME 프로세스 시작 시간 TTY 터미널 타입 TIME CPU 사용 시간 CMD 실행된 명령어 주요 PS 명령어 [&#8230;]</p>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-ps-%eb%aa%85%eb%a0%b9%ec%96%b4/38887/">Ubuntu – ps 명령어</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></description>
										<content:encoded><![CDATA[				<div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-c69b779f      "
					data-scroll= "1"
					data-offset= "30"
					style=""
				>
				<div class="uagb-toc__wrap">
						<div class="uagb-toc__title">
							목차						</div>
																						<div class="uagb-toc__list-wrap ">
						<ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#ps-process-status" class="uagb-toc-link__trigger">ps (Process Status)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#출력-열의-의미" class="uagb-toc-link__trigger">출력 열의 의미</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#주요-ps-명령어-옵션" class="uagb-toc-link__trigger">주요 PS 명령어 옵션</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#사용-예시" class="uagb-toc-link__trigger">사용 예시</a></ul></ol>					</div>
									</div>
				</div>
			


<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>



<h2 class="wp-block-heading">ps (Process Status)</h2>



<p>Linux와 Unix 계열 시스템에서 <strong>현재 실행 중인 프로세스의 상태를 확인</strong>하는 데 사용되는 강력한 유틸리티</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">출력 열의 의미</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>열 이름</th><th>설명</th></tr></thead><tbody><tr><td>UID</td><td>프로세스 소유자의 사용자 ID</td></tr><tr><td>PID</td><td>프로세스 ID</td></tr><tr><td>PPID</td><td>부모 프로세스 ID</td></tr><tr><td>C</td><td>CPU 사용률</td></tr><tr><td>STIME</td><td>프로세스 시작 시간</td></tr><tr><td>TTY</td><td>터미널 타입</td></tr><tr><td>TIME</td><td>CPU 사용 시간</td></tr><tr><td>CMD</td><td>실행된 명령어</td></tr></tbody></table></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="1041" height="131" src="https://lycos7560.com/wp-content/uploads/2024/12/image-23.png" alt="" class="wp-image-38888" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-23.png 1041w, https://lycos7560.com/wp-content/uploads/2024/12/image-23-300x38.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-23-768x97.png 768w" sizes="(max-width: 1041px) 100vw, 1041px" /></figure>



<figure class="wp-block-image size-full"><img decoding="async" width="957" height="623" src="https://lycos7560.com/wp-content/uploads/2024/12/image-24.png" alt="" class="wp-image-38889" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-24.png 957w, https://lycos7560.com/wp-content/uploads/2024/12/image-24-300x195.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-24-768x500.png 768w" sizes="(max-width: 957px) 100vw, 957px" /></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">주요 PS 명령어 옵션</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>옵션</th><th>설명</th><th>사용 예시</th></tr></thead><tbody><tr><td>ps</td><td>현재 터미널에서 실행 중인 프로세스 표시</td><td><code>ps</code></td></tr><tr><td>ps aux</td><td>시스템의 모든 프로세스 상세 정보 표시</td><td><code>ps aux</code></td></tr><tr><td>ps -ef</td><td>모든 프로세스의 전체 형식 정보 표시</td><td><code>ps -ef</code></td></tr><tr><td>-u [username]</td><td>특정 사용자의 프로세스만 표시</td><td><code>ps -u ubuntu</code></td></tr><tr><td>-p [PID]</td><td>특정 프로세스 ID의 프로세스 정보 표시</td><td><code>ps -p 1234</code></td></tr><tr><td>-f</td><td>풀 형식으로 프로세스 정보 표시</td><td><code>ps -f</code></td></tr><tr><td>&#8211;forest</td><td>프로세스 계층 구조를 트리 형태로 표시</td><td><code>ps aux --forest</code></td></tr><tr><td>-a</td><td>터미널에 종속되지 않은 모든 프로세스 표시</td><td><code>ps -a</code></td></tr><tr><td>-x</td><td>제어 터미널이 없는 프로세스 포함</td><td><code>ps -x</code></td></tr><tr><td>-l</td><td>긴 형식으로 프로세스 정보 표시</td><td><code>ps -l</code></td></tr><tr><td>-e</td><td>모든 프로세스 표시</td><td><code>ps -e</code></td></tr><tr><td>-o</td><td>지정한 형식으로 출력</td><td><code>ps -o pid,uname,comm</code></td></tr><tr><td>-H</td><td>계층 구조로 프로세스 표시</td><td><code>ps -H</code></td></tr><tr><td>-r</td><td>현재 실행 중인 프로세스만 표시</td><td><code>ps -r</code></td></tr><tr><td>-t [tty]</td><td>특정 TTY에서 실행 중인 프로세스만 표시</td><td><code>ps -t tty1</code></td></tr><tr><td>-U [username]</td><td>특정 사용자의 모든 프로세스 표시</td><td><code>ps -U root</code></td></tr><tr><td>-G [group]</td><td>특정 그룹의 모든 프로세스 표시</td><td><code>ps -G staff</code></td></tr><tr><td>-j</td><td>작업 제어 형식으로 프로세스 표시</td><td><code>ps -j</code></td></tr><tr><td>-S</td><td>모든 세션 표시</td><td><code>ps -S</code></td></tr><tr><td>-L</td><td>프로세스의 쓰레드 정보 표시</td><td><code>ps -L -p 1234</code></td></tr><tr><td>&#8211;sort</td><td>특정 키로 정렬하여 표시</td><td><code>ps --sort=-%cpu</code></td></tr></tbody></table></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<h3 class="wp-block-heading">사용 예시</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="bash" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="false" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group=""># 현재 사용자의 프로세스 확인
ps

# 시스템의 모든 프로세스 상세 정보 확인
ps aux

# 특정 프로세스 검색 (grep 활용)
ps aux | grep nginx
ps aux | less
ps aux | head 5
ps aux | tail 5

# 특정 사용자의 프로세스 확인
ps -u root

# 모든 프로세스의 전체 형식 정보 표시
ps -ef

# 특정 프로세스 ID의 정보 확인
ps -p 1234

# 전체 형식으로 특정 프로세스 ID의 정보 확인
ps -f -p 1234

# 프로세스 계층 구조를 트리 형태로 표시
ps -e --forest

# CPU 사용률에 따라 정렬하여 표시
ps -e --sort=-%cpu

# 특정 터미널에서 실행 중인 프로세스 확인
ps -t tty1

# 특정 그룹의 프로세스 확인
ps -G staff

# 특정 프로세스의 쓰레드 정보 표시
ps -L -p 1234

# 작업 제어 형식으로 프로세스 표시
ps -j

# 특정 형식으로 출력
ps -o pid,uname,comm
</pre>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-image size-full"><img decoding="async" width="907" height="668" src="https://lycos7560.com/wp-content/uploads/2024/12/image-25.png" alt="" class="wp-image-38890" srcset="https://lycos7560.com/wp-content/uploads/2024/12/image-25.png 907w, https://lycos7560.com/wp-content/uploads/2024/12/image-25-300x221.png 300w, https://lycos7560.com/wp-content/uploads/2024/12/image-25-768x566.png 768w" sizes="(max-width: 907px) 100vw, 907px" /><figcaption class="wp-element-caption">ps -ef &#8211;forest</figcaption></figure>



<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>



<figure class="wp-block-embed is-type-wp-embed"><div class="wp-block-embed__wrapper">
<blockquote class="wp-embedded-content" data-secret="YNQhGmEziE"><a href="https://lycos7560.com/ubuntu/ubuntu-process-%ed%94%84%eb%a1%9c%ec%84%b8%ec%8a%a4/38880/">Ubuntu – Process 프로세스</a></blockquote><iframe loading="lazy" class="wp-embedded-content" sandbox="allow-scripts" security="restricted"  title="&#8220;Ubuntu – Process 프로세스&#8221; &#8212; 어제와 내일의 나 그 사이의 이야기" src="https://lycos7560.com/ubuntu/ubuntu-process-%ed%94%84%eb%a1%9c%ec%84%b8%ec%8a%a4/38880/embed/#?secret=YWvfslABun#?secret=YNQhGmEziE" data-secret="YNQhGmEziE" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></figure>
<p>The post <a href="https://lycos7560.com/ubuntu/ubuntu-ps-%eb%aa%85%eb%a0%b9%ec%96%b4/38887/">Ubuntu – ps 명령어</a> appeared first on <a href="https://lycos7560.com">어제와 내일의 나 그 사이의 이야기</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lycos7560.com/ubuntu/ubuntu-ps-%eb%aa%85%eb%a0%b9%ec%96%b4/38887/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
