기존에 freebsd를 사용하다 ubuntu 서버로 갈아탔습니다.
그런데 설치과정에서 디스크를 잘못선택해서 OS용 디스크가 아닌 raidz걸려있는 디스크를 선택했네요.
다시 OS용 디스크에 우분투 설치하고 zpool import하니 잘 되긴합니다.
root@N40L:/dev/disk/by-id# zpool status
pool: pool
state: ONLINE
scan: scrub repaired 1.57G in 18h20m with 0 errors on Mon Apr 27 09:37:00 2015
config:
pool: pool
state: ONLINE
scan: scrub repaired 1.57G in 18h20m with 0 errors on Mon Apr 27 09:37:00 2015
config:
NAME STATE READ WRITE CKSUM
pool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_93B4GHJKS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_93B37Y3KS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_93B3DN8KS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_93B34HJKS ONLINE 0 0 0
pool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_93B4GHJKS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_93B37Y3KS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_93B3DN8KS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_93B34HJKS ONLINE 0 0 0
errors: No known data errors
그런데 fdsik로 보면
WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sde: 3000.6 GB, 3000592982016 bytes
255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sde1 * 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
/dev/sde1 * 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
잘못 설치했던 디스크에서 이렇게 보입니다.
레이드라 문제디스크만 뭉개고 리빌드하면 되지 않을까 하는데 방법을 모르겠습니다.
offine하고 replace 하라는데 replace는 대체디스크를 꼽고 해야 하는데 대체디스크는 없는 상황입니다.
조언 부탁드립니다.
¸¸µå½Å pool¿¡ zfs µ¥ÀÌÅͼ ¸¸µé¾î¼ »ç¿ëÇÏ½Ã¸é µË´Ï´Ù.
´Ù¸¸ ±âÁ¸ zpool¿¡ OS ¸¦ ¼³Ä¡Çϼż boot flag °¡ ¼³Á¤µÇ¾îÀִµ¥ Áö¿öµµ µÇ´Â»óŶó¸é ±×³É zpoolÀ» »õ·Î »ý¼ºÇÏ½Ã¸é µË´Ï´Ù.
±âÁ¸ Ç®ÀÌ »ç¿ëÁßÀ̶ó »èÁ¦°¡ ¾î·Á¿îµ¥ boot flag ¸¸ Áö¿ï¼ö ÀÖ´Â ¹æ¹ýÀº ¾øÀ»±î¿ä?
±×³É ½áµµ µÈ´Ù°í´Â Çϼ̴µ¥ ¿ØÁö ÂòÂòÇؼ.
2. a ÀÔ·Â ÆÄƼ¼Ç³Ñ¹ö(ex.1¹ø)
3. w->q (ÀúÀåÇÏ°í ³ª¿À±â)
ÀÌ·¸°Ô ÀÛ¾÷ÇØÁÖ½Ã¸é µÇ½Ç µí ÇÕ´Ï´Ù.