leenux_tux
Patron
- Joined
- Sep 3, 2011
- Messages
- 238
Hello forum,
Not sure if this is the right place to post this question.......
Spotted something I think is a little odd regarding swap files on one of my freenas boxes...
I have two freenas systems (testing different methods of backing up an freenas box to another freenas box). When I run "swapctl -l" on my main freenas box I get this...
[root@freenas01] ~# swapctl -l
Device: 1024-blocks Used:
[root@freenas01] ~#
When I run the same command on my backup freenas system I get this.....
[root@freenas02] ~# swapctl -l
Device: 1024-blocks Used:
/dev/ada0p1 2097152 0
/dev/ada1p1 2097152 0
/dev/ada2p1 2097152 0
/dev/ada3p1 2097152 0
This seems a little odd to me...
On my main systems (freenas01) I have 4 X 2TB hard drives and 8GB RAM. On my secondary freenas box (freenas02) I have 4 X 1TB hard drives and 8GB of RAM.
I thought that ZFS/Freenas automatically created a swap file on each drive that was part of the pool ?
In "Settings/Advanced" freenas is set to use 2GB of swap on each drive and has never been set to zero.
Interested to see what other folks are seeing and wondering if I have a "bad" system for some reason.
leenux_tux
Not sure if this is the right place to post this question.......
Spotted something I think is a little odd regarding swap files on one of my freenas boxes...
I have two freenas systems (testing different methods of backing up an freenas box to another freenas box). When I run "swapctl -l" on my main freenas box I get this...
[root@freenas01] ~# swapctl -l
Device: 1024-blocks Used:
[root@freenas01] ~#
When I run the same command on my backup freenas system I get this.....
[root@freenas02] ~# swapctl -l
Device: 1024-blocks Used:
/dev/ada0p1 2097152 0
/dev/ada1p1 2097152 0
/dev/ada2p1 2097152 0
/dev/ada3p1 2097152 0
This seems a little odd to me...
On my main systems (freenas01) I have 4 X 2TB hard drives and 8GB RAM. On my secondary freenas box (freenas02) I have 4 X 1TB hard drives and 8GB of RAM.
I thought that ZFS/Freenas automatically created a swap file on each drive that was part of the pool ?
In "Settings/Advanced" freenas is set to use 2GB of swap on each drive and has never been set to zero.
Interested to see what other folks are seeing and wondering if I have a "bad" system for some reason.
leenux_tux