Eyesis4Pi 393 User Guide - SSDs

From ElphelWiki
Revision as of 10:14, 27 April 2017 by Oleg (talk | contribs) (Format SSD)
Jump to: navigation, search

check partitions

$ ssh root@192.168.161
# umount /mnt/sda1
# fsck.ext4 -fvy /dev/sda1
# mkdir /mnt/sda1 (?)
# mount /dev/sda1 /mnt/sda1

repeat for 162 & 163

Switch from external to internal drives

$ ssh root@192.168.161
# /usr/local/bin/x393sata_control.py set_zynq_ssd
# killall -9 camogm
reload GUI in the browser to restart camogm

repeat for 162 & 163

Switch from internal to external drives

$ ssh root@192.168.161
# /usr/local/bin/x393sata_control.py set_zynq_esata
# killall -9 camogm
reload GUI in the browser to restart camogm

repeat for 162 & 163

Format SSD

1. (optional)

$ ssh root@192.168.161 
# fdisk /dev/sda
delete all partitions, save (w) and quit (q)

2. http://192.168.0.161/format_disk.php

Format-button

3.

$ ssh root@192.168.161 
# mkfs.ext4 -T largefile4 -m 0 -O ^has_journal /dev/sda1
# mkdir /mnt/sda1
# mount /dev/sda1 /mnt/sda1
# killall -9 camogm
reload GUI in the browser to restart camogm