Multiple swap spaces after refresh Solaris 11.3 install on Sparc T5-2


 
Thread Tools Search this Thread
Operating Systems Solaris Multiple swap spaces after refresh Solaris 11.3 install on Sparc T5-2
# 1  
Old 10-28-2016
Multiple swap spaces after refresh Solaris 11.3 install on Sparc T5-2

Hi
The following is the output of "df -h" and "zfs list" right after fresh installation of Solaris 11.3 on Sparc T5-2 with 256GB memory. Because the server has 256GB of memory, I think Solaris created swap file system mounted on /system/volatile and /tmp, but my question is, zfs also has zpool/swap with 4G which is not much compared to the memory, do I really need this 4G swap space under zpool?
Thanks


Code:
root@solaris:/#  df -h

Filesystem                           Size   Used  Available Capacity  Mounted on
rpool/ROOT/solaris          547G   2.9G       409G     1%    /
/devices                                 0K     0K         0K     0%    /devices
/dev                                        0K     0K         0K     0%    /dev
ctfs                                         0K     0K         0K     0%    /system/contract
proc                                        0K     0K         0K     0%    /proc
mnttab                                    0K     0K         0K     0%    /etc/mnttab
swap                                   243G   2.7M       243G     1%    /system/volatile
objfs                                        0K     0K         0K     0%    /system/object
sharefs                                    0K     0K         0K     0%    /etc/dfs/sharetab
fd                                            0K     0K         0K     0%    /dev/fd
rpool/ROOT/solaris/var     547G   237M       409G     1%    /var
swap                                   243G     8K       243G     1%    /tmp
rpool/VARSHARE             547G   2.4M       409G     1%    /var/share
rpool/VARSHARE/zones   547G    31K       409G     1%    /system/zones
rpool/export                        547G    32K       409G     1%    /export
rpool/export/home              547G    32K       409G     1%    /export/home
rpool                                   547G    73K       409G     1%    /rpool

root@solaris:/#  zfs list

NAME                              USED  AVAIL  REFER  MOUNTPOINT
rpool                                  139G   409G  73.5K  /rpool
rpool/ROOT                      3.13G   409G    31K  legacy
rpool/ROOT/solaris          3.13G   409G  2.89G  /
rpool/ROOT/solaris/var     239M   409G   237M  /var
rpool/VARSHARE            2.53M   409G  2.44M  /var/share
rpool/VARSHARE/zones     31K   409G    31K  /system/zones
rpool/dump                         132G   413G   128G  -
rpool/export                        97.5K   409G    32K  /export
rpool/export/home              65.5K   409G    32K  /export/home
rpool/swap                          4.13G   409G  4.00G  -


Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-28-2016 at 11:18 AM.. Reason: Added CODE tags.
# 2  
Old 10-28-2016
This User Gave Thanks to jim mcnamara For This Post:
# 3  
Old 10-28-2016
I'm afraid you are misinterpreting the statistics.

Please post "swap -l" and "swap -s" output.

It would also help readability if you fix the initial posting with the correct "df" and "zfs list" outputs. They should be properly aligned.
# 4  
Old 10-28-2016
The below are the output of swap -l and swap -s

Code:
root@solaris:/# swap -l -h
swapfile             dev    swaplo   blocks     free
/dev/zvol/dsk/rpool/swap 303,1        8K     4.0G     4.0G

root@solaris:/# swap -s -h
total: 776M allocated + 51M reserved = 824M used, 242G available



Quote:
Originally Posted by jlliagre
I'm afraid you are misinterpreting the statistics.

Please post "swap -l" and "swap -s" output.

It would also help readability if you fix the initial posting with the correct "df" and "zfs list" outputs. They should be properly aligned.


Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-28-2016 at 12:48 PM.. Reason: Added CODE tags.
# 5  
Old 10-28-2016
1. There are no "multiple swap spaces", /tmp and /system/volatile are using the same back-end which is your system virtual memory which size is around 243 GB and essentially made of RAM (minus 4GB).
2. You currently don't need the 4 GB of disk space dedicated to swap, and by far. However, I would recommend not only to keep it as is in the long term, but even to increase its size. Otherwise, there is a risk part of your RAM being wasted should you start to heavily use it.
This User Gave Thanks to jlliagre For This Post:
# 6  
Old 10-28-2016
This is also dependent for what you wish to use your server.
Do you plan to use Oracle VM, zones or you plan to run services on bare metal ?

