Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a qnap ts-412, and ideally I'd like to connect the NAS through a USB cable to my Debian server (no GUI) -- can I mount the NAS drive to this Linux server as a regular USB drive? Like for example:

mount -t ext3 /dev/sdb2 /mnt/usb

I have just bought the NAS, and literally only powered on to initialize the disks. Wanted to check before I proceed, in case I did something wrong or impossible.


share|improve this question

migrated from Feb 15 '12 at 14:43

This question came from our site for system and network administrators.

up vote 2 down vote accepted

As others already pointed out, your NAS most certainly cannot be used in USB slave mode.

However, if you would like full access to it, you can SSh into it.

Or you can mount it in your Debian server using sshfs.

apt-get install sshfs
mkdir /mnt/nas
sshfs /mnt/nas

I do that so I can use a comfortable file manager (MC) and my usual shell configuration instead of what I would get in the NAS shell.

share|improve this answer
This really helped; works perfectly - thank you! – Anthony Aykut Feb 16 '12 at 18:48

I have yet to see any NAS that support USB "slave mode". The information found when looking up the "qnap ts-412" doesn't suggest that this should be supported by the device.

If you want fast access to the storage from one or multiple machines I suggest that you invest in some networking hardware (cables, switch eg.) that support the highest transfer speed supported by the device.

When mounting the shares (using linux) you might also want to look into what protocol gives you the highest transfer speed for your typical scenario. Many devices support SMB/NFS/FTP/SFTP/AFP - and they may give different results.

share|improve this answer

Depends on the NAS, I suppose, as most NAS devices I've used are independent computers meant to just share data out. The way to mount it is to see what protocol(s) it supports and connect that way.

Most NAS devices are Windows-compatible. So you create the share(s) you want and connect using samba to mount it on the Linux devices.

EDIT in looking up the device, it looks like it's targeted for home users to store information for home media ( and it supports a lot of connection options. Your best bet is to use the SAMBA connection after configuring your shares and mounting it like that.

share|improve this answer
Agreed. The purpose of a NAS is to make the data available over the network. The mount utility in linux should allow you to mount the shares using a number of protocols. For example, we have a Windows Server 2008 based NAS and to mount the shares on any of our Linux servers, I use the mount -t cifs command. – Safado Feb 15 '12 at 14:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .