NAS and always mount external disk

1 reply [Last post]
calher

I am a member!

Offline
Joined: 06/19/2015

How do I turn my Trisquel server into a NAS?

Always mount external disk, if the disk is plugged in.

Disk is to house all my files and data.

How do I do it?

Should the disk be in /srv?

Does this show that there's an empty bay inside the computer on /dev/sdb
that I can put my disk in?

caleb@farnsworth:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 930.6G 0 part /
├─sda2 8:2 0 1K 0 part
└─sda5 8:5 0 976M 0 part [SWAP]
sdb 8:16 1 0B 0 disk
sr0 11:0 1 1024M 0 rom
caleb@farnsworth:~$

--
Caleb Herbert
https://bluehome.net/csh/

jxself
Offline
Joined: 09/13/2010

It looks like /dev/sdb is drive that is detected by the system, but its size is zero bytes. If it's a hot-swap bay that might be no disk is inserted. Or it could also indicate that a disk is physically present but not properly connected, or is faulty or incompatible in some way.