mSata use recommendation for LXC (and more?)

HI,

I have just fitted a KingSpec 256GB Mini PCI-E mSATA 6Gb/s Interface as per the Turris Video onn YouTube. But I cannot see the drive. is there any command I should run to make it visible?

fdisk -l

then cdisk /dev/sda

Unfortunately it does not appear when I run fdisk -l
I just get the drives plugged into the USB Slots

Device Start End Sectors Size Type
/dev/sdb1 34 262177 262144 128M Microsoft reserved
/dev/sdb2 264192 3907057663 3906793472 1.8T Microsoft basic data
/dev/sdb3 3907057664 7814055935 3906998272 1.8T Microsoft basic data

Sorry,

cfdisk (not cdisk)

shows /dev/sdb1 ?

Had same issue after installing the drive… I was forced to do factory reset, after which the drive appeared.

No such luck for me, factory reset it twice, upgrade to the latest firmware and still no joy.

Do you have kmod-ata-ahci kernel module installed? (usb drives use kmod-usb-storage, which is a different driver). You should have ahci if you installed the NAS package group, otherwise you have to install it by hand.

I have kmod-ata-ahci and have kmod-ata-ahci and kmod-ata-ahci-platform installed
I have the latest firmware installed, and NAS and Samba enabled.
this is the fdisk dump

root@turris:~# fdisk -l

Disk /dev/mtdblock0: 1 MiB, 1048576 bytes, 2048 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
Disk /dev/mtdblock1: 7 MiB, 7340032 bytes, 14336 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
Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 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: 0x3a52f6e3

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 15269887 15267840 7.3G 83 Linux

Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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
Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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
Disk /dev/sda: 28.9 GiB, 30991712256 bytes, 60530688 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: 0x00000000

Device Boot Start End Sectors Size Id Type
/dev/sda1 32 60530686 60530655 28.9G c W95 FAT32 (LBA)

Disk /dev/sdb: 3.7 TiB, 4000797851648 bytes, 7814058304 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: gpt
Disk identifier: 38B05D3A-B4B2-4A17-900A-04A33028AB87

Device Start End Sectors Size Type
/dev/sdb1 34 262177 262144 128M Microsoft reserved
/dev/sdb2 264192 3907057663 3906793472 1.8T Microsoft basic data
/dev/sdb3 3907057664 7814055935 3906998272 1.8T Microsoft basic data

You have this in the output:

Device Start End Sectors Size Type
/dev/sdb1 34 262177 262144 128M Microsoft reserved
/dev/sdb2 264192 3907057663 3906793472 1.8T Microsoft basic data
/dev/sdb3 3907057664 7814055935 3906998272 1.8T Microsoft basic data

Is this when connected through USB or mSATA?

Because it says that you have three partitions there, two of them mountable as either FAT, exFAT or NTFS.

Please paste the output of lsblk, ideally do this when neither your 32G and 2TB devices are plugged.
I trust you used the same Mini PCI-E slot as in the video.
Oh and do paste also the output of ls -l /sys/bus/pci/devices too.