12-20-2018 12:52 PM
Thank you Rolf for the detailed response.
I was aware of most of your comments.
My solution above actually does not work So please disregard it.
And yes, the command
chmod 777 -R /u
is necessary to tickle the Linux OS.
I hope NI would step in and help with usb automount scripts.
Thanks again
10-04-2021 10:17 AM
Here is an update:
1) delete partitions: fdisk /dev/sdc
del partitions: d
(repeat until all deleted)
write: w
2) reboot cRIO:
3) wipe disk: wipefs /dev/sdc -a
4) partition disk: fdisk /dev/sdc
new partition: n
primary: press enter
partition number(1): press enter
first sector: press enter
last sector: press enter
write: w
5) format partition as ext4 with journaling: mke2fs -j -t ext4 -L DataDrive /dev/sdc1
6) change permissions: chmod 777 -R /dev/sdc
7) change permissions: chmod 777 -R /dev/sdc1
😎 reboot cRIO
Should show up in LabVIEW and vis lsblk with a SSH session.
10-04-2021 12:27 PM
Sorry...need to add another reboot (drive was still readonly):
1: delete partitions: fdisk /dev/sdc
del partitions: d
(repeat until all are deleted)
write: w
2: reboot cRIO: shutdown -r 0
3: wipe disk: wipefs /dev/sdc -a
4: partition disk: fdisk /dev/sdc
new partition: n
primary: press enter
partition number(1): press enter
first sector: press enter
last sector: press enter
write: w
5: format partition with journaling: mke2fs -j -t ext4 -L DataDrive /dev/sdc1
6: reboot cRIO: shutdown -r 0
7: change permissions: chmod 777 -R /dev/sdc
8: change permissions: chmod 777 -R /dev/sdc1
9: change permissions: chmod 777 -R /media/sdc1
10: reboot cRIO: shutdown -r 0