Hello there all,
I have had some success in setting up 19.07 on a Blueendless / Kimax BS-U35WF single NAS enclosure. I am using a 3 TB Seagate drive. When I started this project I had intended also hooking up a USB based DVD drive so those on our network could also access optical media.
I can get the 3 TB to mount with two partitions. One a 1 gb swap and a the remaining balance as an EXT4 partition. My SMB share works to share with Mac and Windows devices. I am also able to mount the DVD drive and can see the contents also through our network on Windows and Mac clients also with a SMB share.
My issue is that I can not hotswap or automount the DVD drive after inserting a new disc. I have to reboot the Kimax device and it will mount using my mount line in the local.rc script. I have installed the following packages:
avahi-nodbus-daemon - 0.8-1
base-files - 204.2-r11063-85e04e9f46
blkid - 2.34-1
block-mount - 2020-05-12-84269037-1
blockd - 2020-05-12-84269037-1
busybox - 1.30.1-5
ca-bundle - 20200601-1
cgi-io - 19
cifsmount - 6.9-1
collectd - 5.11.0-7
collectd-mod-cpu - 5.11.0-7
collectd-mod-email - 5.11.0-7
collectd-mod-interface - 5.11.0-7
collectd-mod-iwinfo - 5.11.0-7
collectd-mod-load - 5.11.0-7
collectd-mod-memory - 5.11.0-7
collectd-mod-network - 5.11.0-7
collectd-mod-rrdtool - 5.11.0-7
dnsmasq - 2.80-16.1
dropbear - 2019.78-2
e2fsprogs - 1.44.5-2
eject - 2.34-1
f2fs-tools - 1.12.0-3
f2fsck - 1.12.0-3
fdisk - 2.34-1
firewall - 2019-11-22-8174814a-1
fstools - 2020-05-12-84269037-1
fwtool - 2
gdisk - 1.0.4-2
getrandom - 2019-06-16-4df34a4d-3
glib2 - 2.58.3-5
hd-idle - 1.05-2
hdparm - 9.58-1
hostapd-common - 2019-08-08-ca8c2bd2-3
ip6tables - 1.8.3-1
iptables - 1.8.3-1
iw - 5.0.1-1
iwinfo - 2019-10-16-07315b6f-1
jshn - 2020-02-27-7da66430-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 4.14.180-1-18384755d38fc43c447d83d4a3e07054
kmod-cfg80211 - 4.14.180+4.19.120-1-1
kmod-crypto-aead - 4.14.180-1
kmod-crypto-ccm - 4.14.180-1
kmod-crypto-cmac - 4.14.180-1
kmod-crypto-crc32 - 4.14.180-1
kmod-crypto-crc32c - 4.14.180-1
kmod-crypto-ctr - 4.14.180-1
kmod-crypto-des - 4.14.180-1
kmod-crypto-ecb - 4.14.180-1
kmod-crypto-gcm - 4.14.180-1
kmod-crypto-gf128 - 4.14.180-1
kmod-crypto-ghash - 4.14.180-1
kmod-crypto-hash - 4.14.180-1
kmod-crypto-hmac - 4.14.180-1
kmod-crypto-iv - 4.14.180-1
kmod-crypto-manager - 4.14.180-1
kmod-crypto-md4 - 4.14.180-1
kmod-crypto-md5 - 4.14.180-1
kmod-crypto-null - 4.14.180-1
kmod-crypto-pcompress - 4.14.180-1
kmod-crypto-rng - 4.14.180-1
kmod-crypto-seqiv - 4.14.180-1
kmod-crypto-sha256 - 4.14.180-1
kmod-crypto-sha512 - 4.14.180-1
kmod-crypto-wq - 4.14.180-1
kmod-fs-autofs4 - 4.14.180-1
kmod-fs-cifs - 4.14.180-1
kmod-fs-exfat - 4.14.180+2018-04-17-01c30ad5-2
kmod-fs-ext4 - 4.14.180-1
kmod-fs-f2fs - 4.14.180-1
kmod-fs-isofs - 4.14.180-1
kmod-fs-ksmbd - 4.14.180+3.1.3-1
kmod-fs-udf - 4.14.180-1
kmod-fs-vfat - 4.14.180-1
kmod-gpio-button-hotplug - 4.14.180-3
kmod-hid - 4.14.180-1
kmod-hid-generic - 4.14.180-1
kmod-input-core - 4.14.180-1
kmod-input-evdev - 4.14.180-1
kmod-ip6tables - 4.14.180-1
kmod-ipt-conntrack - 4.14.180-1
kmod-ipt-core - 4.14.180-1
kmod-ipt-nat - 4.14.180-1
kmod-ipt-offload - 4.14.180-1
kmod-leds-gpio - 4.14.180-1
kmod-lib-crc-ccitt - 4.14.180-1
kmod-lib-crc-itu-t - 4.14.180-1
kmod-lib-crc16 - 4.14.180-1
kmod-lib-zlib-inflate - 4.14.180-1
kmod-loop - 4.14.180-1
kmod-mac80211 - 4.14.180+4.19.120-1-1
kmod-mii - 4.14.180-1
kmod-nf-conntrack - 4.14.180-1
kmod-nf-conntrack6 - 4.14.180-1
kmod-nf-flow - 4.14.180-1
kmod-nf-ipt - 4.14.180-1
kmod-nf-ipt6 - 4.14.180-1
kmod-nf-nat - 4.14.180-1
kmod-nf-reject - 4.14.180-1
kmod-nf-reject6 - 4.14.180-1
kmod-nls-base - 4.14.180-1
kmod-nls-cp437 - 4.14.180-1
kmod-nls-iso8859-1 - 4.14.180-1
kmod-nls-utf8 - 4.14.180-1
kmod-ppp - 4.14.180-1
kmod-pppoe - 4.14.180-1
kmod-pppox - 4.14.180-1
kmod-rt2800-lib - 4.14.180+4.19.120-1-1
kmod-rt2800-mmio - 4.14.180+4.19.120-1-1
kmod-rt2800-soc - 4.14.180+4.19.120-1-1
kmod-rt2x00-lib - 4.14.180+4.19.120-1-1
kmod-rt2x00-mmio - 4.14.180+4.19.120-1-1
kmod-scsi-cdrom - 4.14.180-1
kmod-scsi-core - 4.14.180-1
kmod-scsi-generic - 4.14.180-1
kmod-slhc - 4.14.180-1
kmod-sound-core - 4.14.180-1
kmod-usb-audio - 4.14.180-1
kmod-usb-core - 4.14.180-1
kmod-usb-ehci - 4.14.180-1
kmod-usb-hid - 4.14.180-1
kmod-usb-net - 4.14.180-1
kmod-usb-net-pl - 4.14.180-1
kmod-usb-ohci - 4.14.180-1
kmod-usb-storage - 4.14.180-1
kmod-usb-storage-extras - 4.14.180-1
kmod-usb-storage-uas - 4.14.180-1
kmod-usb2 - 4.14.180-1
kmod-usb3 - 4.14.180-1
ksmbd-avahi-service - 3.2.1-1
ksmbd-server - 3.2.1-1
ksmbd-utils - 3.2.1-1
libaio - 0.3.112-1
libatomic1 - 7.5.0-2
libattr - 2.4.48-1
libavahi-nodbus-support - 0.8-1
libblkid1 - 2.34-1
libblobmsg-json - 2020-02-27-7da66430-1
libbz2-1.0 - 1.0.8-1
libc - 1.1.24-2
libcap - 2.27-1
libcomerr0 - 1.44.5-2
libdaemon - 0.14-5
libexif - 0.6.21-1
libexpat - 2.2.9-1
libext2fs2 - 1.44.5-2
libf2fs6 - 1.12.0-3
libfdisk1 - 2.34-1
libffi - 3.2.1-3
libffmpeg-mini - 3.4.7-3
libflac - 1.3.3-1
libgcc1 - 7.5.0-2
libgmp10 - 6.1.2-2
libgnutls - 3.6.14-1
libid3tag - 0.15.1b-4
libip4tc2 - 1.8.3-1
libip6tc2 - 1.8.3-1
libiwinfo-lua - 2019-10-16-07315b6f-1
libiwinfo20181126 - 2019-10-16-07315b6f-1
libjpeg - 9c-2
libjson-c2 - 0.12.1-3.1
libjson-script - 2020-02-27-7da66430-1
libltdl7 - 2.4.6-2
liblua5.1.5 - 5.1.5-3
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
libmount1 - 2.34-1
libncurses6 - 6.1-5
libnettle7 - 3.5.1-1
libnl-core200 - 3.4.0-2
libnl-genl200 - 3.4.0-2
libnl-tiny - 0.1-5
libogg - 1.3.3-1
libpthread - 1.1.24-2
librrd1 - 1.0.50-3
librt - 1.1.24-2
libsmartcols1 - 2.34-1
libsqlite3-0 - 3310100-1
libss2 - 1.44.5-2
libubox20191228 - 2020-02-27-7da66430-1
libubus-lua - 2019-12-27-041c9d1c-1
libubus20191227 - 2019-12-27-041c9d1c-1
libuci20130104 - 2019-09-01-415f9e48-3
libuclient20160123 - 2019-05-30-3b3e368d-1
libusb-1.0-0 - 1.0.22-2
libuuid1 - 2.34-1
libvorbis - 1.3.7-1
libxtables12 - 1.8.3-1
logd - 2019-06-16-4df34a4d-3
lsblk - 2.34-1
lua - 5.1.5-3
luci - git-20.136.49537-fb2f363-1
luci-app-firewall - git-20.136.49537-fb2f363-1
luci-app-hd-idle - git-20.204.30585-8750495-1
luci-app-ksmbd - git-20.211.35121-aa4aa72-1
luci-app-minidlna - git-20.216.62629-4d5c88b-1
luci-app-opkg - git-20.136.49537-fb2f363-1
luci-app-statistics - git-20.221.53167-304ad04-1
luci-app-upnp - git-20.216.62629-4d5c88b-1
luci-base - git-20.136.49537-fb2f363-1
luci-compat - git-20.204.30585-8750495-1
luci-lib-ip - git-20.136.49537-fb2f363-1
luci-lib-iptparser - git-20.221.53167-304ad04-1
luci-lib-jsonc - git-20.136.49537-fb2f363-1
luci-lib-nixio - git-20.136.49537-fb2f363-1
luci-mod-admin-full - git-20.136.49537-fb2f363-1
luci-mod-network - git-20.136.49537-fb2f363-1
luci-mod-status - git-20.136.49537-fb2f363-1
luci-mod-system - git-20.136.49537-fb2f363-1
luci-proto-ipv6 - git-20.136.49537-fb2f363-1
luci-proto-ppp - git-20.136.49537-fb2f363-1
luci-theme-bootstrap - git-20.136.49537-fb2f363-1
minidlna - 2019-12-09-0763719f-6
miniupnpd - 2.1.20200510-2
mkf2fs - 1.12.0-3
mount-utils - 2.34-1
msmtp - 1.8.11-1
mtd - 24
netifd - 2019-08-05-5e02f944-1
odhcp6c - 2019-01-11-e199804b-16
odhcpd-ipv6only - 2020-05-03-49e4949c-3
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-05-07-f2166a89-1
ppp - 2.4.7.git-2019-05-25-3
ppp-mod-pppoe - 2.4.7.git-2019-05-25-3
procd - 2020-03-07-09b9bd82-1
rpcd - 2019-12-10-aaa08366-2
rpcd-mod-file - 2019-12-10-aaa08366-2
rpcd-mod-iwinfo - 2019-12-10-aaa08366-2
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
rrdtool1 - 1.0.50-3
smartd - 7.0-3
smartmontools - 7.0-3
swap-utils - 2.34-1
swconfig - 12
terminfo - 6.1-5
tgt - 1.0.79-1
triggerhappy - 0.5.0-1
ubox - 2019-06-16-4df34a4d-3
ubus - 2019-12-27-041c9d1c-1
ubusd - 2019-12-27-041c9d1c-1
uci - 2019-09-01-415f9e48-3
uclibcxx - 0.2.5-3
uclient-fetch - 2019-05-30-3b3e368d-1
uhttpd - 2020-03-13-975dce23-1
urandom-seed - 1.0-1
urngd -2020-01-21-c7f7b6b6-1
usbutils - 007-10
usign - 2019-08-06-5a52b379-1
wireless-regdb - 2019.06.03-1
wpad-basic - 2019-08-08-ca8c2bd2-3
xfs-mkfs - 4.11.0-4
zlib - 1.2.11-3
Here is the block info output:
root@OpenWrt:~# block info
/dev/mtdblock5: UUID="477d51e5-29845057-c5131de3-70baa6fa" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock6: MOUNT="/overlay" TYPE="jffs2"
/dev/sda1: UUID="00912c07-b4db-4bf9-85e3-4b187509d0ef" VERSION="1" TYPE="swap"
/dev/sda2: UUID="15986107-db12-4a39-a195-80fd0fe9a368" VERSION="1.0" MOUNT="/mnt/NASShare" TYPE="ext4"
Here is the blkid output:
root@OpenWrt:~# blkid
/dev/mtdblock5: TYPE="squashfs"
/dev/sda1: UUID="00912c07-b4db-4bf9-85e3-4b187509d0ef" TYPE="swap" PARTLABEL="Linux swap" PARTUUID="e5e3658d-9fad-48e6-b0e2-cb4d04e9a21d"
/dev/sda2: UUID="15986107-db12-4a39-a195-80fd0fe9a368" TYPE="ext4" PARTLABEL="Linux filesystem" PARTUUID="5ecf0d80-1e88-4003-a78d-4ecd1202c106"
/dev/sr0: UUID="2012-12-28-06-13-15-72" LABEL="457126_DVDJPEG1" TYPE="iso9660"
Here is what my /etc/config/fstab looks like:
config global
option anon_mount '1'
option auto_swap '1'
option auto_mount '1'
option delay_root '5'
option check_fs '1'
option anon_swap '1'
config global 'automount'
option from_fstab '1'
option anon_mount '1'
config swap
option uuid '00912c07-b4db-4bf9-85e3-4b187509d0ef'
option enabled '1'
option device '/dev/sda1'
config mount
option target '/mnt/NASShare'
option uuid '15986107-db12-4a39-a195-80fd0fe9a368'
option enabled '1'
option fstype 'ext4'
option enabled_fsck '1'
option device '/dev/sda2'
config mount
option target '/mnt/OpticalShare'
option enabled '1'
option fstype 'iso9660'
option autofs '1'
option device '/dev/sr0'
Again the SMB shares work but I would just like to be able hotswap the USB 2.0 LG DVD drive. Any help is appreciated.
Chad