Project Title-Network Attached Information Storage
Project Title-Network Attached Information Storage
Project Title-Network Attached Information Storage
Abstract
The growing demand in the market for increased storage capacity is mainly because of our
dependency on the Internet. Network Attached Storage (NAS) provides a dedicated file server to
manage all kinds of files. It is an independent Storage device which is connected directly to the
network. Due to its availability on the network it can be easily accessed by any number of
heterogeneous clients.
The Network Attached Storage devices readily available in the market these days are highly
overpriced and do not provide much scope for enhancements, another aspect which is to be taken
into consideration is that in most instances these devices consume a fair amount of power. This
proposed approach aims at providing a low cost NAS system which is easy to use and configure.
It also comprises of added security features and Web Server capabilities. It enables you to have
round the clock available storage device which is handy as well as power saving and allows
accessibility to data on and off the network
Table of Contents
Chapter 1
Introduction
1.1 Background
Chapter 2
Literature Survey
2.1.1 storage
2.1.2 Raspberry pi
Chapter 3
Proposed Work
Chapter 4
Result Analysis
.Chapter 5
Reference
CHAPTER 1
INTRODUCTION
1.1 Background
Information Technology (IT) is an essential part of today’s business. IT-technology is, among
others, in key role for storing business knowledge into a stored format for later use. While IT
gives clear advantages over previously used methods for storing knowledge, it also generates
various new threats which are discussed in this project. However, these threats can be identified
and minimized with the proper combination of hardware and software. This study focuses on
utilizing various hardware and software to overcome the threats and it is based on design science.
The benefits from using NAS are clear; firstly it will improve the security of the data since it will
be located in one place only, rather than divided into several PC’s of the users personnel. That
greatly decreases the chances of information leaks due to thefts, mistakes and accidents.
Secondly, it will improve the maintenance of the data, allowing the local administrator to locate
the data from one place and because of that, it can be managed easier than if the data would be
located in several different places. Thirdly, it allows backing up the data frequently with an
efficient way, so that the valuable data will not be destroyed in an accident or a single system
failure. Fourthly, it improves the accessibility greatly by allowing users to connect to the device
via web from practically anywhere. That allows users to gain access to their documents from
home and practically anywhere which has an internet connection. In this case study, NAS will
be designed, configured and finally implemented into existing local network to act as a file-
server for the users. The project tries to solve and find out the proper way to implement it, as
well as how to utilize it correctly. However, a significant focus will be on finding the most
affordable solution without losing on features and fault-tolerance. The budget in this project is
limited. The aim is to support simultaneous users. The outcome of this project will be a proper
implementation of a NAS and as such it can be applied to any existing local network in a small-
sized company.
Maintainability
Future expansions
This project allows users to increase their data security in multiple ways as well as increases their
mobility as their centralized data storage can be accessed over Internet. This project can also be
used as a guide in the implementation stage of a NAS-system in most scenarios. The project is
applicable to be utilized in either home use, or in small offices.
refers to hard disk drives (HDDs), solid-state drive (SSD) storage (flash) or other types of
storage devices. Computers use primary and secondary storage for a number of reasons
• RAM based storage is versatile
• RAM is far more expensive than non-volatile storage on cost-per giga byte
Chapter 2
School of ECE, REVA University, Bengaluru. 9
Project Title- Network attached information storage
LITERATURE SURVEY
This chapter contains the theories and the background to justify the usage of NAS based
solutions in business. When implemented properly, it lowers the risk for a data loss as well as
greatly improves the mobility of the work thus allowing employees to work abroad. This chapter
contains the basic knowledge of the NAS based solutions as well as different ways to implement
them.
RELATED WORKS
Due to the exceptional growth of Internet in the past few years, computing resources are
available everywhere. The existing system uses cloud computing for data storage. Cloud
Computing Environment consists of two components.
a. Infrastructure Providers: Infrastructure providers handle the cloud platforms and rent out
resources according to usage
b. Service Providers: Service providers lease resources from infrastructure providers and make it
available to end users.
In spite of this technology having many opportunities and applications in today’s world, there
still exist a number of challenges which need resolution. The biggest challenge faced is the open
characteristic and multi-tenant nature of the cloud. This technology has a huge impact in the field
of information security. The various impacts are described in detail below.
(1) There is no security boundary in this technology due to features such as dynamic scalability,
service abstraction, and location transparency. In addition there is no fixed infrastructure for the
applications and data making it difficult to keep the information secure.
(2) There is a need for quick information processing in this kind of storage because the platform
will be dealing with large amount of data. The security needs to be in line with this high speed
processing.
(3) In this type of system, it is difficult to have a common security measure as the resources may
belong to multiple providers.
(4) There is a possibility of unauthorized user access due to the openness of cloud and sharing
virtualized resources by multi-tenant .
The above figure shows a typical NAS architecture. NAS helps the organizations to quickly and
easily add file storage capacity to their technology infrastructure. NAS focuses mainly on
serving files ,while hiding many of the details of the actual file system implementations. NAS
appliances are easy to deploy and are self sustained. NAS works well for organization that need
to deliver data to multiple clients over a network. NAS functions well in places where data must
be transferred over long distances. NAS can be used for domestic automation of data storage.
2.1.1 STORAGE: There are basically two modes of data storage: a) offline storage b) online
storage.
a) Offline storage: This is the storage media that must be manually inserted into the system. The
information is safely stored and retrieved when required. The data stored is permanent and its is
unaltered until edited by user, the data stored is also more portable and can be accessed easily .
eg: hard disk ,pen drives.
b) Online storage: It is a concept of storing of electronic data over a network. This type of data is
more secured , portable and can be accessed from any part of the world . It helps in sharing of
files among the multiple users at the same time.
Networked storage: Networked storage is an online data storage mechanism that uses special
devices connected directly to the network media. These devices will be assigned with an IP
address and can then be accessed by the clients via the server. The server acts as the gateway to
the data. In some cases, networked storage allows the device to be directly accessed without any
intermediate source .The biggest advantage of networked storage is expandability.
2.1.2 RASBERRY PI: The raspberry pi is a series of small single board computer
developed by the Raspberry pi foundation to promote teaching of basic computer science in
schools. The Raspberry Pi platform can run the Linux operating system, which means that the
Applications of open source software can be used directly with it.
The SD card inserted into the slot on the board acts as the hard drive to the Raspberry. It is
powered by USB and the video output can be viewed on a traditional RCA TV set, a more
modern monitor, or even a TV using a HDMI port .This enables all the basic features of a
computer. It also has an extremely low power consumption of 5watt.
The availability of drivers for opened source software makes the raspberry pi interfaced with
devices such as keyboard, camera with USB, and adapter of WIFI, without having any source
proprietary alternatives. Raspbian is a Debian based operating system for Raspberry pi. There are
several versions available including Raspbian Stretch and Raspbian lassie. The operating system
is a UNIX type, open source model. The latest release includes Raspbian Stretch with Desktop
.The working platform involves ARM i386 version. The kernal is a monolithic environment.
A NAS system provides file security, through methods such as “Access Control Lists,” and it
performs all file and storage services through standard network protocols, including TCP/IP for
data transfer, Ethernet for media access, and HTTP, CIFS, and NFS for remote file services. In
addition, a high-performance NAS appliance may handle tasks such as Web cache and proxy,
audio and video streaming, and tape backup.
The main considerations for a NAS OS are the size and performance. Desktop operating
systems are easier for the customer to implement, but take up more disk space (which means
less storage) and also contain unnecessary overhead that usually degrades performance. An
RTOS offers a smaller footprint and may even reside in Flash rather than on disk.
Development using an RTOS allows for more direct control of the hardware, enabling
optimum performance tuning. However, there is a significant investment required in
developing with an RTOS. Plus, this may limit the ability to include value-added functionality,
such as using the NAS device as a Web server. Embedded operating systems such as
Embedded Windows NT are good alternatives because they are modular and provide tools to
allow only the necessary modules to be installed. Many Linux packages also have this
capability. High Availability (HA) is also becoming a key consideration for OS selection.
Linux, for example, has an HA initiative underway.
1. David F. Nagle, Gregory R. Ganger, Jeff Butler, Garth Goodson, and Chris Sabol have
done project on Network Support for Network-Attached Storage. High- performance, low-
latency networking is essential to achieving the potential of scalable network-attached
storage. User-level networking solutions, such as VIA, have the potential to do this, but
must be mindful of the amount of on-drive resources required — connection state and
buffering can consume considerable resources. However, Remote DMA can help minimize
drive resources while providing a great deal of flexibility in drive scheduling and buffer
management. Further, VIA’s application-level flow control enables aggregation of flow
control across arbitrary storage components, something low-level network flow control is
not designed to support.
3. Howard Gobioff Garth Gibson Doug Tygar have done project in Security for Network
Attached Storage Devices.The NASD architecture is an innovative approach to the
problems of high performance and cost effective I/O based on network attached storage
systems. By providing security to network attached storage, we enable clients to utilize the
potential performance and scalability benefits inherent in network attached storage without
compromising their data security. The essence of our capability scheme is the
encapsulation of the bearer’s access rights on a particular version of a storage object using
a secret key shared between capability issuer (file manager) and capability enforcer.
4. The project Best Practices for running VMware vSphere on Network Attached Storage
by Paul Manning. Network Attached Storage has matured significantly in recent years and
it offers a solid availability and high performance foundation for deployment with
virtualization environments. Following the best practices outlined in this paper will ensure
successful deployments of vSphere on NFS. Many people have deployed both vSphere and
VI3 on NFS and are very pleased with the results they are experiencing. NFS offers a very
solid storage platform for virtualization. Both performance and availability are holding up
to expectations and as best practices are being further defined, the experience of running
VMware technology on NFS is proving to be a solid choice of storage protocols. Several
storage technology partners are working closely with VMware to further define the best
practices and extend the benefits for customers choosing to deployment VMware vSphere
on this storage protocol option.
5. Anna Suganthi, Karnavel ,Rajini Girinath.D have done project in Network Attached
Storage for Data Back Up Over a Local Area Network Software for the critical data in a
LAN was developed. The software could perform backing up of files in remote nodes,
deletion of files from remote node, retrieve files from remote node, join the group and
unsubscribe from the group. The software is also provided with an easy to use graphical
user interface. A program was developed through which one could write, delete, and
retrieve files to the external storage medium NAS which provides an additional reliability
for data storage.
Chapter 3
PROPOSED WORK
Here in this chapter we will discuss the components we are using. Since this project is purely
based on the concepts of networking therefore will discuss all networking related concepts and
why we are using RaspberryPi in the project.
The Raspberry is powered by USB and the video output can be viewed on a traditional RCA TV
set, a more modern monitor, or even a TV using a HDMI port. This enables all the basic features
of a computer. It also has an extremely low power consumption of 5watt. Offline storage devices
are connected through USB port to Raspberry pi and it also has a separate port to connect
Ethernet cable. NAS solutions are configured as file serving appliances accessed through the
workstations and servers using a network protocl TCP/IP. Network File System (NFS) or
Common Internet File system (CIFS) are some of the application used for accessing the file.
Most of the NAS connections reside between workstation clients and the NAS file sharing
facility.
The primary difference between NAS and SAN solutions is the type of access protocol. NAS
protocols such as NFS and CiFS provide shared file level access to storage resources. The
management of the file system resides with the NAS device. SAN protocols such as iSCSI and
fiber channel provide block level access to storage resources. Block level devices are accessed
by servers via the SAN, and the servers manage the file system. Despite their differences, SAN
and NAS are not mutually exclusive, and may be combined in multi-protocol or unified storage
arrays, offering both file-level protocols (NAS) and block-level protocols (SAN) from the same
system.
Benefits of NAS
• NAS devices typically leverage existing IP networks for connectivity, enabling companies to
reduce the price of entry for access to shared storage.
• The RAID and clustering capabilities inherent to modern enterprise NAS devices offer greatly
improved availability when compared with traditional direct attached storage.
• Because NAS devices control the file system, they offer increased flexibility when using
advanced storage functionality such as snapshots.
• With 10GE connectivity, NAS devices can offer performance on par with many currently
installed fiber channel SANs.
Remote Log Into Your Raspberry Pi’s Full Operating System Using VNC
Connect
VNC has long been the best way to access any computer remotely on the same network.
Recently, VNC Connect came out to make it easy to access your Raspberry Pi
from anywhere using a cloud connection. Once it’s set up, you can access your Raspberry Pi’s
graphic interface from any other computer or smartphone using the VNC Viewer app.The
Raspberry Pi’s main operating system Raspbian software is downloaded and installed
Setup a NAS Server on Raspberry pi: we will set up a simple NAS server from
scratch, based on the SMB protocol. The goal is to save files on the NAS server
and share them between different computer clients. For this project, we’ll
need a Raspberry Pi 2 or Pi3 with a running Rasbian and connected to some
Network. Make sure you have access to the terminal or you’re logged in to the
Raspberry Pi via SSH connection.For the file storage, we need an external
USB Hard-drive with a storage capacity of your choice.
Tthe Raspbian operating system is already installed and running on RPi. Connect your device to
the Network via a wired connection or via WLAN and open a terminal.
On the first step, we need to make sure that all packages are of the latest version.
1. To share files from our NAS server we need to install the Samba package. This includes all required
apps and configuration files to setup the SMB protocol.
3. Now open the /etc/samba/smb.conf file in an editor of your choice and enter the configuration
options for the INTERNAL sharing at the end of the file like shown below.
[INTERNAL]
comment = internal Files
browseable = yes
path = /home/pi/INTERNAL
writeable = Yes
create mask = 0777
directory mask = 0777
browseable = Yes
public = yes
4. After that, you need to get an access to the sharing, we’ve just created. For that, the user Pi should be
allowed to be the Samba user.
$ sudo smbpasswd -a pi
Then, enter a password twice and restart the Samba server.
On Windows open the Explorer and choose “Map network drive” from the Menu:
In the dialog window, enter the IP-address of your Raspberry Pi and the configured share name
“INTERNAL” as shown below.
Now enter the username “pi” and the password we’ve set up with the smbpasswd command
earlier.
After that, we are connected with the Raspberry Pi and we can save and share our files.
To make sure everything is OK, we can create a directory “Directory” and inside this directory,
we can create a “Dokument.rtf” file. If all the operations are done and you can find this file, so
our system is working the right way!
Back to the Raspberry Pi sharing directory, we must also see the newly created files, like that:
6. So, connect the external USB hard drive to the device. With the command lsblk, we can check
all the connected devices.
As you see above, the mmcblk0 device is the SD card which contains two partitions for the
Raspbian operating system. The sda device is the external USB disk already connected to the
RasPi. As we can see, the sda device contains one partition sda1 with a size of 16Gb. The sda1
partition contains an NTFS file system.
So, I should mention one important thing on this step. It looks like the latest models of Raspberry
Pi 2 and Raspberry Pi 3 can automatically mount the devices.
9. To automatically mount an HDD to the system, we have to modify the /etc/fstab file. For that,
we have to use the root command mentioned before to open up the file:
$ sudo leafpad /etc/fstab
10. Now we have to reboot and check if the external disk was mounted automatically.
As you can see above, the external hard drive partition /dev/sda1 is already mounted to the
EXTERNAL mount point. For testing purposes, we can create a directory and a file inside the
EXTERNAL directory.
1. For that, firstly, we have to add the following configuration part to the end
of /etc/samba/smb.conf file. Don’t forget to use the special command for opening the file:
As soon as the file opens up, copy the data set below:
[EXTERNAL]
comment = external Files
browseable = yes
path = /EXTERNAL
writeable = Yes
create mask = 0777
directory mask = 0777
browseable = Yes
public = yes
2. Then, we can restart the Samba server.
Now we can see the external sharing directory with the test file “external.file” inside.
If the result is as described and shown on the last picture, so we all set with our own and stable
universal Raspberry Pi NAS system, ready to use for any purpose of our choice!
Chapter 4
RESULT ANALYSIS
4.1 Use cases –analysis
The main aspect in use cases –analysis is that a functional NAS has to allow external connections
to users. It is very essential for today’s business that the company’s data storage is reachable
around the globe due to globalization. In this specific case, the users are also doing distance work
and they will benefit from a system which will grant the access to all the needed files, no matter
where they are. It is also mentionedr that while observing there were clients who liked to have an
access to specific documents.
As the usability is always a concern, this system should allow the users to see data storage
folders (and drives) as their network drives. There should be at least one network drive which is
user-specific, meaning that only the user has the rights to read and write to the folder and one
network drive which is for all the users.
One of the hoped-for features was a web-based user management, which would be rather easy to
implement but very hard to manage. This type of management might lead to accidental user
removals which might lead to severe data loss. So we declined to implement this type of web-
based service as it might cause more trouble than what is the gain.
Chapter 5
CONCLUSION & FUTURE SCOPE
5 CONCLUSION
The implemented NAS architecture is an innovative approach to the problems of high
performance and cost effective data storage. By providing security to the network attached
storage, we can enable clients to utilize its potential performance. The scalability benefits are
inherent in network attached storage without comprising their data security. The essence of our
capability scheme is the encapsulation of the bearer access right on a particular version of
storage object using secret key shared between clients. Information Technology is an essential
part of day-to-day business. Even a small company generates a lot of valuable data which is then
stored locally to PC’s or into centralized storages. Centralized storage is a far more advanced
solution and when implemented and maintained properly, it offers the needed safety for the
valuable data.
REFERENCES
1. David F. Nagle, Gregory R. Ganger, Jeff Butler, Garth Goodson, and Chris Sabol, ‘Network
Support for Network-Attached Storage’, Proceedings of Hot Interconnects 1999, August 18 - 20,
1999, Stanford University, Stanford, California, U.S.A.
2. Darrell D.E. Long University of California, ‘Authenticating Network Attached Storage’,
IEEE Micro, Los Alamitos, CA, USA,Volume 20 Issue 1, January 2000
3. Howard Gobi off Garth, Gibson Doug Tygar, ‘Security for Network Attached Storage Devices
(CMU-CS-97-185)’ School of Computer Science Carnegie Mellon University Pittsburgh, PA
15213, October 23, 1997.
4. ‘Best Practices for running VMware vSphereTM on Network Attached Storage’ Feb 4, 2013
5. Anna Suganthi, Karnavel ,Rajini Girinath.D, ‘Network Attached Storage for Data Back Up
Over a Local Area Network’,IJEA,Mar’15. 6.
7. http://www.tinkernut.com/portfolio/make-raspberry-pi-nas-network-attached-storage/
8. http://www.imexresearch.com/pdfs/sasnassan.pdf
9. http://searchstorage.techtarget.com/definition/network-attached-storage
10. http://searchstorage.techtarget.com/definition/storage
11. http://www.computerhope.com/jargon/s/stordevi.htm
12. http://searchstorage.techtarget.com/definition/primary-storage
13. https://www.youtube.com/results?search_query=how+to+work+in+command+prompt
14. http://searchstorage.techtarget.com/definition/secondary-storage
15. http://searchstorage.techtarget.com/definition/secondary-auxiliary-storage
16. https://in.answers.yahoo.com/question/index?qid=20101004044133AAUE7Wu
17. https://www.raspberrypi.org/downloads/raspbian/
18. http://www.instructables.com/id/How-to-Create-a-Bootable-USB-Drive-Without-Using- A/
19. http://computernetworkingnotes.com/network-administrations/samba-server.html
20. http://www.dtic.mil/dtic/tr/fulltext/u2/671354.pdf
21. https://www.raspberrypi.org/help/what-is-a-raspberry-pi/
22. https://pimylifeup.com/raspberry-pi-nas/
23. http://www.howtogeek.com/139433/how-to-turn-a-raspberry-pi-into-a-low-power- network-
storage-device/