Problems with new drive

https://forums.raspberrypi.com/viewtopic.php?t=317604

It was the enclosure. Problem solved. Thanks everyone.

1 Like

I may have spoken too soon. Everything was fine for about three weeks, and now suddenly I am having problems recording or streaming anything from out of home with read-only file system errors. I don’t have physical access right now, but can ssh.

Any suggestions beyond reformatting and starting over? I submitted diagnostics. Not sure how to get file system logs to figure out what is going on here.

Thanks.

2023/06/15 09:06:33.580623 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:06:33.580854 [DVR] Waiting 5m26.419174733s until next job 1686834720-35 Peppa Pig
2023/06/15 09:06:34.040304 [DVR] Waiting 5m25.959709084s until next job 1686834720-35 Peppa Pig
2023/06/15 09:06:34.177073 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:34.182839 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:34.182963 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0906.mpg: read-only file system
2023/06/15 09:06:35.207860 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:06:35.208109 [DVR] Waiting 5m24.791904862s until next job 1686834720-35 Peppa Pig
2023/06/15 09:06:35.798878 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:35.804815 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:35.804939 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0906.mpg: read-only file system
2023/06/15 09:06:37.830363 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:06:37.830576 [DVR] Waiting 5m22.169436812s until next job 1686834720-35 Peppa Pig
2023/06/15 09:06:38.298833 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:38.304728 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:38.304851 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0906.mpg: read-only file system
2023/06/15 09:06:42.338508 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:06:42.338701 [DVR] Waiting 5m17.661308753s until next job 1686834720-35 Peppa Pig
2023/06/15 09:06:42.768494 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:42.774428 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:42.774545 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0906.mpg: read-only file system
2023/06/15 09:06:50.801745 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:06:50.801971 [DVR] Waiting 5m9.198039923s until next job 1686834720-35 Peppa Pig
2023/06/15 09:06:51.301006 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:51.308046 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:06:51.308176 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0906.mpg: read-only file system
2023/06/15 09:07:07.335528 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:07:07.335780 [DVR] Waiting 4m52.66423143s until next job 1686834720-35 Peppa Pig
2023/06/15 09:07:07.924564 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:07:07.931609 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:07:07.931733 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0907.mpg: read-only file system
2023/06/15 09:07:39.957126 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:07:39.957370 [DVR] Waiting 4m20.042642125s until next job 1686834720-35 Peppa Pig
2023/06/15 09:07:40.551084 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:07:40.557343 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:07:40.557471 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0907.mpg: read-only file system
2023/06/15 09:08:44.582735 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:08:44.582966 [DVR] Waiting 3m15.417045578s until next job 1686834720-35 Peppa Pig
2023/06/15 09:08:45.017307 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:08:45.024773 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:08:45.024924 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0908.mpg: read-only file system
2023/06/15 09:09:49.056039 [DVR] Starting job 1686834360-35 Peppa Pig on ch=[752]
2023/06/15 09:09:49.056201 [DVR] Waiting 2m10.943809249s until next job 1686834720-35 Peppa Pig
2023/06/15 09:09:49.548843 [TNR] Opened connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:09:49.555923 [TNR] Closed connection to 1325F82B/0 for ch752 Nick HD (East)
2023/06/15 09:09:49.556050 [DVR] Error running job 1686834360-35 Peppa Pig: open /media/DVR/TV/Peppa Pig/Peppa Pig 2023-02-24 Swimming Lesson 2023-06-15-0909.mpg: read-only file system
2023/06/15 08:35:15.747161 [DVR] Waiting 18m44.252850904s until next job 1686833640-301 The Cat In The Hat Knows A Lot About...
2023/06/15 08:35:15.800493 [ERR] Failed to start stream on channel 6001 via TVE-Verizon: TVE: mkdir /media/DVR/Streaming/channels-cache-177851806: read-only file system
2023/06/15 08:35:15.800728 [DVR] Error running job 1686826800-258 Good Morning America: could not start stream on channels=[6001]: TVE: mkdir /media/DVR/Streaming/channels-cache-177851806: read-only file system
2023/06/15 08:36:19.826946 [DVR] Starting job 1686826800-258 Good Morning America on ch=[6001 507]
2023/06/15 08:36:19.827271 [DVR] Waiting 17m40.172741822s until next job 1686833640-301 The Cat In The Hat Knows A Lot About...
2023/06/15 08:36:19.871936 [ERR] Failed to start stream on channel 6001 via TVE-Verizon: TVE: mkdir /media/DVR/Streaming/channels-cache-1443770113: read-only file system
2023/06/15 08:36:19.872114 [DVR] Error running job 1686826800-258 Good Morning America: could not start stream on channels=[6001]: TVE: mkdir /media/DVR/Streaming/channels-cache-1443770113: read-only file system
2023/06/15 08:37:23.902791 [DVR] Starting job 1686826800-258 Good Morning America on ch=[6001 507]
2023/06/15 08:37:23.903285 [DVR] Waiting 16m36.096724951s until next job 1686833640-301 The Cat In The Hat Knows A Lot About...
2023/06/15 08:37:24.109136 [ERR] Failed to start stream on channel 6001 via TVE-Verizon: TVE: mkdir /media/DVR/Streaming/channels-cache-2590705643: read-only file system

