Difference between revisions of "Eyesis4Pi 393 User Guide - SSDs"

From ElphelWiki
Jump to: navigation, search
(Created page with "==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 ==Switc...")
 
(Format SSD)
Line 31: Line 31:
  
 
2. http://192.168.0.161/format_disk.php
 
2. http://192.168.0.161/format_disk.php
  Format
+
  '''Format'''-button
  
 
3.
 
3.

Revision as of 11:14, 27 April 2017

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