1/221
Looks like no tags are added yet.
NAS (Network Attached Storage)
A dedicated storage appliance providing file-level data access and sharing via protocols like SMB and NFS.
DSM (DiskStation Manager)
The web-based operating system on Synology NAS devices configured through a web browser.
SAN (Storage Area Network)
Provides block-level storage over a storage network.
DAS (Direct Attached Storage)
Storage attached directly to one host or computer.
NAS primary storage in the lab
Five SATA magnetic hard disk drives (HDDs) configured as RAID 5.
NAS cache in the lab
Two M.2 NVMe solid-state drives (SSDs) configured as RAID 1.
Why SSDs are used as cache
Fast flash storage keeps frequently used data close to the system and speeds up access to slower HDDs.
HDD (Hard Disk Drive)
A magnetic storage drive with spinning platters providing economical capacity, generally slower than SSDs.
NVMe SSD
A solid-state drive that uses flash storage and the NVMe protocol over PCIe for high-speed access.
M.2
A physical form factor for compact internal drives and cards using SATA or NVMe.
NVMe (Non-Volatile Memory Express)
A storage protocol used to access flash storage over PCIe, describing communication rather than physical shape.
RAID
Redundant Array of Independent Disks: combines drives for performance, capacity, and/or fault tolerance.
Striping
Splits data across multiple drives to allow parallel work and improve performance.
Mirroring
Writes identical copies of data to two drives so one remains available if the other fails.
Parity
Calculated recovery information used to reconstruct missing data after a drive failure.
RAID 0
Striping for performance with zero redundancy; one drive failure loses all array data.
RAID 1
Mirroring with two identical drives; survives one drive failure and provides about one drive of usable capacity.
RAID 5
Striping with distributed parity across at least three drives; survives one drive failure.
Why RAID 5 was used for primary storage
Five SATA HDDs in RAID 5 provide a balance of usable capacity and protection against one drive failure.
Why RAID 1 was used for the SSD cache
The two NVMe SSDs are mirrored with RAID 1 to provide cache-drive fault tolerance.
RAID 5 usable-capacity formula
(Number of drives - 1) multiplied by the capacity of the smallest drive.
RAID 5 capacity with five 4 TB drives
About 16 TB is usable, with one drive's worth of capacity used for parity.
Where RAID 5 parity is stored
Distributed across the array; it is not stored on one dedicated parity drive.
RAID 5 degraded mode
The array keeps operating after one drive failure but runs slower without remaining drive-failure tolerance.
Main RAID 5 risk during rebuild
A second drive failure before the replacement drive finishes rebuilding can cause total array data loss.
RAID 6
Striping with double distributed parity requiring at least four drives and surviving two failures.
RAID 10
Striped mirrored pairs needing at least four drives, providing about 50% usable capacity with redundancy.
RAID 5 minimum drives
Requires at least three drives to implement striping with distributed parity.
Is RAID a backup?
No, RAID does not protect against deletion, ransomware, corruption, or disasters.
How was the NAS configured?
Through its web interface in a browser.
What was stored in the NAS shared folders?
OS installer ISO files and virtual appliances (OVAs).
How do you access NAS files through the web interface?
Use the NAS web interface or File Station in a browser.
How do you access NAS shared folders from Windows?
Use SMB in Windows File Explorer, such as \\NAS-IP\sharename.
What is SMB?
The native Windows network file-sharing protocol using TCP port 445.
What is Samba?
The open-source Linux and Unix software suite providing SMB/CIFS file and print services.
What is NFS?
A file-sharing protocol commonly associated with Unix/Linux systems for network file access.
What is Antivirus Essential?
A NAS application installed in the lab to scan stored files for malware.
What is Virtual Machine Manager (VMM)?
A NAS application that lets the NAS act as a hypervisor running VMs separately from DSM.
What is the performance tradeoff when running NAS VMs?
VMs share the NAS CPU and RAM with DSM, so oversized VMs can lower performance.
What is a virtual machine (VM)?
A software-defined computer with virtual hardware running its own guest OS.
What is a hypervisor?
The software or firmware layer that creates and runs virtual machines.
What is a Type 1 hypervisor?
A bare-metal hypervisor that runs directly on the hardware.
What is a Type 2 hypervisor?
A hosted hypervisor that runs on top of a conventional operating system.
What VM was used in the lab?
Linux Mint Xfce running as a virtual machine on the NAS.
How do you create a VM by installing from an ISO?
Create a blank VM, assign hardware, attach the ISO, install the OS, and detach the ISO.
How do you create a VM by importing an OVA?
Import a packaged, prebuilt virtual machine rather than installing from scratch.
What is an ISO image?
An optical-disc installer image file used to install an operating system into a new VM.
What is an OVA (Open Virtual Appliance)?
A single-file package containing a prebuilt VM description and its virtual disk.
What is bridged VM networking?
Gives the VM its own IP address on the physical LAN for direct connectivity like SSH.
What is NAT VM networking?
Places the VM behind the host network address, allowing outbound access easily.
What is SSH (Secure Shell)?
An encrypted service for remote command-line access, typically over TCP port 22.
What is PuTTY?
A terminal-emulation client used to connect to the VM over SSH.
What is Telnet?
An unencrypted remote command-line protocol that commonly uses TCP port 23.
How do you install the SSH server on Linux Mint?
Run sudo apt install openssh-server.
What protocol does SMB use?
TCP port 445.
What port does standard SSH use?
TCP port 22.
Enable and start SSH on Linux Mint
Run `sudo systemctl enable --now ssh` to enable SSH at boot and start it immediately.
Find a Linux VM IP address
Use `ip a` to display network interfaces and their IP addresses.
Software repository
A server or source configured to provide software packages to a package manager such as apt.
Repository mirror
A copy of a software repository, often chosen because it is closer or faster.
Change a repository mirror in the GUI
Open Software Sources in Linux Mint and choose a mirror.
Change repositories on the command line
Edit the apt sources list: `/etc/apt/sources.list` or files in `/etc/apt/sources.list.d/`.
sudo
Runs a command with elevated administrator/root privileges when authorized.
apt update
Refreshes the local index of available packages from the configured repositories without upgrading software.
apt upgrade
Downloads and installs newer versions of already installed packages.
apt install
Installs a specified software package and its required dependencies.
pwd
Prints the current working directory.
ls
Lists files and directories in the current directory or a specified path.
cd PATH
Changes the current working directory.
cat FILE
Prints a file's contents to the terminal.
nano FILE
Opens a text file in the Nano terminal editor.
mkdir -p PATH
Creates a directory path, including missing parent directories.
cp SOURCE DEST
Copies a file or directory from a source to a destination.
git clone URL
Downloads a local working copy of a Git repository.
ln -s TARGET LINK
Creates a symbolic link, similar to a file-system shortcut, pointing to a target.
chown USER:GROUP PATH
Changes the owner and/or group of a file or directory.
systemctl start SERVICE
Starts a service.
systemctl restart SERVICE
Stops and starts a service again.
systemctl status SERVICE
Shows whether a service is active, failed, or inactive.
systemctl enable SERVICE
Configures a systemd service to start automatically at boot.
systemctl daemon-reload
Makes systemd reread service/unit files after they are added or edited.
a2enmod MODULE
Enables an Apache module, such as `ssl` or `proxy_http`.
a2ensite SITE
Enables an Apache site configuration, such as the NetBox site.
redis-cli ping
Tests Redis connectivity; a healthy Redis server responds with PONG.
NetBox Step 1
Install PostgreSQL, create the NetBox database and user, and give that user ownership.
PostgreSQL role in NetBox
Stores NetBox's persistent data such as devices, racks, IP addresses, and cables.
CREATE DATABASE netbox
A PostgreSQL command used to create the NetBox database.
CREATE USER netbox
A PostgreSQL command used to create the NetBox database user with a password.
ALTER DATABASE netbox OWNER
A PostgreSQL command used to assign ownership of the NetBox database to the netbox user.
NetBox Step 2
Install Redis for caching and background task queuing; test with redis-cli ping.
Redis function
An in-memory service used for caching and background task queuing.
NetBox Step 3
Clone source into /opt/netbox, create a service user, edit configuration.py, run upgrade.sh, and create a superuser.
NetBox Step 4
Gunicorn is the Python application server that runs the NetBox application, set up as systemd services.
NetBox Step 5
Apache is the user-facing web server and reverse proxy that serves HTTPS and forwards requests to Gunicorn.
NetBox request flow
Browser -> Apache reverse proxy -> Gunicorn -> NetBox Python application -> PostgreSQL and Redis.
NetBox configuration.py
The main NetBox configuration file specifying host access and settings for database, Redis, and secret key.
DATABASE setting in NetBox
Specifies PostgreSQL connection details including database name, username, password, and host.
REDIS setting in NetBox
Specifies the Redis connection details used for caching and background task queuing.
ALLOWED_HOSTS
A NetBox/Django setting listing allowed hostnames or IP addresses; mismatch causes HTTP 400 Bad Request.
SECRET_KEY in NetBox
A long, randomly generated secret used for cryptographic signing.