출처 :

http://blog.kaniski.eu/2014/10/tip-using-synology-to-recover-data-from-another-hard-drive/


1. 먼저 시놀로지 나스에 ntfs하드 디스크를 장착한 후 아무것도 하지 않은 상태로 부팅합니다.

2. 환경설정에서 SSH를 활성화 한 후 root계정으로 SSH 로그인 접근합니다.

3. 아래 코드를 참고하여 ntfs 파티션을 마운팅 후 cp 명령어로 내부 나스 공유폴더에 복사하면 됩니다.




df -k

### OUTPUT ###

# Filesystem           1K-blocks       Used Available Use% Mounted on

# /dev/md0               2451064     526740   1821924  22% /

# /tmp                     59248        736     58512   1% /tmp

# /dev/vg1000/lv      1913548228 1167461820 745984008  61% /volume1


fdisk -l /dev/sdd

### OUTPUT ###

# Disk /dev/sdd: 320.0 GB, 320072933376 bytes

# 255 heads, 63 sectors/track, 38913 cylinders

# Units = cylinders of 16065 * 512 = 8225280 bytes

# Device        Boot    Start    End      Blocks      Id    System

# /dev/sdd1                 1  38914   312568832       7 HPFS/NTFS


mkdir /tmp/ntfs

ntfs-3g -o ro /dev/sdd1 /tmp/ntfs


df -k

### OUTPUT ###

# Filesystem           1K-blocks       Used  Available Use% Mounted on

# /dev/md0               2451064     526740    1821924  22% /

# /tmp                     59248        736      58512   1% /tmp

# /dev/vg1000/lv      1913548228 1167461820  745984008  61% /volume1

# /dev/sdd1            312568768  270452224   42116544  87% /tmp/ntfs


dir

### OUTPUT ###

# drwxrwxrwx    1 root     root             0 Oct 11 10:11 $RECYCLE.BIN

# drwxrwxrwx    1 root     root          4096 Oct 11 10:11 .

# drwxrwxrwt   10 root     root          1300 Oct 20 22:11 ..

# drwxrwxrwx    1 root     root             0 Oct 11 09:55 FILES

# drwxrwxrwx    1 root     root             0 Oct 11 08:44 System Volume Information


cp -R /tmp/ntfs/FILES /volume1/public/


+ Recent posts