I have a Pi 4 running the latest version of Buster. everything is up to date. this pi is running as a Plex media server and that software as well is up to date.
The server has been up and running for months without any issues. recently I have noticed that the NAS has become disconnected overnight.
fsdisk on all four of the disks show no problems. My first thought was a bad drive but when fdisk gave me no problems I decided to get some outside help. I can issue a mount command and bring the drives back online and they work fine. Just in case I have 2 replacement drives coming.
pi@PLEX-LVRM:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 59G 35G 23G 61% /
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.9G 4.0K 1.9G 1% /dev/shm
tmpfs 1.9G 8.5M 1.9G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mmcblk0p1 253M 49M 204M 20% /boot
tmpfs 384M 0 384M 0% /run/user/1000
pi@PLEX-LVRM:~ $ sudo mount -a
pi@PLEX-LVRM:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 59G 35G 23G 61% /
devtmpfs 1.8G 0 1.8G 0% /dev
tmpfs 1.9G 4.0K 1.9G 1% /dev/shm
tmpfs 1.9G 8.5M 1.9G 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/mmcblk0p1 253M 49M 204M 20% /boot
tmpfs 384M 0 384M 0% /run/user/1000
/dev/sdc 2.7T 1.7T 895G 66% /media/MOVIE1
/dev/sda 2.7T 2.0T 592G 78% /media/MOVIE2
/dev/sdd1 2.7T 1.5T 1.1T 58% /media/TV1
/dev/sdb 2.7T 1.6T 1.1T 60% /media/TV2
None of my other NAS setups have this problem.
Here is the /etc/fstab file. and the version info.
<code>
pi@PLEX-LVRM:~ $ cat /etc/fstab
proc /proc proc defaults 0 0
PARTUUID=3436147c-01 /boot vfat defaults 0 2
PARTUUID=3436147c-02 / ext4 defaults,noatime 0 1
#
# NAS
UUID=4f7da022-d3dc-45ec-8433-07348be979ce /media/MOVIE1 ext4 defaults,auto,users,nofail,noatime 0 0
UUID=02ce7a61-f37a-407b-9a5e-c42214ddaff1 /media/MOVIE2 ext4 defaults,auto,users,nofail,noatime 0 0
UUID=bba52683-39f3-4624-bc7d-4cd6c3c49d05 /media/TV1 ext4 defaults,auto,users,nofail,noatime 0 0
UUID=681bb0c2-ec0d-4b08-9195-55320b5e53fc /media/TV2 ext4 defaults,auto,users,nofail,noatime 0 0
</code>
===========================
pi@PLEX-LVRM:~ $ cat /boot/issue.txt
Raspberry Pi reference 2021-05-07
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, dcfd74d7d1fa293065ac6d565711e9ff891fe2b8, stage4
pi@PLEX-LVRM:~ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
DMESG
[ 32.347720] sd 0:0:0:0: [sda] Attached SCSI disk
[ 38.640290] sd 0:0:0:1: [sdb] Attached SCSI disk
[ 38.718464] sd 0:0:0:2: [sdc] Attached SCSI disk
[ 38.768329] sdd: sdd1
[ 38.786521] sd 0:0:0:3: [sdd] Attached SCSI disk
[ 39.377473] EXT4-fs (sdb): mounted filesystem with ordered data mode. Opts: (null)
[ 39.392931] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null)
[ 39.418054] EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
[ 39.420531] EXT4-fs (sdc): mounted filesystem with ordered data mode. Opts: (null)
[48087.944703] usb 2-2: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[48087.976393] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x00 cmd_age=3s
[48087.976420] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 4b 08 dd 68 00 00 00 88 00 00
[48087.976446] blk_update_request: I/O error, dev sdb, sector 5553839464 op 0x0:(READ) flags 0x80700 phys_seg 11 prio class 0
[48101.028826] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08 cmd_age=6s
[48101.028851] sd 0:0:0:1: [sdb] tag#0 Sense Key : 0x3 [current]
[48101.028872] sd 0:0:0:1: [sdb] tag#0 ASC=0x11 ASCQ=0x0
[48101.028895] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 4b 08 dd 90 00 00 00 08 00 00
[48101.028920] blk_update_request: critical medium error, dev sdb, sector 5553839504 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48105.515857] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x00 cmd_age=4s
[48105.515884] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 4b 08 c8 28 00 00 01 00 00 00
[48105.515910] blk_update_request: I/O error, dev sdb, sector 5553834024 op 0x0:(READ) flags 0x80700 phys_seg 16 prio class 0
[48106.535938] usb 2-2: Device not responding to setup address.
[48106.755426] usb 2-2: Device not responding to setup address.
[48106.975096] usb 2-2: device not accepting address 2, error -71
[48111.315484] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[48115.665772] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[48120.006124] usb usb2-port2: Cannot enable. Maybe the USB cable is bad?
[48120.006453] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x07 driverbyte=0x00 cmd_age=14s
[48120.006478] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 4b 08 c9 28 00 00 01 00 00 00
[48120.006504] blk_update_request: I/O error, dev sdb, sector 5553834280 op 0x0:(READ) flags 0x80700 phys_seg 17 prio class 0
[48120.006821] usb 2-2: USB disconnect, device number 2
[48120.046095] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.046115] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 4b 08 c8 28 00 00 00 08 00 00
[48120.046132] blk_update_request: I/O error, dev sdb, sector 5553834024 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48120.048426] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.048442] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 4b 08 c8 28 00 00 00 08 00 00
[48120.048458] blk_update_request: I/O error, dev sdb, sector 5553834024 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48120.048558] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.048572] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 4b 08 c8 28 00 00 00 08 00 00
[48120.048587] blk_update_request: I/O error, dev sdb, sector 5553834024 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48120.086892] sd 0:0:0:3: [sdd] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.086911] sd 0:0:0:3: [sdd] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 0c d0 08 00 00 00 01 00 00 00
[48120.086930] blk_update_request: I/O error, dev sdd, sector 4509927424 op 0x0:(READ) flags 0x80700 phys_seg 32 prio class 0
[48120.087040] sd 0:0:0:3: [sdd] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.087055] sd 0:0:0:3: [sdd] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 0c d0 08 00 00 00 00 08 00 00
[48120.087070] blk_update_request: I/O error, dev sdd, sector 4509927424 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48120.087638] sd 0:0:0:3: [sdd] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.087654] sd 0:0:0:3: [sdd] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 0c d0 08 00 00 00 00 08 00 00
[48120.087671] blk_update_request: I/O error, dev sdd, sector 4509927424 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48120.088226] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.088242] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 2b da f2 60 00 00 00 08 00 00
[48120.088257] blk_update_request: I/O error, dev sdb, sector 5030736480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48120.088353] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.088368] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 2b da f2 60 00 00 00 08 00 00
[48120.088383] blk_update_request: I/O error, dev sdb, sector 5030736480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48120.088474] sd 0:0:0:1: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00 cmd_age=0s
[48120.088488] sd 0:0:0:1: [sdb] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 2b da f2 60 00 00 00 08 00 00
[48120.088503] blk_update_request: I/O error, dev sdb, sector 5030736480 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[48120.132628] Buffer I/O error on dev sda, logical block 365985792, lost sync page write
[48120.132647] JBD2: Error -5 detected when updating journal superblock for sda-8.
[48120.132657] Aborting journal on device sda-8.
[48120.132677] Buffer I/O error on dev sda, logical block 365985792, lost sync page write
[48120.132689] JBD2: Error -5 detected when updating journal superblock for sda-8.
[48120.193263] EXT4-fs error (device sdb): __ext4_find_entry
[48120.193337] Buffer I/O error on dev sdb, logical block 0, lost sync page write
[48120.193353] EXT4-fs (sdb): I/O error while writing superblock
[48120.193768] EXT4-fs error (device sdb): __ext4_find_entry
[48120.193825] Buffer I/O error on dev sdb, logical block 0, lost sync page write
[48120.193843] EXT4-fs (sdb): I/O error while writing superblock
[48120.216783] EXT4-fs error (device sdb): __ext4_find_entry
[48120.216837] Buffer I/O error on dev sdb, logical block 0, lost sync page write
[48120.216853] EXT4-fs (sdb): I/O error while writing superblock
[48120.217149] EXT4-fs error (device sdb): __ext4_find_entry
[48120.217193] Buffer I/O error on dev sdb, logical block 0, lost sync page write
[48120.217208] EXT4-fs (sdb): I/O error while writing superblock
[48120.705931] Buffer I/O error on dev sdb, logical block 365985792, lost sync page write
[48120.705993] JBD2: Error -5 detected when updating journal superblock for sdb-8.
[48120.706003] Aborting journal on device sdb-8.
[48120.706017] Buffer I/O error on dev sdb, logical block 365985792, lost sync page write
[48120.706025] JBD2: Error -5 detected when updating journal superblock for sdb-8.
[48120.823803] Buffer I/O error on dev sdc, logical block 365985792, lost sync page write
[48120.823815] JBD2: Error -5 detected when updating journal superblock for sdc-8.
[48120.823822] Aborting journal on device sdc-8.
[48120.823833] Buffer I/O error on dev sdc, logical block 365985792, lost sync page write
[48120.823840] JBD2: Error -5 detected when updating journal superblock for sdc-8.
[48121.495497] EXT4-fs error (device sdd1): __ext4_find_entry
[48121.495582] EXT4-fs (sdd1): I/O error while writing superblock
[48121.547918] JBD2: Error -5 detected when updating journal superblock for sdd1-8.
[48121.547929] Aborting journal on device sdd1-8.
[48121.547939] JBD2: Error -5 detected when updating journal superblock for sdd1-8.
[48126.686654] usb 2-2: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[48126.717749] usb 2-2: New USB device found, idVendor=152d, idProduct=0567, bcdDevice= 2.05
[48126.717759] usb 2-2: New USB device strings: Mfr=10, Product=11, SerialNumber=5
[48126.717767] usb 2-2: Product: USB to ATA/ATAPI Bridge
[48126.717774] usb 2-2: Manufacturer: JMicron
[48126.717781] usb 2-2: SerialNumber: 152D00539000
[48126.720104] usb-storage 2-2:1.0: USB Mass Storage device detected
[48126.720387] usb-storage 2-2:1.0: Quirks match for vid 152d pid 0567: 5000000
[48126.720523] scsi host0: usb-storage 2-2:1.0
[48127.756964] scsi 0:0:0:0: Direct-Access WDC WD30 EFRX-68EUZN0 0125 PQ: 0 ANSI: 6
[48127.757310] sd 0:0:0:0: Attached scsi generic sg0 type 0
[48127.757562] sd 0:0:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
[48127.757733] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[48127.757742] sd 0:0:0:0: [sda] 4096-byte physical blocks
[48127.757955] scsi 0:0:0:1: Direct-Access WDC WD30 EFRX-68EUZN0 0125 PQ: 0 ANSI: 6
[48127.758133] sd 0:0:0:0: [sda] Write Protect is off
[48127.758142] sd 0:0:0:0: [sda] Mode Sense: 67 00 10 08
[48127.758316] sd 0:0:0:1: Attached scsi generic sg1 type 0
[48127.758338] sd 0:0:0:0: [sda] No Caching mode page found
[48127.758346] sd 0:0:0:0: [sda] Assuming drive cache: write through
[48127.758618] sd 0:0:0:1: [sdb] Very big device. Trying to use READ CAPACITY(16).
[48127.758824] scsi 0:0:0:2: Direct-Access WDC WD30 EFRX-68EUZN0 0125 PQ: 0 ANSI: 6
[48127.758977] sd 0:0:0:1: [sdb] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[48127.758986] sd 0:0:0:1: [sdb] 4096-byte physical blocks
[48127.759170] scsi 0:0:0:2: Attached scsi generic sg2 type 0
[48127.759227] sd 0:0:0:1: [sdb] Write Protect is off
[48127.759236] sd 0:0:0:1: [sdb] Mode Sense: 67 00 10 08
[48127.759470] sd 0:0:0:1: [sdb] No Caching mode page found
[48127.759480] sd 0:0:0:1: [sdb] Assuming drive cache: write through
[48127.759736] scsi 0:0:0:3: Direct-Access WDC WD30 EFRX-68EUZN0 0125 PQ: 0 ANSI: 6
[48127.760031] sd 0:0:0:3: Attached scsi generic sg3 type 0
[48127.760325] sd 0:0:0:2: [sdc] Very big device. Trying to use READ CAPACITY(16).
[48127.760608] sd 0:0:0:3: [sdd] Very big device. Trying to use READ CAPACITY(16).
[48127.760773] sd 0:0:0:2: [sdc] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[48127.760781] sd 0:0:0:2: [sdc] 4096-byte physical blocks
[48127.760975] sd 0:0:0:2: [sdc] Write Protect is off
[48127.760984] sd 0:0:0:2: [sdc] Mode Sense: 67 00 10 08
[48127.761170] sd 0:0:0:2: [sdc] No Caching mode page found
[48127.761178] sd 0:0:0:2: [sdc] Assuming drive cache: write through
[48127.761412] sd 0:0:0:3: [sdd] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[48127.761420] sd 0:0:0:3: [sdd] 4096-byte physical blocks
[48127.761608] sd 0:0:0:3: [sdd] Write Protect is off
[48127.761617] sd 0:0:0:3: [sdd] Mode Sense: 67 00 10 08
[48127.761803] sd 0:0:0:3: [sdd] No Caching mode page found
[48127.761811] sd 0:0:0:3: [sdd] Assuming drive cache: write through
[48128.394283] sd 0:0:0:0: [sda] Attached SCSI disk
[48128.394995] sd 0:0:0:2: [sdc] Attached SCSI disk
[48128.495770] sd 0:0:0:1: [sdb] Attached SCSI disk
[48128.539615] sdd: sdd1
[48128.552598] sd 0:0:0:3: [sdd] Attached SCSI disk