- Joined
- May 18, 2016
- Messages
- 890
My FreeBSD box is setup with raidz3 and has nine hard drives which
These drives were configured many years ago. I am not sure whether the swap as shown above is setup to be used, but my /etc/fstab has the lines below:
Below is
I am very uncertain about the fstab, I suspect it may be incomplete. Is there a way to determine whether *any* of the swap space that
How would I setup swap properly, what needs adjustment?
gpart show
will report identically aside from diskid, below:Code:
=> 34 976773101 diskid/DISK-WD-WCC1S6162369 GPT (466G) 34 6 - free - (3.0K) 40 1600 1 efi (800K) 1640 408 - free - (204K) 2048 4194304 2 freebsd-swap (2.0G) 4196352 972576768 3 freebsd-zfs (464G) 976773120 15 - free - (7.5K)
These drives were configured many years ago. I am not sure whether the swap as shown above is setup to be used, but my /etc/fstab has the lines below:
Code:
# Device Mountpoint FStype Options Dump Pass# /dev/ada0p2 none swap sw 0 0 /dev/ada1p2 none swap sw 0 0 /dev/ada2p2 none swap sw 0 0 /dev/ada3p2 none swap sw 0 0 /dev/ada4p2 none swap sw 0 0 /dev/ada5p2 none swap sw 0 0 /dev/ada6p2 none swap sw 0 0 /dev/ada7p2 none swap sw 0 0 /dev/ada8p2 none swap sw 0 0 linprocfs /compat/linux/proc linprocfs rw 0 0 fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0 #tmpfs /usr/obj tmpfs rw,mode=01777 0 0 /dev/cd0 /cdrom cd9660 ro,noauto 0 0 linproc /compat/linux/proc linprocfs rw 0 0 linsysfs /compat/linux/sys linsysfs rw 0 0
Below is
zpool list
output:Code:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT zroot 4.06T 1.94T 2.12T - - 30% 47% 1.00x DEGRADED - root@ichigo:~ # zfs list NAME USED AVAIL REFER MOUNTPOINT zroot 1.20T 1.23T 236K /zroot zroot/ROOT 183G 1.23T 236K none zroot/ROOT/default 183G 1.23T 183G / zroot/bastille 2.19G 1.23T 295K /usr/local/bastille zroot/bastille/backups 236K 1.23T 236K /usr/local/bastille/backups zroot/bastille/cache 281M 1.23T 236K /usr/local/bastille/cache zroot/bastille/cache/11.4-RELEASE 126M 1.23T 126M /usr/local/bastille/cache/11.4-RELEASE zroot/bastille/cache/12.1-RELEASE 154M 1.23T 154M /usr/local/bastille/cache/12.1-RELEASE zroot/bastille/jails 1.00G 1.23T 236K /usr/local/bastille/jails zroot/bastille/jails/foxfire 1.00G 1.23T 285K /usr/local/bastille/jails/foxfire zroot/bastille/jails/foxfire/root 1.00G 1.23T 1.00G /usr/local/bastille/jails/foxfire/root zroot/bastille/logs 285K 1.23T 285K /usr/local/bastille/logs zroot/bastille/releases 931M 1.23T 236K /usr/local/bastille/releases zroot/bastille/releases/11.4-RELEASE 420M 1.23T 420M /usr/local/bastille/releases/11.4-RELEASE zroot/bastille/releases/12.1-RELEASE 510M 1.23T 510M /usr/local/bastille/releases/12.1-RELEASE zroot/bastille/templates 669K 1.23T 669K /usr/local/bastille/templates zroot/jails 4.81G 1.23T 4.37G /jails zroot/jails/.warden-template-113amd64 447M 1.23T 447M /jails/.warden-template-113amd64 zroot/poudriere 5.98G 1.23T 256K /zroot/poudriere zroot/poudriere/jails 3.95G 1.23T 236K /zroot/poudriere/jails zroot/poudriere/jails/12amd64 3.95G 1.23T 3.95G /usr/local/poudriere/jails/12amd64 zroot/poudriere/ports 2.03G 1.23T 236K /zroot/poudriere/ports zroot/poudriere/ports/default 2.03G 1.23T 2.03G /usr/local/poudriere/ports/default zroot/tmp 588M 1.23T 588M /tmp zroot/usr 1022G 1.23T 236K /usr zroot/usr/home 983G 1.23T 284G /usr/home zroot/usr/home/music 16.0G 1.23T 16.0G /usr/home/music zroot/usr/home/tigersharke 682G 1.23T 682G /usr/home/tigersharke zroot/usr/ports 36.4G 1.23T 36.4G /usr/ports zroot/usr/src 2.82G 1.23T 2.82G /usr/src zroot/var 4.72G 1.23T 236K /var zroot/var/audit 236K 1.23T 236K /var/audit zroot/var/crash 236K 1.23T 236K /var/crash zroot/var/log 4.65G 1.23T 4.65G /var/log zroot/var/mail 69.6M 1.23T 69.6M /var/mail zroot/var/tmp 3.78M 1.23T 3.78M /var/tmp
I am very uncertain about the fstab, I suspect it may be incomplete. Is there a way to determine whether *any* of the swap space that
gpart
tells me is assigned is ever used? How would I setup swap properly, what needs adjustment?