VOGONS


First post, by ncmark

User metadata
Rank Oldbie
Rank
Oldbie

So in a previous discussion I had started about storage NAS storage was mentioned. I will have to confess, I was I did not even know what that stands for. So I looked it up. From what I see, looks almost like a computer in itself.
So how do these interface with your desktop? Over a network? If so how is that done, some software installed on the desltop?

Reply 1 of 9, by Grzyb

User metadata
Rank l33t
Rank
l33t
ncmark wrote on 2025-03-21, 22:27:

So how do these interface with your desktop? Over a network?

Of course - that's why it's called "NETWORK Attached Storage".

If so how is that done, some software installed on the desltop?

Modern operating systems already include the necessary software.

It's simple: you can see the NAS disk as yet another disk on your desktop computer.

Kiełbasa smakuje najlepiej, gdy przysmażysz ją laserem!

Reply 2 of 9, by ncmark

User metadata
Rank Oldbie
Rank
Oldbie

I suppose maybe not THAT odd if you think about it. As far back as win95, you could set up a network and map a drive

Reply 3 of 9, by DaveDDS

User metadata
Rank Oldbie
Rank
Oldbie

Network Attached Storage

I've got at least 3 different ones - a couple of them show up as if they were any other computer on the network,
complete with shared drives - these are configured by an on-board web interface.

