Re: External HDD Issues
Posted: Mon Feb 24, 2020 11:37 am
I'm experiencing the slightly the same problem. Everything works fine with the RootFS on the SSD, but as soon as I connect an other drive (HDD) to the Pi4, either the 2.0 or 3.0 Interface, my system works for a couple of minutes. dmesg shows nothing suspicions, but at a point there are I/O errors and I've to power off the system to reboot.baz123 wrote: ↑Sun Feb 23, 2020 12:48 pmYes what I have works fine on Raspbian and doesn't on DietPi in any of the configurations I tried.
It doesn't break boot - the disk boots fine. Just after running for a while (20 mins or so) the root folder on the SSD *appears* to become disconnected. If there is an SSH session connected, no commands work, just get an IO error or command not found and the only solution is to remove the power supply.
Nothing in logs.
I wondered about kernel version?
Code: Select all
[ 17.364657] bcmgenet fd580000.genet eth0: Link is Down
[ 20.484652] bcmgenet fd580000.genet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 20.484674] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 21.554570] usb 1-1.3: new high-speed USB device number 3 using xhci_hcd
[ 21.686181] usb 1-1.3: New USB device found, idVendor=0bc2, idProduct=2322, bcdDevice= 0.00
[ 21.686188] usb 1-1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 21.686193] usb 1-1.3: Product: Expansion
[ 21.686198] usb 1-1.3: Manufacturer: Seagate
[ 21.686202] usb 1-1.3: SerialNumber: NA82GX95
[ 21.690166] usb 1-1.3: UAS is blacklisted for this device, using usb-storage instead
[ 21.690210] usb 1-1.3: UAS is blacklisted for this device, using usb-storage instead
[ 21.690216] usb-storage 1-1.3:1.0: USB Mass Storage device detected
[ 21.690500] usb-storage 1-1.3:1.0: Quirks match for vid 0bc2 pid 2322: 800000
[ 21.690548] scsi host1: usb-storage 1-1.3:1.0
[ 22.725179] scsi 1:0:0:0: Direct-Access Seagate Expansion 9300 PQ: 0 ANSI: 6
[ 22.725518] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 22.726431] sd 1:0:0:0: [sdb] 976773167 512-byte logical blocks: (500 GB/466 GiB)
[ 22.905179] sd 1:0:0:0: [sdb] Write Protect is off
[ 22.905188] sd 1:0:0:0: [sdb] Mode Sense: 4f 00 00 00
[ 22.905873] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 22.932308] sdb: sdb1
[ 22.934900] sd 1:0:0:0: [sdb] Attached SCSI disk
Code: Select all
Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Disk model: SSD PLUS 240GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0xd2120dee
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 468860927 468858880 223.6G 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 465.8 GiB, 500107861504 bytes, 976773167 sectors
Disk model: Expansion
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 976773119 976771072 465.8G 7 HPFS/NTFS/exFAT
It was formatted by diet-drive_manager to ext4. In fdisk -l it shows up as quoted, but in the Drive Manager:Your rootfs is on sda1 which is HPFS/NTFS/exFAT ?
Code: Select all
Mount target: / │
│ Mount source: /dev/sda1 │
│ Filesystem: ext4 │
│ UUID: d84b9fc3-6679-46a8-b0c7-bd8fc7051255 │
│ Allocation: Capacity: 220GiB | Used: 216GiB (99%) │
│ Status: Drive is online and ready for use │
│ Read only: Disabled
Yep exactly that one. baz123 also referred to that post earlier but I guess it didn't help in his case. Just wanted to say it solved my problem with a SATA SSD and a USB 3 adapter. I also had better success with Raspbian but I really really want to use DietPiJoulinar wrote: ↑Tue Apr 14, 2020 4:12 pm I just did a quick google search and found this sticky at Raspberrypi board.
https://www.raspberrypi.org/forums/view ... p?t=245931