
Seagate 외장 하드 드라이브(FreeAgent 750GB)를 Raspberry Pi의 Open Media Vault에 연결했습니다. 쓰기 작업이 시도되는 즉시 드라이브는 읽기 전용으로 다시 마운트됩니다. 머신은 raspberryPi v.1 B+(r0OMV 4.1.13+)입니다. 그러나 동일한 드라이브를 내 (manjaro 4.3.6-1-MANJARO) 노트북에 연결하고 문제 없이 데이터를 쓸 수 있습니다.
어떤 아이디어라도 감사하겠습니다. 이것이 다른 시스템에서 잘 작동하는 디스크라는 점을 감안할 때 raspberryPi 및 OMV와 동일한 문제가 있을 수 있으므로 단순히 새 디스크를 구입하고 싶지 않습니다. 지금까지 수행한 다음 단계를 반복하여 똑같은 결과를 다시 얻을 수 있습니다. 간단히 말해서 디스크는 일주일 정도 동일한 Raspberry Pi 시스템에서 실행되었으며 여전히 내 노트북에서 제대로 실행됩니다. 디스크는 7년이 되었습니다. 지금까지의 문제 해결 단계는 다음과 같습니다.
1) fsck를 제거하고 실행합니다.
root@r0OMV:~# e2fsck /dev/sda1
e2fsck 1.42.5 (29-Jul-2012)
ForteBKP: recovering journal
ForteBKP contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
ForteBKP: 11/45793280 files (0.0% non-contiguous), 2924481/183143385 blocks
설치가 완료된 직후:
mount -a
그런 다음 디스플레이를 장착합니다.
/dev/sda1 on /media/49fb4a0f-c826-4a7c-877a-76c98dba5b2c type ext4 (rw,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group,_netdev)
mkdir을 시도하면 오류가 발생합니다.
mkdir: cannot create directory `/media/49fb4a0f-c826-4a7c-877a-76c98dba5b2c/touch': Read-only file system
설치 내용은 다음과 같습니다.
/dev/sda1 on /media/49fb4a0f-c826-4a7c-877a-76c98dba5b2c type ext4 (ro,noexec,relatime,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user,grpjquota=aquota.group,_netdev)
이 경우 syslog 출력은 다음과 같습니다.
Mar 5 12:08:48 r0OMV kernel: [49725.089841] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl
Mar 5 12:08:50 r0OMV kernel: [49727.055478] blk_update_request: critical target error, dev sda, sector 0
Mar 5 12:08:55 r0OMV kernel: [49732.679403] blk_update_request: critical target error, dev sda, sector 730073112
Mar 5 12:08:55 r0OMV kernel: [49732.679520] Aborting journal on device sda1-8.
Mar 5 12:08:56 r0OMV kernel: [49733.120506] EXT4-fs error (device sda1): ext4_journal_check_start:56: Detected aborted journal
Mar 5 12:08:56 r0OMV kernel: [49733.134090] EXT4-fs (sda1): Remounting filesystem read-only
2) 기타 조치: 나는 조사했다HD 매개변수지능형 제어
root@r0OMV:~# hdparm -I /dev/sda1
/dev/sda1:
ATA device, with non-removable media
Model Number: ST3750640AS
Serial Number: 5QD40Q51
Firmware Revision: 3.AFM
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
... the rest of output seems normal and I cut it for the sake of brevity
root@r0OMV:~# hdparm -r0 /dev/sda1
/dev/sda1:
setting readonly to 0 (off)
readonly = 0 (off)
root@r0OMV:~# hdparm -W /dev/sda1
/dev/sda1:
write-caching = 0 (off)
그러나 이는 아무런 결과도 얻지 못했습니다.
그리고지능형 제어오랜 테스트 끝에 결과는 다음과 같았습니다.
smartctl -H /dev/sda
smartctl 5.41 2011-06-09 r3365 [armv6l-linux-4.1.13+] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
Please note the following marginal Attributes:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
190 Airflow_Temperature_Cel 0x0022 051 034 045 Old_age Always In_the_past 49 (92 106 63 32)
플래그를 확인해 보니 나머지 매개변수들은 정상 범위에 있었고, -a
최근에 했던 테스트에서도 괜찮은 것 같았습니다.
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Extended offline Aborted by host 80% 15285 -
# 2 Extended offline Aborted by host 90% 15285 -
# 3 Extended offline Aborted by host 80% 15285 -
# 4 Short offline Completed without error 00% 15285 -
# 5 Extended offline Aborted by host 70% 15276 -
# 6 Extended offline Completed without error 00% 15157
답변1
비슷한 동작을 하는 USB 어댑터가 있습니다. 이상하게 들리겠지만, ext2(로깅이 없음을 의미)가 디스크 작동을 허용하기 때문에 ext3이 설치됩니다. 어쩌면 이것은 선택일지도 모릅니다.