LenovoEMC NAS?

Any idea how to install on a LenovoEMC NAS? Model is PX6-300d (uses intel Atom D525 ). The OS is EMC lifeline, which is basically Debian, and I have ssh access. Which package would I use for this? Is the Atom D525 powerful enough?

Just to add, I have a larger NAS (px12-400) with a Xeon E3 cpu if the Atom won’t work…

Looks like it’s possible we could write an app for his NAS: http://www.lifelineapps.com

I can take a look this week.

Thanks!

Do you see the ability to upload a third-party app on the Lenovo NAS web admin interface?

I do, there is an application manager and an add application option. Apps are packaged in tgz format.
There is also an option to enable ssh into the box, which I had to do for the HDHomeRun prime dvr installer to work (which it seems to be doing) Naturally I’d prefer the Channels app :slight_smile:

The “LifeLine” SDK appears to be deprecated and no longer available from Lenovo, so it’s going to be tricky to write an app for this NAS. However it should be possible to install it over SSH.

Can you ssh in to run some commands and paste the output:

uname -a
cat /proc/cpuinfo | head -15
mount
df -h

Actually if you feel comfortable doing port forwarding and giving me temporary ssh access, that would be even better and allow me to scope out what’s need to get things installed on these NAS.

root@PX12:/# uname -a
Linux PX12 3.8.6 #1 SMP Thu Dec 1 06:33:29 EST 2016 x86_64 GNU/Linux
root@PX12:/# cat /proc/cpuinfo | head -15
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel® Xeon® CPU E3-1265L V2 @ 2.50GHz
stepping : 9
microcode : 0x10
cpu MHz : 2494.166
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0

/dev/root on /initrd type ext2 (rw,relatime,errors=continue)
none on / type tmpfs (rw,relatime,size=51200k)
/dev/sdi1 on /boot type ext2 (rw,noatime,sync,errors=continue,user_xattr)
/dev/loop0 on /mnt/apps type squashfs (ro,relatime)
/dev/loop1 on /mnt/etc type ext2 (rw,noatime,sync)
none on /etc type aufs (rw,noatime,sync,si=c71a89da868037f2)
/dev/loop2 on /oem type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
none on /proc/fs/nfsd type nfsd (rw,relatime)
none on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=394168k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=788320k)
/dev/mapper/md0_vg-vol1 on /mnt/system type ext4 (rw,noatime,data=ordered)
/dev/mapper/cpcacheB0 on /mnt/pools/B/B0 type ext4 (rw,noatime,nobarrier,stripe=1024,data=ordered)
/dev/mapper/cpcacheB0 on /nfs/Backups type ext4 (rw,noatime,nobarrier,stripe=1024,data=ordered)
/dev/mapper/cpcacheB0 on /nfs/Documents type ext4 (rw,noatime,nobarrier,stripe=1024,data=ordered)

root@PX12:/# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 50M 6.6M 44M 14% /
/dev/root 12M 5.4M 5.8M 49% /initrd
none 50M 6.6M 44M 14% /
/dev/sdi1 936M 324M 565M 37% /boot
/dev/loop0 286M 286M 0 100% /mnt/apps
/dev/loop1 7.5M 1.1M 6.1M 15% /mnt/etc
none 7.5M 1.1M 6.1M 15% /etc
/dev/loop2 256K 256K 0 100% /oem
tmpfs 385M 388K 385M 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 770M 0 770M 0% /run/shm
/dev/mapper/md0_vg-vol1 20G 580M 19G 3% /mnt/system
/dev/mapper/cpcacheB0 9.7T 38M 9.7T 1% /mnt/pools/B/B0
/dev/mapper/cpcacheB0 9.7T 38M 9.7T 1% /nfs/Backups
/dev/mapper/cpcacheB0 9.7T 38M 9.7T 1% /nfs/Documents

FYI, this is on the big NAS (PX12-400). I have a smaller one running the same OS that I can setup access to, if that helps? its only running an Atom D525 CPU though, so may not work if transcoding is required? (its fine for file/iscsi, etc though)

1 Like

That would be great. Once I figure out how best to install it you can use the same precedure on the other one.

Pm’d login info, let me know if you need me to change anything. Thanks!!

Sorry for the delay. Here are the commands to install Channels DVR on the LenovoEMC:

cd /mnt/system
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
curl -f -s https://getchannels.com/dvr/setup.sh | sh

And once installed, you can uninstall as follows:

cd /mnt/system/channels-dvr
./uninstall.sh

Looks like it works, thanks!!

1 Like

Just want to add, this has been working great for over a month. Only catch is if the NAS reboots, I need to reinstall (but it keeps all my settings, recorded shows, etc). I think this could just be a matter of setting the service to auto start? (Not linuxy enough to know how). In any case, I’d recommend this be supported officialy.
Thanks again!!