Áö³­¹ø Çϵ庹±¸ À̾... ºÎÁ¦ : ·¹À̵尡 ¸ÖÂÄÇÑ µð½ºÅ©

¼ÒǪ   
   Á¶È¸ 3434   Ãßõ 0    

http://2cpu.co.kr/QnA/789898


지난번에 말씀드린 하드 복구 작업기입니다.

말씀해 주신대로 별도의 하드디스크에 CentOS를 설치하여
일단 서버에 CentOS7을 올렸습니다.

그래도 해당 디스크와 마운트가 되질 않습니다.


2T나 되는 파티션이 ntfs로 연결하라는 황당한 메세지만 나옵니다.


그래서 dd명령을 이용해서
해당 파티션 자체를 복사해서 img파일로 만들었습니다.


# dd if=/dev/sda5 of=/data/backup.img bs=512K

3904485+1 records in
3904485+1 records out
2047074753024 bytes (2.0 TB) copied, 63066.6 s, 32.5 MB/s


장장... 18시간에 걸쳐서 파일복사가 이루어 졌습니다.


그리고 해당 이미지의 파티션 정보를 확인합니다.

[root@]# fdisk backup.img
Welcome to fdisk (util-linux 2.23.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): p

Disk oracle.img: 2047.1 GB, 2047074753024 bytes, 3998192877 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x69205244

This doesn't look like a partition table
Probably you selected the wrong device.

     Device Boot      Start         End      Blocks   Id  System
backup.img1   ?   218129509  1920119918   850995205   83  Linux
backup.img2   ?   729050177  1273024900   271987362   83  Linux
backup.img3   ?   168653938   168653938           0   83  Linux
backup.img4      2692939776  2692991410       25817+  83  Linux

Partition table entries are not in disk order

그리고 이미지 마운트를 시도해 봅니다.

[root@]# mount -o loop backup.img /data2
The disk contains an unclean file system (0, 1).
The file system wasn't safely closed on Windows. Fixing.


그리고 마운트가 되어 들어가보면 아무것도 없습니다.


/dev/loop0      1.9T  125M  1.9T   1% /data2


그래서 fdisk에서 본 start번호를 기준으로
offset설정후 다시 마운트를 시도해 보았는데

역시나 마운트가 안됩니다.

# mount -o loop,offset=373273690624 backup.img /data2

mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.


머리가 아파옵니다.

과연 마운트해서 데이터를 꺼내 올수 있을까요?


참고로 하드디스크는 삼성 SSD 860 3개로 레이드 5로 물려있으며 레이드 상태는 정상입니다.


긴글 읽어주셔서 감사합니다.

160923_freeboard_2011_1a5736bf40fe58dec1
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
¼º±â»ç 2021-01
µ¥ÀÌÅÍ º¹±¸¸é R-studio³ª ufs explorer (º¹±¸Ãµ»ç) °°Àº ¾ÛÀ¸·Î ½ÃµµÇغ¸¼¼¿ä.
¹Ú¹®Çü 2021-01
°í»ý ÇϽʴϴÙ..

https://kongineer.tistory.com/13

https://sergeswin.com/166/

¿©·¯°¡Áö ½ÃµµÇغ¸´Â ¼ö ¹Û¿¡ ¾ø½À´Ï´Ù..
     
¼ÒǪ 2021-01
°¨»çÇÕ´Ï´Ù.

testdisk·Î ÆÄƼ¼Ç Á¢±Ù¿¡ ¼º°øÇß½À´Ï´Ù.

¸ðµç ÆÄÀÏÀÌ »ì¾ÆÀÖ´Â°É È®ÀÎÇß½À´Ï´Ù.
ÆÄÀÏÀ» ¸ðµÎ º°µµ µð½ºÅ© º¹±¸ÈÄ ÆÄƼ¼Ç º¹±¸¸¦ ½ÃµµÇÒ ¿¹Á¤ÀÔ´Ï´Ù.

¼º°øÇß½À´Ï´Ù !!
¹Ú¹®Çü 2021-01
¿îÀÌ ÁÁ¾Ò½À´Ï´Ù..

»¡¸® Á¤»ó ¿î¿µÇÒ ¼ö Àֱ⸦ ±â¿øÇϸç

·¹À̵å Àåºñ´Â ¹é¾÷¸¸ÀÌ »ì ±æÀÌ´Ï ÁÖ±âÀûÀ¸·Î ¹é¾÷ÇÒ ¼ö ÀÖ´Â ¹æ¹ýÀ» ¸¶·ÃÇϼ¼¿ä..


QnA
Á¦¸ñPage 145/5590
2014-05   4479848   Á¤ÀºÁØ1
2015-12   1031260   ¹é¸Þ°¡
2023-07   1404   ¾Ë¶óºä
2023-07   1393   ¾Ë¶óºä
2023-07   1296   Á¦¿ÂÇÁ·Î
2023-07   1589   ¸¶Áö¸·¼¼´ë
2023-07   1261   ±èÁØÀ¯
2023-07   2838   iroo
2023-07   1696   À̸ŸÁ·®2
2023-07   1767   ºí·ç¿µ»ó
2023-07   1629   ¾Æ¸¶µ¥¿ì¾²
2023-07   1607   ³ª¿ì¼Ò·¡
2023-07   929   rainma
2023-07   1072   ³×À̽ºÅÍ
2023-07   962   ³×ÀÌÃÄ
2023-07   952   pumkin
2023-07   813   ¿ÀÈÄ
2023-07   1357   stones
2023-07   1407   ½Ã³î·ÎÁö»ì°É
2023-07   1098   ´Ù·ÕÀÌ
2023-07   1245   ¸í¶û
2023-07   1224   µå°í