The other one has a web page where you can browse the internal drive and drag/drop files to it.
(to be fair this one is a little TINY one - only about 1" square by 1/2" thick - It can interface to USB
flash drives etc. And has WiFi built in - I use it when I travel to access "stuff" from tablets/phones
and such devices without having to jack in with special cables etc. to access USB devices directly.
- So not "typical" NAS -

Dave ::: https://dunfield.themindfactory.com ::: "Daves Old Computers"->Personal

Reply 4 of 9, by darry

User metadata
Rank l33t++
Rank
l33t++

I use https://www.openmediavault.org/ It's Debian Linux based and is easy to use through the GUI, but customizable through CLI.

I asked what others here were using about 5 years ago. What NAS are you using ?
I have upgraded my setup somewhat, but I'm still on the same platform, except for a better CPU, more RAM, more drive enclosures and 2.5G Ethernet, for the most part. I also use it to host a print server VM
EDIT: I mainly use SMB (Windows shares), but have dabbled in ISCSI using LIO (targetcli) and NFS

Reply 5 of 9, by chinny22

User metadata
Rank l33t++
Rank
l33t++

If you have networking already set up and copy files from one computer to another then you already have the basic understanding of a NAS.

Really, it's just a purpose-built storage PC, typically running some light weight OS allowing file access over multiple methods, like SMB (windows sharing) FTP, Browser, etc.
Very useful to have, even if it's just a old laptop with files saved to it. just having somewhere to dump files on the network is useful

Reply 6 of 9, by Robbbert

User metadata
Rank Member
Rank
Member

Consider a NAS to be a hard drive with a network port, and usually a built-in web page for configuration. You can either connect by mapping a drive, or by using a FTP client. The web page is most commonly designed for IE, but I'd expect it to work on any browser. The page may use a custom port, often 8080, and using http rather than https (no certificate to worry about).

The thing itself usually runs some kind of cut-down unix-like OS. The settings on the web page are pretty simplistic and easy to use.

The newer ones probably won't connect to win9x or NT, but if you find an old one, they usually can.

If you buy a modern one, you'll be able to get OS updates from the maker for a few years but after that you're on your own.

Depends on what you buy, you might need to format the hard drive first, but in my case they were already all done, using FAT32 or similar.

Reply 7 of 9, by wierd_w

User metadata
Rank Oldbie
Rank
Oldbie

NAS technology is 99% protocol.

There are 3 major flavors.

Microsoft SMB (usually provided by Samba)
linux / Unix NFS
Apple Filing Protocol

All of these are 'file level' protocols, and are thus NAS technology. Most consumer NAS boxes speak all 3 protocols, but microsoft SMB gets the most mileage.

Personally, I use a nice NFSv3 setup at home, with SMB as the fallback.

The actual hardware serving the storage can be literally anything, as long as it can speak the right protocols. In consumer devices, it's usually a single board computer hosting one or more sata disk drives. On higher end corporate hardware, it's a service running on a storage controller with a disk shelf.

The cousin of NAS technology is SAN, or Storage Area Network.

This is a dedicated network for only storage traffic, and is usually isolated from things like the internet. It usually runs on some modern variant of the Token Ring protocol (like FibreChannel, for older devices, etc, but modern devices can use ethernet based networks as well.) and makes very aggressive use of link bonding, multipath availability, and other fancy stuff.

SAN provides the infrastructure for a different class of 'remote storage' protocol: block protocols.

These are completely unaware of what individual files are, and allow access to raw block devices. The client treats it like an ordinary disk drive, and accesses raw sectors. (Blocks). iSCSI is the usual protocol used here, and it's used for stuff like virtual servers.

It's not at all unusual for an application server to be hosting a dozen or more instances of VMWare (or similar virtualizer), with all the virtual servers being physically stored on a RAIDed storage controller serving up iSCSI LUNS (logical unit number, the nomenclature for a SCSI device on a SCSI bus) over a SAN, with bonded connections, in a large corp envirionment. This is because data replication, fault tolerance, etc, can all be handled by the storage controller(s), and the application server can focus exclusively on compute and memory IO tasks of the virtualized os's running on it.

When most people think of NAS, they are thinking of the consumer grade devices out there, and not a storage controller. Still, modern NAS appliances are basically just very stripped down storage controllers, in the loosest kind of description. At the end of the day, it's still just a service running there, that serves a filesystem local to the controller, using a file level protocol. The major difference between a consumer NAS box, and a corporate storage controller, is scale, and beefiness of the hardware.

A DIY NAS box, made from a computer, and some NICs, is just a few pcie cards and some elective purchases away from being a bonafide storage controller, and being able to service a local SAN, if one felt so inclined.

Many enthusiasts and DIY types elect to build and administer their own NAS box, because the SBC based consumer boxes are notoriously underpowered, and lack robust data replication/protection (like advanced RAID). (Most rely on weaksauce SoC based sata implementations, that are restricted to only 2 sata ports, and at less than full sata 3 speeds. This limits the number of drives that can be connected, and thus the level of RAID possible. Further, these SoC based controllers are not fully bus mastering, meaning the whole device comes to its knees on certain disk io heavy operations, like a raid scrub, or rebuild.)

Once you sink the cost on a DIY box, you are basically building a storage controller. The difference between a NAS only one, and a fancy SAN enabled one, is just what cards you install, and if you elect to get disk trays.

Concerning newer windows clients, vs older clients, it's important to understand that this is 99% about protocol, specifically, the version of the protocol.

Really old clients (like the DOS client), use the 1.0 version of the SMB protocol. This version makes use of a workgroup/domain 'master', a custom name resolution protocol (WINS), and the NETBIOS extension for TCP/IP. The need for a 'browse master' to handle name resolution, and resource paths, (which has been removed/replaced with DNS and pals in later versions) is the reason 'network name' resolution often fails with consumer devices configured to respond to SMB1.0, and why raw IP address paths are often required.

Other, very important changes to the protocol over time include LDAP and KERBEROS security features (which SMB1 knows nothing about), and their own sets of dependency requirements, like network time protocol. (KERBEROS authentication will fail if the host clock on the client is more than 3 seconds out of sync with the NAS host, and needs NTP to keep this synchronization, etc.)

SMB3 and SMB1 are almost unrecognizable to each other. Very different animals.

Reply 8 of 9, by Robbbert

User metadata
Rank Member
Rank
Member

If you want a very simple shared drive solution, sometimes the router (or some other device) has a USB port, into which you plug in a USB stick, or an external USB hard drive. Then just map a drive letter to the router, and you have access to your drive from all your local computers. The USB port must be the standard rectangular one, not the old square one.

Reply 9 of 9, by st31276a

User metadata
Rank Member
Rank
Member

wierd_w's writeup above is very good.

It's basically connecting your favourite storage configuration by means of your favourite (for the purpose) computer to the network.

Samba for windows clients, nfs for linux clients, don't know the apple stuff.

Another higher level protocol I might throw out there for the flames to consume 😀 is HTTP/WebDAV: what about nextcloud...

It basically makes your setup much more convoluted and slower and cumbersome, all while it breaks compatibility with direct file shares (it does not like it when other things scratch around and modify its data directory) and gives you something to do - continuously updating the software as it grows bigger and bigger.

I use nextcloud in parallel with nfs shares on the same storage volume. I put most of the bulk data that has no business being in nextcloud outside of nextcloud, but documents I work on and stuff I like synced I keep within nextcloud.

The downside is a desktop sync client (can be any webdav client, but the nextcloud one works fine) must be run on the desktops.

The upside is the phone sync client automatically uploads photos and the web based one is accessible from anywhere I can reach my public IP.

Don't know if this violates the nas concept for the purists, but is also a trick you can pull with your nas box if you so care.