would you mind to provide manufacturer and model number of the drives?
This is not related to my question, how the Jmicron chipsets are wrongly pass infos to the system has nothing to do with the hard drive model plugged.
would you mind to provide manufacturer and model number of the drives?
This is not related to my question, how the Jmicron chipsets are wrongly pass infos to the system has nothing to do with the hard drive model plugged.
Hello,
the hard drives are 3.5" PATA (not sata) and the enclosure is not required, just the usb cable with the adapter on one side.
Hello,
I have seen the next omv update will include a new commit to solve some other problems with Jmicron usb adapters. Personally I'm quite bored to start from scratch every time this happens (really thank you votdev for your infinite efforts to solve that problems) and was seeking for some USB-PATA adapter with different chipset that is working out of the box. So any suggestions is welcome. Power adapter is not required as my pata hd are powered by a meanwell power supply, so just the cable with the adapter.
Thank you
votdev I've seen the PR has been modified; should I have to apply the latest version?
root@orangepipc2:~# udevadm info --query=property --name=/dev/sda
DEVPATH=/devices/platform/soc/1c1b000.usb/usb3/3-1/3-1:1.0/host0/target0:0:0/0:0:0:0/block/sda
DEVNAME=/dev/sda
DEVTYPE=disk
MAJOR=8
MINOR=0
SUBSYSTEM=block
USEC_INITIALIZED=7523465
ID_VENDOR=WDC_WD50
ID_VENDOR_ENC=WDC\x20WD50
ID_VENDOR_ID=152d
ID_MODEL=00AAKB-00H8A0
ID_MODEL_ENC=00AAKB-00H8A0\x20\x20\x20
ID_MODEL_ID=2338
ID_REVISION=0100
ID_SERIAL=WDC_WD50_00AAKB-00H8A0_7D5000AA5B50-0:0
ID_SERIAL_SHORT=7D5000AA5B50
ID_TYPE=disk
ID_INSTANCE=0:0
ID_BUS=usb
ID_USB_INTERFACES=:080650:
ID_USB_INTERFACE_NUM=00
ID_USB_DRIVER=usb-storage
ID_PATH=platform-1c1b000.usb-usb-0:1:1.0-scsi-0:0:0:0
ID_PATH_TAG=platform-1c1b000_usb-usb-0_1_1_0-scsi-0_0_0_0
ID_PART_TABLE_UUID=00049a1f
ID_PART_TABLE_TYPE=dos
DEVLINKS=/dev/disk/by-path/platform-1c1b000.usb-usb-0:1:1.0-scsi-0:0:0:0 /dev/disk/by-id/usb-WDC_WD50_00AAKB-00H8A0_7D5000AA5B50-0:0
TAGS=:systemd:
Display More
consider that I have this commit applied https://github.com/openmediavault/openmediavault/pull/843
ok my fault reading
root@orangepipc2:~# udevadm info --query=property --name=/dev/sda --attribute-walk
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/platform/soc/1c1b000.usb/usb3/3-1/3-1:1.0/host0/target0:0:0/0:0:0:0/block/sda':
KERNEL=="sda"
SUBSYSTEM=="block"
DRIVER==""
ATTR{capability}=="50"
ATTR{events}==""
ATTR{stat}==" 2691 3 146396 9778 2 0 16 2 0 7612 9780 0 0 0 0 0 0"
ATTR{size}=="976773168"
ATTR{ro}=="0"
ATTR{events_async}==""
ATTR{discard_alignment}=="0"
ATTR{hidden}=="0"
ATTR{removable}=="0"
ATTR{ext_range}=="256"
ATTR{alignment_offset}=="0"
ATTR{range}=="16"
ATTR{events_poll_msecs}=="-1"
ATTR{inflight}==" 0 0"
looking at parent device '/devices/platform/soc/1c1b000.usb/usb3/3-1/3-1:1.0/host0/target0:0:0/0:0:0:0':
KERNELS=="0:0:0:0"
SUBSYSTEMS=="scsi"
DRIVERS=="sd"
ATTRS{evt_inquiry_change_reported}=="0"
ATTRS{type}=="0"
ATTRS{model}=="00AAKB-00H8A0 "
ATTRS{state}=="running"
ATTRS{queue_type}=="none"
ATTRS{max_sectors}=="240"
ATTRS{iocounterbits}=="32"
ATTRS{iodone_cnt}=="0xc72"
ATTRS{inquiry}==""
ATTRS{evt_media_change}=="0"
ATTRS{evt_capacity_change_reported}=="0"
ATTRS{scsi_level}=="6"
ATTRS{evt_soft_threshold_reached}=="0"
ATTRS{evt_lun_change_reported}=="0"
ATTRS{blacklist}==""
ATTRS{iorequest_cnt}=="0xc72"
ATTRS{queue_depth}=="1"
ATTRS{vendor}=="WDC WD50"
ATTRS{evt_mode_parameter_change_reported}=="0"
ATTRS{eh_timeout}=="10"
ATTRS{device_blocked}=="0"
ATTRS{rev}==" "
ATTRS{ioerr_cnt}=="0x2"
ATTRS{timeout}=="30"
ATTRS{device_busy}=="0"
looking at parent device '/devices/platform/soc/1c1b000.usb/usb3/3-1/3-1:1.0/host0/target0:0:0':
KERNELS=="target0:0:0"
SUBSYSTEMS=="scsi"
DRIVERS==""
looking at parent device '/devices/platform/soc/1c1b000.usb/usb3/3-1/3-1:1.0/host0':
KERNELS=="host0"
SUBSYSTEMS=="scsi"
DRIVERS==""
looking at parent device '/devices/platform/soc/1c1b000.usb/usb3/3-1/3-1:1.0':
KERNELS=="3-1:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="usb-storage"
ATTRS{authorized}=="1"
ATTRS{supports_autosuspend}=="1"
ATTRS{interface}=="MSC Bulk-Only Transfer"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bInterfaceSubClass}=="06"
ATTRS{bInterfaceProtocol}=="50"
ATTRS{bNumEndpoints}=="02"
ATTRS{bInterfaceClass}=="08"
looking at parent device '/devices/platform/soc/1c1b000.usb/usb3/3-1':
KERNELS=="3-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{bcdDevice}=="0100"
ATTRS{devpath}=="1"
ATTRS{tx_lanes}=="1"
ATTRS{speed}=="480"
ATTRS{bDeviceSubClass}=="00"
ATTRS{version}==" 2.00"
ATTRS{idProduct}=="2338"
ATTRS{serial}=="7D5000AA5B50"
ATTRS{rx_lanes}=="1"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{bDeviceClass}=="00"
ATTRS{configuration}=="USB Mass Storage"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumInterfaces}==" 1"
ATTRS{maxchild}=="0"
ATTRS{removable}=="unknown"
ATTRS{authorized}=="1"
ATTRS{bmAttributes}=="c0"
ATTRS{devspec}=="(null)"
ATTRS{busnum}=="3"
ATTRS{idVendor}=="152d"
ATTRS{bConfigurationValue}=="1"
ATTRS{devnum}=="2"
ATTRS{bMaxPower}=="2mA"
ATTRS{bNumConfigurations}=="1"
ATTRS{manufacturer}=="JMicron"
ATTRS{product}=="USB to ATA/ATAPI bridge"
ATTRS{ltm_capable}=="no"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{urbnum}=="9603"
ATTRS{quirks}=="0x0"
looking at parent device '/devices/platform/soc/1c1b000.usb/usb3':
KERNELS=="usb3"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{version}==" 2.00"
ATTRS{bMaxPower}=="0mA"
ATTRS{manufacturer}=="Linux 5.8.16-sunxi64 ehci_hcd"
ATTRS{bmAttributes}=="e0"
ATTRS{authorized}=="1"
ATTRS{urbnum}=="28"
ATTRS{devnum}=="1"
ATTRS{idVendor}=="1d6b"
ATTRS{bNumInterfaces}==" 1"
ATTRS{bDeviceProtocol}=="00"
ATTRS{rx_lanes}=="1"
ATTRS{product}=="EHCI Host Controller"
ATTRS{idProduct}=="0002"
ATTRS{serial}=="1c1b000.usb"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{interface_authorized_default}=="1"
ATTRS{tx_lanes}=="1"
ATTRS{removable}=="unknown"
ATTRS{maxchild}=="1"
ATTRS{devpath}=="0"
ATTRS{bConfigurationValue}=="1"
ATTRS{quirks}=="0x0"
ATTRS{authorized_default}=="1"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bcdDevice}=="0508"
ATTRS{ltm_capable}=="no"
ATTRS{speed}=="480"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{bDeviceClass}=="09"
ATTRS{configuration}==""
ATTRS{busnum}=="3"
looking at parent device '/devices/platform/soc/1c1b000.usb':
KERNELS=="1c1b000.usb"
SUBSYSTEMS=="platform"
DRIVERS=="ehci-platform"
ATTRS{companion}==""
ATTRS{uframe_periodic_max}=="100"
ATTRS{driver_override}=="(null)"
looking at parent device '/devices/platform/soc':
KERNELS=="soc"
SUBSYSTEMS=="platform"
DRIVERS==""
ATTRS{driver_override}=="(null)"
looking at parent device '/devices/platform':
KERNELS=="platform"
SUBSYSTEMS==""
DRIVERS==""
Display More
# JMicron JM20337 USB PATA/SATA bridge on Orangepi PC2
ACTION=="add", KERNEL=="sd*", SUBSYSTEMS=="usb", \
ATTRS{idVendor}=="152d", ATTRS{idProduct}=="2338", \
ACTION=="add", KERNEL=="sd*", SUBSYSTEM=="block", \
ENV{DEVTYPE}=="disk", \
ATTRS{idVendor}=="152d", \
ATTRS{idProduct}=="2338", \
any reason why the SUBSYSTEM was changed from usb to block?
just made a test even if my issue was solved in https://github.com/openmediavault/openmediavault/issues/839
don't merge it please as it screwed up my system again, see below
Some other users are facing the same trouble. Hope to have time to open an issue on GitHub today as no answers on the forum up to now
same here new fstab format
maybe due to this commit https://github.com/openmediava…ab911ace1083bb602763fcee0
hello,
just updated to omv 5.5.14-1 and something happed with mount poit maybe related to the new udev rules introduced https://github.com/openmediavault/openmediavault/pull/835
now fstab shows usb disks both by label and by usb id (serial number); is this supposed to happen?
the problem is that I cannot mount one disk
Hello everybody,
yesterday I found samba non more working....nothing done on my system, no recent updateds.
I tried deactivating it, rebooting the system and then activating it back again, but the following error comes every time:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color samba 2>&1' with exit code '1': orangepipc2: ---------- ID: configure_samba_global Function: file.managed Name: /etc/samba/smb.conf Result: True Comment: File /etc/samba/smb.conf updated Started: 10:17:39.376322 Duration: 403.111 ms Changes: ---------- diff: --- +++ @@ -40,4 +40,3 @@ write cache size = 524288 getwd cache = yes socket options = TCP_NODELAY IPTOS_LOWDELAY -#======================= Share Definitions ======================= ---------- ID: configure_samba_shares Function: file.append Name: /etc/samba/smb.conf Result: True Comment: Appended 1 lines Started: 10:17:39.780096 Duration: 328.158 ms Changes: ---------- diff: --- +++ @@ -40,3 +40,4 @@ write cache size = 524288 getwd cache = yes socket options = TCP_NODELAY IPTOS_LOWDELAY +#======================= Share Definitions ======================= ---------- ID: configure_samba_recyclebin_cron Function: file.managed Name: /etc/cron.daily/openmediavault-samba-recycle Result: True Comment: File /etc/cron.daily/openmediavault-samba-recycle is in the correct state Started: 10:17:40.108900 Duration: 13.789 ms Changes: ---------- ID: remove_samba_recyclebin_cron_scripts Function: module.run Result: True Comment: file.find: ['/var/lib/openmediavault/cron.d/samba-recycle-7bffb172-38f8-4e6a-a97b-c59be755d659', '/var/lib/openmediavault/cron.d/samba-recycle-e0e3e61e-a7b5-44d0-b1af-eaedcab6d4ad'] Started: 10:17:40.126415 Duration: 11.593 ms Changes: ---------- file.find: - /var/lib/openmediavault/cron.d/samba-recycle-7bffb172-38f8-4e6a-a97b-c59be755d659 - /var/lib/openmediavault/cron.d/samba-recycle-e0e3e61e-a7b5-44d0-b1af-eaedcab6d4ad ---------- ID: configure_samba_recyclebin_cron_script_7bffb172-38f8-4e6a-a97b-c59be755d659 Function: file.managed Name: /var/lib/openmediavault/cron.d/samba-recycle-7bffb172-38f8-4e6a-a97b-c59be755d659 Result: True Comment: File /var/lib/openmediavault/cron.d/samba-recycle-7bffb172-38f8-4e6a-a97b-c59be755d659 updated Started: 10:17:40.138901 Duration: 614.338 ms Changes: ---------- diff: New file mode: 0750 ---------- ID: configure_samba_recyclebin_cron_script_e0e3e61e-a7b5-44d0-b1af-eaedcab6d4ad Function: file.managed Name: /var/lib/openmediavault/cron.d/samba-recycle-e0e3e61e-a7b5-44d0-b1af-eaedcab6d4ad Result: True Comment: File /var/lib/openmediavault/cron.d/samba-recycle-e0e3e61e-a7b5-44d0-b1af-eaedcab6d4ad updated Started: 10:17:40.753880 Duration: 140.76 ms Changes: ---------- diff: New file mode: 0750 ---------- ID: configure_default_wsdd Function: file.managed Name: /etc/default/wsdd Result: True Comment: File /etc/default/wsdd is in the correct state Started: 10:17:40.895480 Duration: 15.277 ms Changes: ---------- ID: test_samba_service_config Function: cmd.run Name: samba-tool testparm --suppress-prompt Result: False Comment: Command "samba-tool testparm --suppress-prompt" run Started: 10:17:40.918865 Duration: 3237.118 ms Changes: ---------- pid: 17588 retcode: 1 stderr: Traceback (most recent call last): File "/usr/bin/samba-tool", line 33, in <module> from samba.netcmd.main import cmd_sambatool File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 30, in <module> from samba import _glue ImportError: /usr/lib/aarch64-linux-gnu/libndr.so.0: undefined symbol: ndr_prind_tebug_helqer, version NDR_0.0.1 stdout: ---------- ID: start_samba_service Function: service.running Name: smbd Result: False Comment: One or more requisite failed: omv.deploy.samba.default.test_samba_service_config Started: 10:17:44.234320 Duration: 0.031 ms Changes: ---------- ID: start_samba_service_nmbd Function: service.running Name: nmbd Result: False Comment: One or more requisite failed: omv.deploy.samba.default.start_samba_service Started: 10:17:44.236226 Duration: 0.018 ms Changes: ---------- ID: start_wsdd_service Function: service.running Name: wsdd Result: True Comment: Service wsdd is already enabled, and is running Started: 10:17:44.236504 Duration: 407.922 ms Changes: ---------- wsdd: True Summary for orangepipc2 ------------ Succeeded: 8 (changed=7) Failed: 3 ------------ Total states run: 11 Total run time: 5.172 s
I'm on oranpipc2 hardware
any idea?
Thank you
Should be fixed in openmediavault 5.5.6, see https://github.com/openmediava…4d949b45da8621746b4315378.
I am now on OMV 5.5.7 buy still not working, the disk list mask just shows one disk with the wrong serial number ( I have attached a pic above). I will test again the solution that was working posted above.
....and, I'm on OMV 5.5.6-1 and it doesn't work
/etc/udev/rules.d/99-openmediavault-dev-disk-by-id.rules is in place
/lib/udev/serial_id is missing
....sorry I've been away for a long period
root@orangepipc2:~# udevadm info --query=all --name=/dev/sda
P: /devices/platform/soc/1c1c000.usb/usb4/4-1/4-1:1.0/host1/target1:0:0/1:0:0:0/block/sda
N: sda
L: 0
S: disk/by-path/platform-1c1c000.usb-usb-0:1:1.0-scsi-0:0:0:0
S: disk/by-id/usb-WDC_WD50_00AAKB-00H8A0_7D5000AA5B50-0:0
E: DEVPATH=/devices/platform/soc/1c1c000.usb/usb4/4-1/4-1:1.0/host1/target1:0:0/1:0:0:0/block/sda
E: DEVNAME=/dev/sda
E: DEVTYPE=disk
E: MAJOR=8
E: MINOR=0
E: SUBSYSTEM=block
E: USEC_INITIALIZED=40368394
E: ID_VENDOR=WDC_WD50
E: ID_VENDOR_ENC=WDC\x20WD50
E: ID_VENDOR_ID=152d
E: ID_MODEL=00AAKB-00H8A0
E: ID_MODEL_ENC=00AAKB-00H8A0\x20\x20\x20
E: ID_MODEL_ID=2338
E: ID_REVISION=0100
E: ID_SERIAL=WDC_WD50_00AAKB-00H8A0_7D5000AA5B50-0:0
E: ID_SERIAL_SHORT=7D5000AA5B50
E: ID_TYPE=disk
E: ID_INSTANCE=0:0
E: ID_BUS=usb
E: ID_USB_INTERFACES=:080650:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=usb-storage
E: ID_PATH=platform-1c1c000.usb-usb-0:1:1.0-scsi-0:0:0:0
E: ID_PATH_TAG=platform-1c1c000_usb-usb-0_1_1_0-scsi-0_0_0_0
E: ID_PART_TABLE_UUID=000dc561
E: ID_PART_TABLE_TYPE=dos
E: DEVLINKS=/dev/disk/by-path/platform-1c1c000.usb-usb-0:1:1.0-scsi-0:0:0:0 /dev/disk/by-id/usb-WDC_WD50_00AAKB-00H8A0_7D5000AA5B50-0:0
E: TAGS=:systemd:
Display More
Hello,
facing more or less the same problem with tons of lines in syslog written by nmbd. The strange thing is that wins is disabled and that the local master browser option tab is no more present in the gui. I'm quite sure it's enabled looking at the logs. Has the tab been removed recently? I'm on armbian buster
Thank you
thank you
root@orangepipc2:~# apt-get --reinstall install lsb-release
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 14 not upgraded.
Need to get 27.5 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian buster/main arm64 lsb-release all 10.2019051400 [27.5 kB]
Fetched 27.5 kB in 0s (95.1 kB/s)
(Reading database ... 55209 files and directories currently installed.)
Preparing to unpack .../lsb-release_10.2019051400_all.deb ...
Unpacking lsb-release (10.2019051400) over (10.2019051400) ...
Setting up lsb-release (10.2019051400) ...
Processing triggers for man-db (2.8.5-2) ...
Display More
is now ok?:
root@orangepipc2:~# find / -type f -name "lsb_release" -ls
find: ‘/proc/4445/task/4445/net’: Invalid argument
find: ‘/proc/4445/net’: Invalid argument
find: ‘/proc/4446/task/4446/net’: Invalid argument
find: ‘/proc/4446/net’: Invalid argument
find: ‘/proc/4447/task/4447/net’: Invalid argument
find: ‘/proc/4447/net’: Invalid argument
find: ‘/proc/4448/task/4448/net’: Invalid argument
find: ‘/proc/4448/net’: Invalid argument
1785 4 -rwxr-xr-x 1 root root 3638 May 14 2019 /usr/bin/lsb_release
root@orangepipc2:~# find / -type f -name "lsb_release" -ls
find: ‘/proc/31615/task/31615/net’: Invalid argument
find: ‘/proc/31615/net’: Invalid argument
find: ‘/proc/31616/task/31616/net’: Invalid argument
find: ‘/proc/31616/net’: Invalid argument
find: ‘/proc/31617/task/31617/net’: Invalid argument
find: ‘/proc/31617/net’: Invalid argument
find: ‘/proc/31618/task/31618/net’: Invalid argument
find: ‘/proc/31618/net’: Invalid argument