¿ìºÐÅõ 15.04 ¸®´ª½º ÆÄÀϽýºÅÛ Á¡°Ë ¹× º¹±¸ °ü·Ã ¹®ÀÇ

chotws   
   Á¶È¸ 1481   Ãßõ 0    

개월에 1번씩 접속하는 스토리지 서버가 있습니다. 네트워크 플로우 데이터를 저장용입니다.

우분투 15.04 64비트


어느 순간 루트사용자로 파일을 생성하려고 했는데 아래와 같은 나오네요.

sys-bash: cannot create temp file for here-document: Read-only file system


다행히 데이터영역은 다른 파티션입니다. 

os는 /dev/sda , 데이터는 /dev/sdb


구글검색하니까

 https://jellybeanz.medium.com/ubuntu-%EC%97%90%EC%84%9C-%EA%B0%91%EC%9E%90%EA%B8%B0-read-only-file-system-%EC%97%90%EB%9F%AC%EA%B0%80-%EB%B0%9C%EC%83%9D-%ED%95%98%EB%8A%94-%EA%B2%BD%EC%9A%B0-9284bff8b92b



위처럼 해보라고 하는데 / 파티션 부분이 ro더군요. 원래는 rw이어야 하는데

근데 언마운트롤 하라고 하면 /boot를 해야하는지 아니면 / 영역 자체를 해야 하는지 궁금합니다.

만약 싱글모드?로 부팅해서 해야 할 것 같기도 한데요. 싱글모드 진입 후 언마운트 하고 e2fsck 명령어로 복구 가능하다고 하는데 정말 잘될런지 모르겠네요.

혹시 경험있으신 분 계신가요?



ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
read-only ¿¡¼­ read/write·Î ¹Ù²Ù´Â°Ç ¾î·ÆÁö ¾ÊÁÒ. ´ÙÀ½°ú °°ÀÌ ¸í·ÉÀ» ³»¸®¸é µË´Ï´Ù.
sudo mount  -no remount,rw  /

ÇÏÁö¸¸ Á¤ÀÛ Áß¿äÇÑ°Ç,  ¿Ö read-only·Î ¹Ù²î¾ú´ÂÁö¸¦ ¾Ë¾Æ¾ß ÇÑ´Ù´Â °ÅÁÒ.

¹®Á¦ ÇØ°áÀÌ ¾ÈµÇ¸é read-only ´Â ¾ðÁ¦µçÁö ¶Ç ¹ß»ýÇÕ´Ï´Ù.
µð½ºÅ© ¿ë·®ÀÌ ²Ë Â÷ Àְųª, ¹°¸®Àû °íÀåÀ̰ųª..

±âŸ ´Ù¸¥ ÀÌÀ¯°¡ ÀÖÀ»Áöµµ..
     
chotws 02-02
±×·³ ¿ìºÐÅõ ½Ì±ÛºÎÆÃÈÄ ÀÛ¾÷À» ÇØ¾ß Çϴ°ų׿ä?
https://yumserv.tistory.com/17
À§ urló·³ µé¾î°¡¼­ ÀÛ¾÷ÇÏ·Á°í ÇÕ´Ï´Ù.

Ãß°¡·Î syslog ¸Þ½ÃÁö ÀϺΠ³»¿ëµµ ÀÖ½À´Ï´Ù.
Jan 19 04:26:31 flow-storage kernel: [13398460.209172] megaraid_sas: FW detected to be in faultstate, restarting it...
Jan 19 04:26:34 flow-storage kernel: [13398463.221343] pcidata = 0
Jan 19 04:26:34 flow-storage kernel: [13398463.221346] megaraid_sas: FW restarted successfully,initiating next stage...
Jan 19 04:26:34 flow-storage kernel: [13398463.221348] megaraid_sas: HBA recovery state machine,state 2 starting...
Jan 19 04:27:04 flow-storage kernel: [13398493.344144] megasas: Waiting for FW to come to ready state
Jan 19 04:27:04 flow-storage kernel: [13398493.344148] megasas: FW in FAULT state!!
Jan 19 04:51:04 flow-storage kernel: [13399933.606050] FW state [-268435456] hasn't changed in 180 secs
Jan 19 04:51:04 flow-storage kernel: [13399933.606054] megaraid_sas:adapter not ready
Jan 19 04:51:06 flow-storage kernel: [13399935.614139] megaraid_sas: pending cmds after reset
Jan 19 04:51:06 flow-storage kernel: [13399935.614142]
Jan 19 04:51:06 flow-storage kernel: [13399935.614142] megasas[2]: Dumping Frame Phys Address of all pending cmds in FW
Jan 19 04:51:06 flow-storage kernel: [13399935.645807] megasas[2]: Total OS Pending cmds : 0
Jan 19 04:51:06 flow-storage kernel: [13399935.657099]
Jan 19 04:51:06 flow-storage kernel: [13399935.657099] megasas[2]: 64 bit SGLs were sent to FW
Jan 19 04:51:06 flow-storage kernel: [13399935.678702] megasas[2]: Pending OS cmds in FW :
Jan 19 04:51:06 flow-storage kernel: [13399935.689737] megasas[2]: Frame addr :0x366c2000 :
Jan 19 04:51:06 flow-storage kernel: [13399935.690008] megasas[2]: frame count : 0x1, Cmd : 0x2, Tgt id : 0x0, lba lo : 0x13018330, lba_hi : 0x0, sense_buf addr : 0x366bf480,sge count : 0x2
Jan 19 04:51:06 flow-storage kernel: [13399935.719622]
Jan 19 04:51:06 flow-storage kernel: [13399935.728899]
Jan 19 04:51:06 flow-storage kernel: [13399935.728899] megasas[2]: Pending Internal cmds in FW :
Jan 19 04:51:06 flow-storage kernel: [13399935.746899] megasas[2]: Dumping Done.
Jan 19 04:51:06 flow-storage kernel: [13399935.746899]
Jan 19 04:51:06 flow-storage kernel: [13399935.763664] megasas: failed to do reset
Jan 19 04:51:06 flow-storage kernel: [13399935.772096] sd 2:2:0:0: [sda] megasas: RESET cmd=2a retries=0
Jan 19 04:51:06 flow-storage kernel: [13399935.772097] megasas: cannot recover from previous reset failures
Jan 19 04:51:06 flow-storage kernel: [13399935.780359] sd 2:2:0:0: [sda] megasas: RESET cmd=2a retries=0
Jan 19 04:51:06 flow-storage kernel: [13399935.780360] megasas: cannot recover from previous reset failures
Jan 19 04:51:06 flow-storage kernel: [13399935.788424] sd 2:2:0:0: Device offlined - not ready after error recovery
Jan 19 04:51:06 flow-storage kernel: [13399935.788430] sd 2:2:0:0: [sda] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT
Jan 19 04:51:06 flow-storage kernel: [13399935.788432] sd 2:2:0:0: [sda] CDB:
Jan 19 04:51:06 flow-storage kernel: [13399935.788433] Write(10): 2a 00 13 01 83 30 00 00 10 00
Jan 19 04:51:06 flow-storage kernel: [13399935.788438] blk_update_request: I/O error, dev sda, sector 318866224
          
