ZFS rpool Swap and Dump Space

gcooper

n00b
Joined
Feb 22, 2014
Messages
7
Hi,

Pardon me if this info is common knowledge and answered elsewhere. I did not find it.

I have an Illumos + Napp-IT storage server with rpool mirrored on a 32GB SSD. It's running short of space as announced by Napp-IT capacity alert messages (15%).

The server has 32GB of RAM and is really just a backup repository.

Code:
root@stor-02:/root# zpool list
NAME     SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
backup  14.5T  11.7T  2.79T         -    53%    80%  1.00x  ONLINE  -
rpool   29.8G  21.4G  8.31G         -    46%    72%  1.00x  ONLINE  -

root@stor-02:/root# swap -l
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 97,2         8  8388600  8388600

root@stor-02:/root# zfs list
NAME                             USED  AVAIL  REFER  MOUNTPOINT
rpool                           25.2G  3.64G    38K  /rpool
rpool/ROOT                      5.05G  3.64G    31K  legacy
rpool/ROOT/omnios-2             1.65M  3.64G  2.51G  /
rpool/ROOT/omnios-r151016       5.05G  3.64G  2.89G  /
rpool/ROOT/pre_napp-it-0.9f6      53K  3.64G  2.42G  /
rpool/ROOT/stor-02-pre-upgrade    48K  3.64G  2.50G  /
rpool/dump                      16.0G  3.64G  16.0G  -
rpool/export                      63K  3.64G    32K  /export
rpool/export/home                 31K  3.64G    31K  /export/home
rpool/swap                      4.13G  7.38G   394M  -

Should I:

1) do nothing
2) resize swap
3) resize or eliminate dump
4) something else

Thanks in advance,

G
 
I would try to stop the warning and get on with life. Although I do not use Illumos we are running ZOL.

John
 
You should simply care that your pools won't get full.
A datapool will become slow near 100% and if your rpool goes to 100% you will get boot problems.

What I would check
- do you need all three extra bootenvironments (bootable snaps)
- do you have crashdumps or logfiles or other rpool files that are large and that you can delete

check napp-it menu
System >> Logs >> Rpool filesystems or folders to get informed where to look.
 
Is the dump volume even needed? It seems to be thick, so using the whole 4GB or whatever. Useless?
 
Thanks to all for the replies. They all make sense to me.

I deleted the extra BE's and that gained more space than I thought it would. I don't really understand ZFS snaps or BEs that well, I guess.

There wasn't much log space used, so i didn't do anything with them.

The server has never crashed (good Supermicro hardware with new approved RAM and new drives), so no core files that I could find.

rpool/dump is apparently 16GB and never used. Even if it was used, I'm not sure what I'd do with a core file anyway.

I think the problem is resolved by deleting the extra BE's.

Thanks again to all.

G
 
Back
Top