블로그 이미지
redkite

카테고리

분류 전체보기 (291)
00.SI프로젝트 산출물 (0)
00.센터 운영 문서 (0)
01.DBMS ============.. (0)
01.오라클 (117)
01.MS-SQL (15)
01.MySQL (30)
01.PostgreSql (0)
01.DB튜닝 (28)
====================.. (0)
02.SERVER ==========.. (0)
02.서버-공통 (11)
02.서버-Linux (58)
02.서버-Unix (12)
02.서버-Windows (2)
====================.. (0)
03.APPLICATION =====.. (11)
====================.. (0)
04.ETC =============.. (0)
04.보안 (5)
====================.. (0)
05.개인자료 (1)
06.캠핑관련 (0)
07.OA관련 (1)
Total
Today
Yesterday

달력

« » 2024.5
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

공지사항

최근에 올라온 글

fdisk on all device and create Software RAID partition same size (E.g. 500GB). For RAID 10 you need to 4 disks. I'm assuming that server is booting from ssd or ide disk called /dev/sda

Code:

fdisk /dev/sdb
fdisk /dev/sdc
fdisk /dev/sdd
fdisk /dev/sde

At this point you may need to reboot the system so that kernel will update and sync table. Once rebooted type the following command to create the mdadm RAID set using 4 paritions:

Code:

mdadm --create /dev/md0 -v --raid-devices=4  --level=raid10 /dev/sdb1 /dev/sdc1 /dev/sde1 /dev/sde1

Watch raid building process

Code:

watch cat /proc/mdstat

Once completed format and use /dev/md0:

Code:

fdisk /dev/md0

Format as ext3 or ext4

Code:

mkfs.ext3 /dev/md0p1

OR

Code:

mkfs.ext4 /dev/md0p1

Mount it:

Code:

mkdir /data
mount /dev/md0p1 /data
Posted by redkite
, |

최근에 달린 댓글

최근에 받은 트랙백

글 보관함