Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
VT-SBC-C3558R | User Manual 40
3.6
SATA
VT-SBC-C3558R implements two SATA 3.0 connectors for expansion of the storage.
Before you debug the SATA connectors, please use a SATA power splitter to connect an SSD
card to either of the SATA 3.0 connectors and the SATA power connector next to it.
1.
Check the device name of the SSD card;
# lsusb
2.
Check the capacity of the SSD card;
# fdisk -l /dev/
sdb
//
the device name shall be the one enumerated in step 1
Disk /dev/sdb: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xa67685bd
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 468862127 468860080 223.6G 83 Linux
3.
Check the information about the total space and available space on the SSD card and
its mount directory;
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 220G 28K 208G 1% /run/media/sdb1
4.
Test if the device could read and write data (a 1000MB file).
# dd if=/dev/zero of=/run/media/sdb1/test.txt bs=1M count=1000 conv=fsync
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB, 1000 MiB) copied, 4.39932 s,
238 MB/s
# ls /run/media/sdb1/test.txt -lh
-rw-r--r-- 1 root root
1000M
Mar 31 07:35 /run/media/sdb1/
test.txt