fat32 형식의 USB 드라이브를 시스템에 연결했습니다. dmesg
보여주다:
[ 4057.783200] sd 6:0:0:0: [sdd] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
...
[ 4064.091218] FAT-fs (sdd1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
이 드라이브는 MacOS, Win, Linux용이므로 fat32입니다. 짧은 정전으로 인해 이런 일이 여러 번 발생했습니다. 평소와 같이 man fsck
옵션을 확인 하지 않고 Gparted를 사용하여 디스크를 확인했습니다 .
하지만 이번에는 디스크만 검사하는 것이 아니라 디스크를 완전히 지웁니다. 시스템 로그에는 아무 것도 알려주지 않습니다.
Mar 4 11:24:28 TREX kernel: [ 4053.248434] usb 2-3: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
Mar 4 11:24:28 TREX kernel: [ 4053.269705] usb 2-3: New USB device found, idVendor=0bc2, idProduct=231a, bcdDevice= 7.10
Mar 4 11:24:28 TREX kernel: [ 4053.269712] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 4 11:24:28 TREX kernel: [ 4053.269716] usb 2-3: Product: Expansion
Mar 4 11:24:28 TREX kernel: [ 4053.269719] usb 2-3: Manufacturer: Seagate
Mar 4 11:24:28 TREX kernel: [ 4053.269722] usb 2-3: SerialNumber: NAA9700F
Mar 4 11:24:28 TREX kernel: [ 4053.277694] scsi host6: uas
Mar 4 11:24:28 TREX kernel: [ 4053.278676] scsi 6:0:0:0: Direct-Access Seagate Expansion 0710 PQ: 0 ANSI: 6
Mar 4 11:24:28 TREX kernel: [ 4053.280001] sd 6:0:0:0: Attached scsi generic sg3 type 0
Mar 4 11:24:32 TREX kernel: [ 4057.782355] sd 6:0:0:0: [sdd] 3907029167 512-byte logical blocks: (2.00 TB/1.82 TiB)
Mar 4 11:24:32 TREX kernel: [ 4057.782361] sd 6:0:0:0: [sdd] 4096-byte physical blocks
Mar 4 11:24:32 TREX kernel: [ 4057.782547] sd 6:0:0:0: [sdd] Write Protect is off
Mar 4 11:24:32 TREX kernel: [ 4057.782552] sd 6:0:0:0: [sdd] Mode Sense: 53 00 00 08
Mar 4 11:24:32 TREX kernel: [ 4057.782880] sd 6:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Mar 4 11:24:32 TREX kernel: [ 4057.783200] sd 6:0:0:0: [sdd] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
Mar 4 11:24:33 TREX kernel: [ 4058.118689] sdd: sdd1
Mar 4 11:24:33 TREX kernel: [ 4058.142221] sd 6:0:0:0: [sdd] Attached SCSI disk
Mar 4 11:24:39 TREX kernel: [ 4064.091218] FAT-fs (sdd1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Mar 4 11:24:39 TREX udisksd[1033]: Mounted /dev/sdd1 at /media/pg1/E93B-1A8F on behalf of uid 1001
Mar 4 11:25:01 TREX CRON[5945]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Mar 4 11:25:49 TREX systemd[1]: Reloading.
Mar 4 11:25:49 TREX kernel: [ 4134.948332] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
Mar 4 11:26:05 TREX systemd[1]: Reloading.
Mar 4 11:26:35 TREX systemd[1]: Reloading.
Mar 4 11:26:55 TREX udisksd[1033]: Cleaning up mount point /media/pg1/E93B-1A8F (device 8:49 is not mounted)
Mar 4 11:26:55 TREX systemd[1807]: media-pg1-E93B\x2d1A8F.mount: Succeeded.
Mar 4 11:26:55 TREX systemd[1]: media-pg1-E93B\x2d1A8F.mount: Succeeded.
/var/log/messages
그리고 그것은 journald
더 이상 도움이 되지 않습니다. 디스크 자체는 괜찮습니다. 단지 비어 있고 거기에 저장한 데이터가 포함되어 있지 않습니다.
디스크가 마운트 해제되었습니다. 데이터를 복구할 수 있는 방법이 있나요?
명령에서는 디스크를 다시 마운트하고 명령을 다시 실행했다고 sudo systemctl cat media-pg1-E93B\x2d1A8F.mount
보고했지만 아무것도 반환하지 않았습니다. No files found for media-pg1-E93Bx2d1A8F.mount.
재설치 후 시스템 로그:
Mar 4 19:23:50 TREX kernel: [32814.682162] usb 2-3: new SuperSpeed Gen 1 USB device number 5 using xh>
Mar 4 19:23:50 TREX kernel: [32814.703495] usb 2-3: New USB device found, idVendor=0bc2, idProduct=23>
Mar 4 19:23:50 TREX kernel: [32814.703502] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialN>
Mar 4 19:23:50 TREX kernel: [32814.703506] usb 2-3: Product: Expansion
Mar 4 19:23:50 TREX kernel: [32814.703509] usb 2-3: Manufacturer: Seagate
Mar 4 19:23:50 TREX kernel: [32814.703512] usb 2-3: SerialNumber: NAA9700F
Mar 4 19:23:50 TREX kernel: [32814.713388] scsi host6: uas
Mar 4 19:23:50 TREX kernel: [32814.714278] scsi 6:0:0:0: Direct-Access Seagate Expansion >
Mar 4 19:23:50 TREX kernel: [32814.715560] sd 6:0:0:0: Attached scsi generic sg3 type 0
Mar 4 19:23:54 TREX kernel: [32819.079622] sd 6:0:0:0: [sdd] 3907029167 512-byte logical blocks: (2.0>
Mar 4 19:23:54 TREX kernel: [32819.079628] sd 6:0:0:0: [sdd] 4096-byte physical blocks
Mar 4 19:23:54 TREX kernel: [32819.079849] sd 6:0:0:0: [sdd] Write Protect is off
Mar 4 19:23:54 TREX kernel: [32819.079855] sd 6:0:0:0: [sdd] Mode Sense: 53 00 00 08
Mar 4 19:23:54 TREX kernel: [32819.080229] sd 6:0:0:0: [sdd] Write cache: enabled, read cache: enable>
Mar 4 19:23:54 TREX kernel: [32819.080516] sd 6:0:0:0: [sdd] Optimal transfer size 33553920 bytes not>
Mar 4 19:23:54 TREX kernel: [32819.416147] sdd: sdd1
Mar 4 19:23:54 TREX kernel: [32819.455923] sd 6:0:0:0: [sdd] Attached SCSI disk
pg1@TREX:~$ sudo systemctl cat media-pg1-E93B\x2d1A8F.mount
No files found for media-pg1-E93Bx2d1A8F.mount.
pg1@TREX:~$ sudo systemctl cat media-pg1-E93B\\x2d1A8F.mount
No files found for media-pg1-E93B\x2d1A8F.mount.