CS615 System Administration, Week 3, Warmup Exercise 1 - Resizing a filesystem on NetBSD
Channel: cs615asa
Date: 2024-02-04

In this video, we show how to resize an existing filesystem on NetBSD using the resize_ffs(8) tool.  We first increase the size of a 512MB partition to 1GB, then shrink it down to 256MB.

Slides for this lecture: https://stevens.netmeister.org/615/03-resize-netbsd.pdf
Course Website: https://stevens.netmeister.org/615/

Outline:
00:00 Introduction
00:31 What we already know
01:18 Here's the plan
02:03 Setting up our system
03:27 Using disklabel(8) to create our initial two partitions
05:10 Growing the filesystem
06:30 Shrinking the filesystem
08:32 Summary