Hi, thanks for the reply.
My EX4100 runs on BusyBox when SSH’ed in. It looks like these commands are not available:
lsblk
fdisk
journalctl
As for verifying if unlocking LUKS works, yes. I can manually mount the drive and all the data is there.
For fstab, I don’t think this NAS OS operates the same way to mount encrypted volumes. fstab doesn’t even list the RAID volume that is working normally, let alone the JBOD that is not. Here’s the output:
root@WDMyCloudEX4100 ~ # cat /etc/fstab
proc /proc proc defaults 0 0
/dev/ram0 / ext2 defaults 1 1
sysfs /sys sysfs defaults 0 0
mdev /dev tmpfs defaults 0 0
and here’s the mtab output:
root@WDMyCloudEX4100 ~ # cat /etc/mtab
/dev/root / ext4 rw,relatime,block_validity,delalloc,barrier,user_xattr,acl 0 0
devtmpfs /dev devtmpfs rw,relatime,size=1040416k,nr_inodes=24066,mode=755 0 0
sysfs /sys sysfs rw,relatime 0 0
mdev /dev tmpfs rw,relatime 0 0
proc /proc proc rw,relatime 0 0
cgroup /sys/fs/cgroup cgroup rw,relatime,cpu,memory 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
ubi0:config /usr/local/config ubifs rw,relatime,ubi=0,vol=0 0 0
squash /usr/local/tmp ramfs rw,relatime 0 0
/dev/loop0 /usr/local/modules squashfs ro,relatime 0 0
tmpfs /mnt tmpfs rw,nosuid,nodev,noexec,relatime,size=1024k,nr_inodes=0 0 0
tmpfs /var/log tmpfs rw,nosuid,nodev,noexec,relatime,size=40960k,nr_inodes=0 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,nr_inodes=20000 0 0
/dev/md0p1 /usr/local/upload ext4 rw,relatime,data=ordered 0 0
/dev/sdb4 /mnt/HD_b4 ext4 rw,nosuid,nodev,noexec,noatime,nodiratime,nobarrier,quota,usrquota,grpquota,data=ordered 0 0
/dev/sdc4 /mnt/HD_c4 ext4 rw,nosuid,nodev,noexec,noatime,nodiratime,nobarrier,quota,usrquota,grpquota,data=ordered 0 0
/dev/sda4 /mnt/HD_a4 ext4 rw,nosuid,nodev,noexec,noatime,nodiratime,nobarrier,quota,usrquota,grpquota,data=ordered 0 0
/dev/mapper/md1 /mnt/HD/HD_a2 ext4 rw,noatime,nodiratime,nobarrier,quota,usrquota,grpquota,resgid=990,stripe=32,data=ordered 0 0
configfs /sys/kernel/config configfs rw,relatime 0 0
from mtab, /mnt/HD_c4 (of the JBOD) is mounted & accessible.
However, /mnt/HD/ directory does not have have the data partition mounted.
root@WDMyCloudEX4100 mnt # ls -la
drwxrwxrwt 8 root root 160 Feb 25 02:23 .
drwxr-xr-x 20 root root 1024 Feb 25 02:24 …
drwxr-xr-x 3 root root 60 Feb 25 02:23 HD
drwxr-xr-x 6 root root 4096 Feb 25 01:49 HD_a4
drwxr-xr-x 6 root root 4096 Feb 18 17:06 HD_b4
drwxr-xr-x 4 root root 4096 Feb 18 17:06 HD_c4
drwxr-xr-x 2 root root 40 Feb 25 02:23 USB
drwxr-xr-x 2 root root 40 Feb 25 02:23 isoMount
root@WDMyCloudEX4100 mnt # ls -la HD
drwxr-xr-x 3 root root 60 Feb 25 02:23 .
drwxrwxrwt 8 root root 160 Feb 25 02:23 …
drwxrwxrwx 15 root root 4096 Sep 4 2023 HD_a2
At the end of mtab, I noticed there’s no mapper for the JBOD, but not sure where to go from here. Should I try adding a line for /dev/mapper/md2 /mnt/HD/HD_c2 ext4 ?? I don’t want want to do something that might make the NAS upset
edit: I looked in the /dev/ directory and there is no md2, but there is an md0 which can possibly be the one for the JBOD. I am a little confused because I setup the RAID volume first long before setting up the JBOD to use to store media to work with Twonky Server.
edit 2: doing some reading, a JBOD is probably not using the RAID naming convention that starts with md, so the md0 that is in my /dev/ dir probably doesn’t mean anything.
edit 3: OK, I am at a standstill. I’m not in a rush to take the jbod back out and wipe it completely (after moving my media files from it), then re-inserting it into the NAS to start the new volume procedures. Maybe someone in the forum will know exactly what is going on after the 5.30 update – and I, myself, would love to know what it is too. I hate giving up easily.