본문 바로가기
조회 수 4905 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print Files
?

단축키

Prev이전 문서

Next다음 문서

+ - Up Down Comment Print Files
How to increase the size of a Linux LVM by adding a new disk
http://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-adding-a-new-disk/

1. Check the current disk and paritions
df -h
mount | column -t
fdisk -l

01.png

02.png

03.png

2. Adding a new virtual hard disk
04.png

05.png

06.png

07.png

08.png

3. Detect the new disk space
fdisk -l
09.png


4. Partition the new disk
fdisk /dev/sdb
10.png


5. Increasing the logical volume (Create PV and add 
: Create a physical volume and add to an existing volume group

5-1. create a PV
pvcreate /dev/sdb1

5-2. get VG name (VolGroup)
vgdisplay

5-3. extend VG by adding the PV above
vgextend VolGroup /dev/sdb1

5-4. get LV path (/dev/VolGroup/lv_root)
lvdisplay

5-5. extend LV
lvextend /dev/VolGroup/lv_root /dev/sdb1

5-6. resize the file system
resize2fs /dev/VolGroup/lv_root

11.png
12.png


Title
List of Articles
번호 제목 글쓴이 날짜 조회 수
448 How to install Java on linux with no Internet connectivity (using local repository) Hojung 2015.12.22 3687
447 How to install tcpreplay on CentOS 6.5 Hojung 2015.08.21 8302
446 Install et131x network interface driver in CentOS 6 (LW25-BDUO3) file Hojung 2015.07.03 4798
445 How to find CentOS and kernel version Hojung 2015.04.30 4229
444 MD5 Test Hojung 2015.04.01 4396
443 MAC times in Linux (atime, mtime, ctime, crtime, touch, stat, debugfs) Hojung 2015.01.13 5296
442 How to generate a key with passphrase Hojung 2014.11.22 5575
441 Most Common OpenSSL Commands Hojung 2014.11.21 6017
440 How to use screen command Hojung 2014.11.17 4488
439 snorby (on testing) Hojung 2014.11.17 7175
438 APM (Apache + PHP + MySQL) with phpmyadmin in CentOS VM Hojung 2014.11.16 5365
437 10 Ways to Generate a Random Password from the Command Line Hojung 2014.11.16 4701
» How to increase the size of a Linux LVM by adding a new disk file Hojung 2014.11.14 4905
435 Configuring logrotate for Rails logs file Hojung 2014.11.13 5345
434 Installing Splunk on CentOS file Hojung 2014.10.31 7173
433 Web performance test with ab (ruby web, dd, ab) file Hojung 2014.10.01 6179
432 Web performance test with Pylot (ruby web, dd, pylot) file Hojung 2014.10.01 5745
431 Install and Configure NTP to Synchronize The System Clock (ntpd, ntpdate) Hojung 2014.09.17 5266
430 How to disable IPv6 in CentOS 6 Hojung 2014.09.04 5397
429 IDS with snort in CentOS (Snort, Barnyard2) Hojung 2014.08.19 8736
Board Pagination ‹ Prev 1 2 3 4 5 6 7 8 9 10 ... 23 Next ›
/ 23

Designed by sketchbooks.co.kr / sketchbook5 board skin

나눔글꼴 설치 안내


이 PC에는 나눔글꼴이 설치되어 있지 않습니다.

이 사이트를 나눔글꼴로 보기 위해서는
나눔글꼴을 설치해야 합니다.

설치 취소

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5

Sketchbook5, 스케치북5