Cannot find device while creating a shared folder

    • OMV 3.x
    • Cannot find device while creating a shared folder

      Hi, I've a problem trying to create a shared folder. I cannot see any device in the list.
      I already have three shared folders working on the same device. Looking in the filesystem list, I cannot mount or unmount this device. It is an ext4 filesystem, not mounted by fstab.

      What can I try?

      Thanks!
    • geaves wrote:

      liv wrote:

      not mounted by fstab
      If the device doesn't show in fstab then the device is not there! Is this a drive connected directly to the machine or a usb?
      What's the output of fdisk -l | grep "Disks"

      It's a USB disk.
      Here's the output requested:


      Source Code

      1. root@rasp:~# fdisk -l | grep "Disk"
      2. Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
      3. Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
      4. Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
      5. Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
      6. Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
      7. Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
      8. Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
      9. Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
      10. Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
      11. Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
      12. Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
      13. Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
      14. Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
      15. Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
      16. Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
      17. Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
      18. Disk /dev/mmcblk0: 7.4 GiB, 7948206080 bytes, 15523840 sectors
      19. Disklabel type: dos
      20. Disk identifier: 0xc5ac05a5
      21. Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
      22. Disklabel type: gpt
      23. Disk identifier: 885D32B7-2763-47A5-BF54-F4EC2BFB2014
      24. Disk /dev/zram0: 122.1 MiB, 128024576 bytes, 31256 sectors
      25. Disk /dev/zram1: 122.1 MiB, 128024576 bytes, 31256 sectors
      26. Disk /dev/zram2: 122.1 MiB, 128024576 bytes, 31256 sectors
      27. Disk /dev/zram3: 122.1 MiB, 128024576 bytes, 31256 sectors
      Display All
    • geaves wrote:

      What's the output of lsusb and lsblk the drive shows as /dev/sda, is this a powered usb drive?
      Yes, it's an externally powered USB drive.
      See the output below:

      Source Code

      1. root@rasp:~# lsusb
      2. Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
      3. Bus 001 Device 005: ID 13fd:1340 Initio Corporation Hi-Speed USB to SATA Bridge
      4. Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
      5. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
      6. Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
      7. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      8. root@rasp:~# lsblk
      9. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
      10. zram3 253:3 0 122.1M 0 disk [SWAP]
      11. zram1 253:1 0 122.1M 0 disk [SWAP]
      12. sda 8:0 0 1.8T 0 disk
      13. └─sda1 8:1 0 1.8T 0 part /srv/dev-disk-by-label-storage
      14. zram2 253:2 0 122.1M 0 disk [SWAP]
      15. zram0 253:0 0 122.1M 0 disk [SWAP]
      16. mmcblk0 179:0 0 7.4G 0 disk
      17. ├─mmcblk0p2 179:2 0 7.3G 0 part /
      18. └─mmcblk0p1 179:1 0 63M 0 part /boot
      Display All
    • Well it's there and it's mounted according to that output. Have you tried rebooting? You could try omv-firstaid and select clear web control panel cache, that might help, but I've never used it.

      BTW what's this connected to? an SBC? Have you checked that everything is 'plugged in' nothing loose, no 'wiggle'?
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      Well it's there and it's mounted according to that output. Have you tried rebooting? You could try omv-firstaid and select clear web control panel cache, that might help, but I've never used it.

      BTW what's this connected to? an SBC? Have you checked that everything is 'plugged in' nothing loose, no 'wiggle'?
      I tried clearing cache through omv-firstaid, but it didn't change.
      USB drive is correctly connected and it works well. I can successfully access the existing folders without issue.
      I use it on a raspberry installation, and I configured hd-idle to spin down disk automatically when it's not used for 120 seconds... I don't know if this makes a difference.
    • liv wrote:

      and I configured hd-idle to spin down disk automatically when it's not used for 120 seconds... I don't know if this makes a difference.
      Hm!! well you know something I don't :) personally what I would do is to turn that off, reboot, then see how it goes for a few days, that 'might be' causing your problem.
      Raid is not a backup! Would you go skydiving without a parachute?
    • Cannot find device while creating a shared folder

      geaves wrote:

      liv wrote:

      and I configured hd-idle to spin down disk automatically when it's not used for 120 seconds... I don't know if this makes a difference.
      Hm!! well you know something I don't :) personally what I would do is to turn that off, reboot, then see how it goes for a few days, that 'might be' causing your problem.
      I'm not sure about what could change disabling auto spin down. Do you know what criteria is used by OMV interface to choose the available devices from the list?

      Inviato dal mio Redmi Note 4 utilizzando Tapatalk
    • liv913 wrote:

      Do you know what criteria is used by OMV interface to choose the available devices from the list?
      Sorry no, but you have two issues there, one is the Pi itself (although I have 2, one is on constantly and the other when I need it) and the second is setting the drive to spin down, that is why I suggested to turn that off for a few days and test to see if it happens again. Even if you create or try to create a test share.
      Raid is not a backup! Would you go skydiving without a parachute?