·Î±× ±â·Ï¿¡ sda µð½ºÅ© ¿¡·¯°¡ º¸À̳׿ä. Á¡°ËÇغ¸¼¼¿ä.
ƯÈ÷³ª SSD´Â Çѹ濡 ÈÅ ³¯¶ó°¡ ¹ö¸³´Ï´Ù.

Áß¿äÇÑ µ¥ÀÌÅÍ´Â ³Ö¾îµÎÁö ¾Ê´Â°Ô ÁÁ½À´Ï´Ù.
¾Æ¸¶µµ SSD¿¡ º£µå°¡ ³µ°ÚÁÒ.. ±×·¡¼­ º¸È£ÁßÀÎ °Í °°½À´Ï´Ù.
¹é¾÷º».. Ã⵿Áغñ ÇØ Áֽðí.....
ÀÏ´Ü ¼³¸íµ¥·Î
½Ì±Û¸ðµå·Î µé¾î°¡¼­. .. unmount ÈÄ¿¡ FSCK¸¶½ÎÁö¸¦ ÇØ º¸¼¼¿ä...
»ì¾Æ³ª¶ó.. »ì¾Æ³ª¶ó... 
Á¤¸®ÈÄ
DD ·Î ±ò²ûÈ÷ ¹é¾÷µµ ÇÑ copy ÇØ ³õÀ¸½Ã°í¿ä...
dateno1 02-02
º¸Åë ÀÌÀ¯¾øÀÌ ro·Î º¯ÇÑ°æ¿ì µð½ºÅ©³ª ÆÄÀÏ ½Ã½ºÅÛ ¹®Á¦ Àִ°̴ϴÙ

´Ù¸¥ µð½ºÅ©·Î ºÎÆ®ÈÄ ¸¶¿îÆ®Çؼ­ µð½ºÅ© °Ë»çÇغ¸½Ã°í, SMARTµµ È®ÀÎÇغ¸¼¼¿ä
chotws 02-15
´ÙÇàÈ÷ ½Ì±Û¸ðµå ºÎÆà ¹× ÀÛ¾÷ ÈÄ Á¤»óÈ­ µÇ¾ú½À´Ï´Ù.


QnA
Á¦¸ñPage 155/5696
2015-12   1567325   ¹é¸Þ°¡
2014-05   5030847   Á¤ÀºÁØ1
02-03   1588   Rich
02-03   2924   Ãʺ¸ÀÚ¿¡¿ë
02-03   2606   ºòÇÈí
02-02   2389   ½ÅÀº¿Ö
02-02   2697   ¿ì´çÅÁÅÁ
02-02   1612   osthek83
02-02   1442   Á¦¿ÂÇÁ·Î
02-02   1280   dateno1
02-02   1214   ¹«¾Æ
02-02   2096   ±èÁø¿µJK
02-02   2599   ocarina
02-02   1157   ±èÁØÀ¯
02-02   1482   chotws
02-02   1867   ¿ì¶óÁú·¹À̼Ç
02-02   1502   langrisser
02-02   1617   Á¤¹«Çö
02-02   1025   öÀÌ´Ô
02-02   1424   ±¸Â÷´Ï
02-01   1420   gusoong
02-01   1336   À嵿°Ç2014