For OVM, hypervisor sizing should be minimal (couple of cores and 4-8 GB of RAM should suffice, depending), ldoms should be sized per resources assigned to them (link below).

Link :
Planning for Swap Space -
Managing File Systems in Oracle(R) Solaris
11.3


Hope that helps
Regards
Peasant.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to install Solaris 10 5/09 on sparc T4-1?

hi everyone, good day to all. I need help to fix an issue which we encounter while installing the Alcatel -lucent 5620 NM on a solaris 10 OS. The Alcatel lucent 5620 NM release 9 software is only recommended OS to work with Solaris 10 release 5/09 but when we try to install the same... (9 Replies)
Discussion started by: Anjo Antony
9 Replies

2. Solaris

SPARC M10 - Install Solaris 10

Hi, This machine does not have CDROM/DVDROM. I try to boot using external usb. Issue command: show-disks does not show any external cdrom. How to install OS? Is it can be install using usb pendrive? Thanks. (5 Replies)
Discussion started by: mzainal
5 Replies

3. Solaris

Need to install /usr/lib/libiconv.so.2 Solaris Sparc 64 bit package

Hi, Can anyone help me out in getting download the below required package for Solaris 10 SPARC 64-bit machine. Thanks in advance. (3 Replies)
Discussion started by: prash358
3 Replies

4. UNIX for Dummies Questions & Answers

Install SCSI Jaz drive in Sparc Solaris

I recently got a Sun Sparc 10 Ultra with Solaris 10 installed on it. Now I'm trying to connect my SCSI Jaz drive to it. I moved my Adaptec AHA-2940U PCI SCSI card from my XP PC (where it was working OK) to the Sun and that's about as far as I got. I did a probe-scsi-all and got nothing back,... (0 Replies)
Discussion started by: Michele31416
0 Replies

5. Solaris

How to make Multiple partitions in a slice (solaris sparc 10)?

I am using Solaris Sparc 10,and facing some issues. HD:80gb ; Root = 11gb(currently using) , I have made a parttition in the c0t0d0s2 slice(which is of 60gb & the partition tag is 'usr'),and I have done newfs on -> /dev/dsk/c0t0d0s2 which is mounted on /export (having ufs filesystem). Now... (6 Replies)
Discussion started by: big_zer0
6 Replies

6. Solaris

How to Install EIS DVD for SPARC (solaris 10)

hello, i need to install eis dvd (recommanded patches) dvd for a client, but i don't know the procedure, can you please help? (1 Reply)
Discussion started by: feg
1 Replies

7. Solaris

64 Bit SPARC Solaris 10 Install

I downloaded the iso image from here and burnt it on DVD. But when I tried installing it..it said boot device not availiable. Do I have to make it bootable? Is there any other component that I need to write on DVD other than the image? Moreover the DVD which I received from my admin for... (5 Replies)
Discussion started by: sumeet
5 Replies

8. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

9. Solaris

Solaris 10 install fails on sparc

I'm trying to do an upgrade/install from Solaris 8 to Solaris 10 on a SUN Sparc system. I halt the system, as documented, but when I attempt to boot off the distribution DVD; i.e. halt : : OK> boot cdrom The system indicates that the device is 'unrecognizable' These are SUN... (5 Replies)
Discussion started by: imagtek
5 Replies

10. Solaris

how to install wget on Solaris sparc 9

hi, i downloaded wget-1.9.1-sol9-sparc-local.gz for solaris sparc 9. but do not know how to install it. anybody help me. many thanks tinhlx (3 Replies)
Discussion started by: tinhlx
3 Replies
Login or Register to Ask a Question