Rogue Security Wiki

Study notes covering Administering Storage.

Author: Dylan Barrett

Date: 02/28/2026


📖 Useful Vocabulary / Acronyms

Terminology Definition
File Storage A Storage method where data is managed as a discrete file within the operating system's filesystem. It is very common on workstations, servers, and NAS devices
Block Storage The Storage method that breaks data into chunks and distributes the chunks across available storage space, independent of the server's filesystem.
Object Storage A storage method where data is broken into chunks and managed with detailed metadata. It is very scalable and is best for data that is written once and read often.
Storage Area Network Network dedicated to provisioning storage resources, typically consisting of storage devices and servers connected to switches via host bus adapters.
Logical Volume Manager (LVM) Software that maps physical devices and partitions to logical volumes
Scalability Property by which a computing environment can gracefully fulfill its ever-increasing resource needs
Master Boot Record Sector on a mass storage devices that hold information about partitions and the OS Boot Loader
GUID Partition Table (GPT) Modern Disk partitioning system allowing large numbers of partitions and very large partition sizes
Unified Extensible Firmware Interface (UEFI) Type of system firmware, providing support for 64-bit cpu operation at boot, full GUI and mouse operation at boot and better boot security
Filesystem in Userspace (FUSE) Permits the creation of non-privileged access to the kernel by providing an interface between the two
Userspace The area in system memory outside of the kernel space that includes software that accesses kernel services
Latency Time Taken for a singnal to reach the recipent, measured in milliseconds. Latency is a particular problem for two-way applicaitons, such as VoIP and online confrencing.
Throughput Amount of data transfer supported by a link in typical conditions.
RAID Specifications that support redundancy and fault tolerance for different configurations of multiple-deivce storage systems.
Input/Ouput Operations Per Second (IOPS) Preformacne indicator that measure the time taken to complete read/write operations
Multipathing Overprovisoning controllers and cabling so that a host server has failover connections to networks and storage media
Storage Area Network Network Dedicated to provisioning storage resouces
Fiber Channel High Speed netwwork communications protocol used to implement SAN's
Internet Small Computers System Interface (iSCSI) IP tunneling protocol that enables the transfer of SCSI data over an IP-Based network to create a SAN

Deploy Standard Storage

Linux Storage Concepts

Types of Storage Design

Partitoning and Logical Volume Manager

Hard Disk Drive Deployments

Disk and Partition References

Types of partitions

Partitions on the Drive

Partition Design

the fdisk utility

Partition Management

The growpart Utility

The partprobe command and the /proc/partitions Directory

Filesystems on a partition

Filesystem Management,

Swap Space and Virtual Memory

Deploy Logical Volume Managment

Configure Logical Volume Managment

LVM Managment Tools

Logical Volume Deployments

# Create the Physical Volumes
pvcreate /dev/sdb
pvcreate /dev/sdc
pvdisplay
# Create the Volume Groups
vgcreate vg_projects /dev/sdb /dev/sdc
vgdisplay
# Create the Logical Volume
lvcreate --name projects --size 500G vg_projects
lvdisplay

Mount Storage

Manually Testing Mount

The mount and umount commands

mkdir /projects
mount /dev/sdb2 /projects

Testing the Storage

Automatically Mounting New Storage

Use a systemd.mount file

# This file mounts the /projects directory via systemd
[Unit]
Description=Project Directory (/projects)
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount. target
After=swap.target
[Mount]
What=/dev/disk/by-uuid/eca1646e-3245-5bf5-faab-31f6c424c09f
Where=/projects
Type=ext4
Options=defaults
[Install]
WantedBy=multi-user.target
[Unit]
Description=Mount NFS Share
After=network.target

[Mount]
What=fileserver07:salesdata
Where=/mnt/sales_share
Type=nfs
Options=defaults

[Install]
WantedBy=multi-user.target

Use the /etc/fstab File

The AutoFS Service

Disk Performance

Measuring input/output operations per second

Scheduling Input/Output operations

Manage Other Storage Options

Linux Unified Key Setup 2

Software Raid

# Create a RAID 0 array with sdb and sdc
mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2 /dev/sdb /dev/sdc
# Save the details of the new array to a file for configuration at boot
mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf
# See the status of the array
cat /proc/mdstat

Storage Area Network

Storage Quota's

# View the storage quota for jsmith
quota -u jsmith
# Turn on storage Quota's for the root directory
quotaon /
# Turn Off Quota's on the root Directory
quotaoff /