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.