Storage

OpenBSD Add Storage

you’ve got a maschine and you’re running out of disk space. attach a new disk like this: # fdisk -i sd1 Note: Substitue sd1 for your disk. ... # disklabel -E sd1 > p m > a a > quit # newfs sd1a # mkdir /data # mount /dev/sd1a /data/ and make permament in /etc/fstab sha256: a46795646adfce7e60b87c10e0cf9146e356855ecc8b4b1aeae6f4027e00c8d1

OpenBSD 6.x Diskusage

How much Disk is used with Default Partitioning puffy66# df -h Filesystem Size Used Avail Capacity Mounted on /dev/sd0a 1005M 96.1M 858M 10% / /dev/sd0k 9.6G 2.0K 9.1G 0% /home /dev/sd0d 1.8G 12.0K 1.7G 0% /tmp /dev/sd0f 2.5G 955M 1.4G 39% /usr /dev/sd0g 1005M 202M 752M 21% /usr/X11R6 /dev/sd0h 4.2G 218K 3.9G 0% /usr/local /dev/sd0j 5.8G 2.0K 5.5G 0% /usr/obj /dev/sd0i 1.7G 2.0K 1.6G 0% /usr/src /dev/sd0e 2.8G 5.9M 2.7G 0% /var Example with 32 GB puffy66# df -h Filesystem Size Used Avail Capacity Mounted on /dev/sd0a 3.