I guess it still somewhat works (haven't used it in years and it's EoL) but you want to use Samba4 preferably. If you're on 18.06.X it should be still available. Package name is samba4-server
I see a OpenWrt samba4 version on Github but it is not in the OpenWrt package repository:
root@OpenWrt:~# opkg install samba4-server
Unknown package 'samba4-server'.
Collected errors:
* opkg_install_cmd: Cannot install package samba4-server.
root@OpenWrt:~#
Also I added these packages:
opkg install block-mount e2fsprogs kmod-fs-ext4 kmod-usb-storage kmod-usb2 kmod-usb3
When I used this command I got this:
-----------------------------------------------------
OpenWrt 18.06.2, r7676-cddd7b4c77
-----------------------------------------------------
root@OpenWrt:~# ls -al /dev/sd*
brw------- 1 root root 8, 0 Jan 1 1970 /dev/sda
brw------- 1 root root 8, 1 Jan 1 1970 /dev/sda1
So I have never used fdisk on Linux (only windows). How would I set up my USB drive like has been suggested here?
*** Update: I was able to use the fdisk -l command:
For more details see fdisk(8).
root@OpenWrt:~# fdisk -l
Disk /dev/mtdblock0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0: 14.9 GiB, 15962472448 bytes, 31176704 sectors
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: 0x15488508
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 35327 33280 16.3M 83 Linux
/dev/mmcblk0p2 36864 561663 524800 256.3M 83 Linux
Disk /dev/sda: 5.5 TiB, 6001140957184 bytes, 11720978432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 365FDBBF-A67F-4B06-8899-191501B20E33
Device Start End Sectors Size Type
/dev/sda1 2048 11720976383 11720974336 5.5T Microsoft basic data
root@OpenWrt:~#
...this will wipe your HDD
fdisk
pretty much works the same as on Windows/DOS
fdisk /dev/sda
- Delete all partitions
- Create a new GPT partition table
- Add a new partition of 1Gb (or whatever you prefer) and use type 82 (82 labels it as swap)
- Add another parition of the remaining space and use type 83 (labels it Linux (data))
- Quit and write your changes to the HDD (w)
- Format data partition
mkfs.btrfs /dev/sda2
(just make sure that sda2 is your data partition first) - Done
If you enabled anon_swap and anon_mount OpenWrt will pick it up next reboot.
I have no clue what I am doing (obviously) but isn't fdisk /dev/sda my SD card and fsisk /dev/sta1 my large HD???
root@OpenWrt:~# fdisk /dev/sda1
Welcome to fdisk (util-linux 2.32).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
The size of this disk is 5.5 TiB (6001138860032 bytes). DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT).
Command (m for help): l
0 Empty 24 NEC DOS 81 Minix / old Lin bf Solaris
1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT-
2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT-
3 XENIX usr 3c PartitionMagic 84 OS/2 hidden or c6 DRDOS/sec (FAT-
4 FAT16 <32M 40 Venix 80286 85 Linux extended c7 Syrinx
5 Extended 41 PPC PReP Boot 86 NTFS volume set da Non-FS data
6 FAT16 42 SFS 87 NTFS volume set db CP/M / CTOS / .
7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell Utility
8 AIX 4e QNX4.x 2nd part 8e Linux LVM df BootIt
9 AIX bootable 4f QNX4.x 3rd part 93 Amoeba e1 DOS access
a OS/2 Boot Manag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O
b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor
c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi ea Rufus alignment
e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD eb BeOS fs
f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ee GPT
10 OPUS 55 EZ-Drive a7 NeXTSTEP ef EFI (FAT-12/16/
11 Hidden FAT12 56 Golden Bow a8 Darwin UFS f0 Linux/PA-RISC b
12 Compaq diagnost 5c Priam Edisk a9 NetBSD f1 SpeedStor
14 Hidden FAT16 <3 61 SpeedStor ab Darwin boot f4 SpeedStor
16 Hidden FAT16 63 GNU HURD or Sys af HFS / HFS+ f2 DOS secondary
17 Hidden HPFS/NTF 64 Novell Netware b7 BSDI fs fb VMware VMFS
18 AST SmartSleep 65 Novell Netware b8 BSDI swap fc VMware VMKCORE
1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fd Linux raid auto
1c Hidden W95 FAT3 75 PC/IX bc Acronis FAT32 L fe LANstep
1e Hidden W95 FAT1 80 Old Minix be Solaris boot ff BBT
Command (m for help): d
Partition number (1-4, default 4):
Partition 4 has been deleted.
Command (m for help): d
Partition number (1-3, default 3):
Partition 3 has been deleted.
Command (m for help): d
Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help):
Command (m for help): a
No partition is defined yet!
Command (m for help): g
Created a new GPT disklabel (GUID: 420C7221-3723-4245-AC69-8D462DDC05A1).
The old ntfs signature will be removed by a write command.
Command (m for help): a
a: unknown command
Command (m for help): n
Partition number (1-128, default 1):
First sector (2048-11720974302, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-11720974302, default 11720974302):
Maybe this is OK?
root@OpenWrt:~# fdisk /dev/sda1
Welcome to fdisk (util-linux 2.32).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
The size of this disk is 5.5 TiB (6001138860032 bytes). DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT).
Command (m for help): d
Partition number (1-4, default 4):
Partition 4 has been deleted.
Command (m for help): d
Partition number (1-3, default 3):
Partition 3 has been deleted.
Command (m for help): d
Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help):
Command (m for help): d
No partition is defined yet!
Could not delete partition 4351129
Command (m for help): g
Created a new GPT disklabel (GUID: 17E8AD57-0B25-2C40-82F8-B44BC927B5A2).
The old ntfs signature will be removed by a write command.
Command (m for help): n
Partition number (1-128, default 1):
First sector (2048-11720974302, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-11720974302, default 11720974302): +1000M
Created a new partition 1 of type 'Linux filesystem' and of size 1000 MiB.
Command (m for help): n
Partition number (2-128, default 2):
First sector (2050048-11720974302, default 2050048):
Last sector, +sectors or +size{K,M,G,T,P} (2050048-11720974302, default 11720974302):
Created a new partition 2 of type 'Linux filesystem' and of size 5.5 TiB.
Command (m for help): t
Partition number (1,2, default 2):
Partition type (type L to list all types): 83
Changed type of partition 'Linux filesystem' to 'VMware Virsto'.
Command (m for help): t
Partition number (1,2, default 2): 1
Partition type (type L to list all types): 82
Changed type of partition 'Linux filesystem' to 'VMware Virtual SAN'.
Command (m for help):
***** UPDATE: the action failed ....
Command (m for help): n
Partition number (1-128, default 1):
First sector (2048-11720974302, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-11720974302, default 11720974302): +1000M
Created a new partition 1 of type 'Linux filesystem' and of size 1000 MiB.
Command (m for help): n
Partition number (2-128, default 2):
First sector (2050048-11720974302, default 2050048):
Last sector, +sectors or +size{K,M,G,T,P} (2050048-11720974302, default 11720974302):
Created a new partition 2 of type 'Linux filesystem' and of size 5.5 TiB.
Command (m for help): t
Partition number (1,2, default 2):
Partition type (type L to list all types): 83
Changed type of partition 'Linux filesystem' to 'VMware Virsto'.
Command (m for help): t
Partition number (1,2, default 2): 1
Partition type (type L to list all types): 82
Changed type of partition 'Linux filesystem' to 'VMware Virtual SAN'.
Command (m for help): w
The partition table has been altered.
Failed to remove partition 1 from system: Invalid argument
Failed to remove partition 2 from system: Invalid argument
Failed to remove partition 3 from system: Invalid argument
Failed to remove partition 4 from system: Invalid argument
Failed to add partition 1 to system: Invalid argument
Failed to add partition 2 to system: Invalid argument
The kernel still uses the old partitions. The new table will be used at the next reboot.
Syncing disks.
root@OpenWrt:~#
Am I making any progress? (Don't know where I went or where I need to go) ....
root@OpenWrt:~# fdisk /dev/sda
Welcome to fdisk (util-linux 2.32).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): m
Help:
GPT
M enter protective/hybrid MBR
Generic
d delete a partition
F list free unpartitioned space
l list known partition types
n add a new partition
p print the partition table
t change a partition type
v verify the partition table
i print information about a partition
Misc
m print this menu
x extra functionality (experts only)
Script
I load disk layout from sfdisk script file
O dump disk layout to sfdisk script file
Save & Exit
w write table to disk and exit
q quit without saving changes
Create a new label
g create a new empty GPT partition table
G create a new empty SGI (IRIX) partition table
o create a new empty DOS partition table
s create a new empty Sun partition table
Command (m for help): p
Disk /dev/sda: 5.5 TiB, 6001140957184 bytes, 11720978432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 365FDBBF-A67F-4B06-8899-191501B20E33
Device Start End Sectors Size Type
/dev/sda1 34 2047999 2047966 1000M Microsoft basic data
/dev/sda2 2048000 11720978397 11718930398 5.5T Microsoft basic data
Partition 1 does not start on physical sector boundary.
Command (m for help): d
Partition number (1,2, default 2):
Partition 2 has been deleted.
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help):
Command (m for help): n
Partition number (1-128, default 1):
First sector (34-11720978398, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-11720978398, default 11720978398): +1000M
Created a new partition 1 of type 'Linux filesystem' and of size 1000 MiB.
Command (m for help): n
Partition number (2-128, default 2):
First sector (2050048-11720978398, default 2050048):
Last sector, +sectors or +size{K,M,G,T,P} (2050048-11720978398, default 11720978398):
Created a new partition 2 of type 'Linux filesystem' and of size 5.5 TiB.
Command (m for help): t
Partition number (1,2, default 2):
Partition type (type L to list all types): 83
Changed type of partition 'Linux filesystem' to 'VMware Virsto'.
Command (m for help): t
Partition number (1,2, default 2): 1
Partition type (type L to list all types): 82
Changed type of partition 'Linux filesystem' to 'VMware Virtual SAN'.
Command (m for help): p
Disk /dev/sda: 5.5 TiB, 6001140957184 bytes, 11720978432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 365FDBBF-A67F-4B06-8899-191501B20E33
Device Start End Sectors Size Type
/dev/sda1 2048 2050047 2048000 1000M VMware Virtual SAN
/dev/sda2 2050048 11720978398 11718928351 5.5T VMware Virsto
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
Using username "root".
root@192.168.1.1's password:
BusyBox v1.28.4 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 18.06.2, r7676-cddd7b4c77
-----------------------------------------------------
root@OpenWrt:~# mkfs.btrfs /dev/sda2
btrfs-progs v4.15.1
See http://btrfs.wiki.kernel.org for more information.
Performing full device TRIM /dev/sda2 (5.46TiB) ...
Label: (null)
UUID: f9e142a1-64c3-4cc2-8af2-c4fb34af93e6
Node size: 16384
Sector size: 4096
Filesystem size: 5.46TiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 1.00GiB
System: DUP 8.00MiB
SSD detected: no
Incompat features: extref, skinny-metadata
Number of devices: 1
Devices:
ID SIZE PATH
1 5.46TiB /dev/sda2
root@OpenWrt:~# mkfs.btrfs /dev/sda1
btrfs-progs v4.15.1
See http://btrfs.wiki.kernel.org for more information.
Label: (null)
UUID: d3ee50d5-fd98-4e49-84b4-838721aa0f7f
Node size: 16384
Sector size: 4096
Filesystem size: 1000.00MiB
Block group profiles:
Data: single 8.00MiB
Metadata: DUP 50.00MiB
System: DUP 8.00MiB
SSD detected: no
Incompat features: extref, skinny-metadata
Number of devices: 1
Devices:
ID SIZE PATH
1 1000.00MiB /dev/sda1
root@OpenWrt:~#
****REBOOT
Using username "root".
root@192.168.1.1's password:
BusyBox v1.28.4 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 18.06.2, r7676-cddd7b4c77
-----------------------------------------------------
root@OpenWrt:~# fdisk /dev/sda
Welcome to fdisk (util-linux 2.32).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Command (m for help): p
Disk /dev/sda: 5.5 TiB, 6001140957184 bytes, 11720978432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 365FDBBF-A67F-4B06-8899-191501B20E33
Device Start End Sectors Size Type
/dev/sda1 2048 2050047 2048000 1000M VMware Virtual SAN
/dev/sda2 2050048 11720978398 11718928351 5.5T VMware Virsto
Command (m for help):
****************** CLEARED
root@OpenWrt:~# cat /proc/mounts
/dev/root / ext4 rw,noatime,block_validity,delalloc,barrier,user_xattr 0 0
proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,size=512k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=000 0 0
debugfs /sys/kernel/debug debugfs rw,noatime 0 0
mountd(pid1456) /tmp/run/blockd autofs rw,relatime,fd=7,pgrp=1,timeout=21474836510,minproto=5,maxproto=5,indirect 0 0
nfsd /proc/fs/nfsd nfsd rw,relatime 0 0
/dev/sda1 /mnt/sda1 btrfs rw,relatime,noacl,space_cache,subvolid=5,subvol=/ 0 0
/dev/mmcblk0p1 /mnt/mmcblk0p1 ext4 rw,relatime,block_validity,delalloc,barrier,user_xattr 0 0
/dev/sda2 /mnt/sda2 btrfs rw,relatime,noacl,space_cache,subvolid=5,subvol=/ 0 0
root@OpenWrt:~#
PS... I temporarily plugged the external hard drive into my Windows laptop and used EaseUS free Partition Master to delete all the partitions and then created a couple of EXT3 of the size I wanted which as you can see that FDISK didn't like, so next logical thing was to delete and re-created them which was accepted this time. Of course the failure could havebeen because I was fdisk-ing /dev/sda1 instead of /ev/sda which again, I obviously don't know what I am going but used my jigsaw puzzle intuition to maybe make it work??? Who knows but still a lot to go from here because next steps will actually be accessing it from Windows machine as NFS server and I still don't have a lead where to find Samba 4 (only Samba 3.6) and then how to configure it once I discover how to side-load the new 4 or use the old 3.6. Hope I make it to the finish line!
*** FURTHER UPDATE:
I notice when I go into fdisk and use the "p" commend I get this:
Disk /dev/sda: 5.5 TiB, 6001140957184 bytes, 11720978432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 365FDBBF-A67F-4B06-8899-191501B20E33
Device Start End Sectors Size Type
/dev/sda1 2048 2050047 2048000 1000M VMware Virtual SAN
/dev/sda2 2050048 11720978398 11718928351 5.5T VMware Virsto
And when I go into Luci, System, Mount Points, Mounted File Systems it only lists sda2 as 1.4T. I guess that's a bug?
dev/sda2 /mnt/sda2 1.46 TB / 1.46 TB 0% (16.50 MB) [UNMOUNT]
- replace the partition table on sda,
- add partition 1 make it 1Gig, type Linux swap (type 82 according to your output)
- add second partition, full remaining size, make it Linux filesystem (type 83 according to your output). write part table, reboot.
now mkfs.btrfs /dev/sda2
done
I wanted to follow-up on an earlier post; had to come back to this forum page regarding making a v7 EspressoBin work.
env default -a
setenv fdt_name 'armada-3720-espressobin-v7.dtb'
setenv image_name 'Image'
setenv bootmmc 'mmc dev 0; ext4load mmc 0:1 0x7000000 Image;ext4load mmc 0:1 0x6000000 armada-3720-espressobin-v7.dtb;setenv bootargs $console root=/dev/mmcblk0p2 rw rootwait; booti 0x7000000 - 0x6000000'
setenv bootcmd 'mmc dev 0; ext4load mmc 0:1 0x7000000 Image;ext4load mmc 0:1 0x6000000 armada-3720-espressobin-v7.dtb;setenv bootargs $console root=/dev/mmcblk0p2 rw rootwait; booti 0x7000000 - 0x6000000'
saveenv
One year and one month later, I'm back trying to do the same thing again. I abandoned this before because I got stumped on the process. I want to first check what's on the drive now (I transferred this USB drive from Windows where I loaded some files on it and it is now on the USB3 port of the espressobin which is running OpenWRT. I've installed Samba 4 and I am going to start over and try to get Samba 4 working on this since I worked on it every night for over a month and never made it work before. Unfortunately since it's been over a year, I have forgotten most of what I was doing in the process (tryig to share the drive in a NFS type of Windows environment).
I'd also like to inspect my drive to see what is on it? I opened the /mnt in my root file tree and there's nothing under it.
root@OpenWrt:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/loop0 on /overlay type f2fs (rw,lazytime,noatime,background_gc=on,no_heap,user_xattr,inline_xattr,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
/dev/sda1 on /mnt/sda1 type ext4 (rw,relatime,data=ordered)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
/dev/sda2 on /mnt/sda2 type ext4 (rw,relatime,data=ordered)
/dev/mmcblk0p1 on /mnt/mmcblk0p1 type ext4 (rw,relatime)
mountd(pid1573) on /tmp/run/blockd type autofs (rw,relatime,fd=7,pgrp=1,timeout=21474836510,minproto=5,maxproto=5,indirect)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
root@OpenWrt:~# fdisk -l
Disk /dev/loop0: 254.6 MiB, 266403840 bytes, 520320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mtdblock0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mmcblk0: 14.89 GiB, 15962472448 bytes, 31176704 sectors
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: 0x15783292
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 35327 33280 16.3M 83 Linux
/dev/mmcblk0p2 36864 561663 524800 256.3M 83 Linux
Disk /dev/sda: 4.56 TiB, 5000981078016 bytes, 9767541168 sectors
Disk model: 000-1FK178
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 93E2D20F-5E10-3CD5-D21F-BB4C9C113531
Device Start End Sectors Size Type
/dev/sda1 2048 2040253 2038206 995.2M Microsoft basic data
/dev/sda2 2048000 9767536063 9765488064 4.6T Microsoft basic data
root@OpenWrt:~#
I added usb utils and got this:
root@OpenWrt:~# lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=orion-ehci/1p, 480M
root@OpenWrt:~#
I got Samba 4 up due to some good help from Dizzy so now I have discovered only a 9Mb/sec copy rate from linking as a Windows share and copying files there off direct LAN connection. Then I made a change and bricked the entire unit.
All I did then was go to the Samba 4 options under Services and I was going to try change the option "Force synchronous I/O" to see if that might improve the file copy speed. What happened was the box locked up and I had to reset it to stock with the reset button to get access to it again. The way it died was after that change to Samba config and save, then a reboot off the System options - the green lamp on the LAN port was initially going on and off slowly and then when I disconnected the LAN cable completely on the Espressobin, then all 3 lamps by the onboard LAN connectors started a slow blink on and off. I then direct-connected it to a laptop and the green LAN light on the espressobin or laptop would never light again, even after several power resets. I then ran through 3 reset sequences using the button on the espressobin board and got logged back into it. I am wondering since I have to reconfigure it anyway, if this is a good time to upgrade to 19.07.2 ?
If so, can I reload the firmware via Luci instead of re-burning the SD card and if so, which firmware is designed to do this, that is again, to upgrade via Luci?
globalscale_espressobin-emmc-ext4-sdcard.img.gz
globalscale_espressobin-emmc-initramfs-kernel.bin
globalscale_espressobin-emmc-squashfs-sdcard.img.gz
globalscale_espressobin-ext4-sdcard.img.gz
globalscale_espressobin-initramfs-kernel.bin
globalscale_espressobin-squashfs-sdcard.img.gz
Mine is the version 5 board.
. .
You probably want to use squashfs-sdcard image (last one) regarding the performance you should see much better speeds than that. Maxing out USB2 speeds at least shouldn't be an issue at all (~25Mbyte/s). You need to edit the config file directly you followed my instructions but it certainly shouldn't brick the device but I guess it somehow got stick trying to run multiple versions of Samba. I did warn you about it not syncing with the web frontend btw.