Watching out of home:

2023/06/15 10:56:30.507996 [HLS] Couldn't create streaming directory: mkdir /media/DVR/Streaming/file21292-109e0eac642f-3157965560: read-only file system
2023/06/15 10:57:07.193254 [HLS] Couldn't create streaming directory: mkdir /media/DVR/Streaming/file21139-109e0eac642f-2458745603: read-only file system
2023/06/15 10:57:53.204430 [HLS] Couldn't create streaming directory: mkdir /media/DVR/Streaming/ch504-dANY-109e0eac642f-1947828647: read-only file system
2023/06/15 10:57:53.745851 [TNR] Opened connection to 1325F82B/0 for ch504 WNBC-DT
2023/06/15 10:57:53.750466 [HLS] Starting live stream for channel 504 from 187.141.168.130
2023/06/15 10:57:53.750974 [ERR] Failed to create probedata.mpg: open /media/DVR/Streaming/ch504-dANY-109e0eac642f/remux/probedata.mpg: no such file or directory
2023/06/15 10:57:54.745669 [HLS] ffmpeg: ch504-dANY-109e0eac642f-remux: Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
2023/06/15 10:57:54.745959 [HLS] ffmpeg: ch504-dANY-109e0eac642f-remux:
2023/06/15 10:57:54.754224 [TNR] Closed connection to 1325F82B/0 for ch504 WNBC-DT
2023/06/15 10:57:54.754336 [SNR] Statistics for ch504 WNBC-DT: ss=100% snq=100% seq=0% bps=0 pps=0
2023/06/15 10:57:54.754366 [SNR] Buffer statistics for ch504 WNBC-DT: buf=0% drop=0%
2023/06/15 10:57:54.886314 [HLS] Couldn't generate stream playlist for ch504-dANY-109e0eac642f: Stream stopped
2023/06/15 10:57:54.886526 [HLS] Stopping transcoder session ch504-dANY-109e0eac642f (out: 0s, finished: true)
2023/06/15 10:57:55.892106 [ERR] Failed to clean up /media/DVR/Streaming/ch504-dANY-109e0eac642f: unlinkat /media/DVR/Streaming/ch504-dANY-109e0eac642f: read-only file system

Read only can happen when there are errors detected and cannot be fixed. If you attach to windows and run chkdsk it should fix them. Unfortunately the Linux exfat fsck is missing many features.

Ok. Will try when I can I physically access. I don't have a windows machine anymore but I think I have an old VM I can spin up.

Fixed. I got it to work with Mac fsck_exfat since I don't have an ARM VM!