Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.

learn more… | top users | synonyms

28
votes
5answers
80k views

High load average, low CPU usage - why?

We're seeing huge performance problems on a web application and we're trying to find the bottleneck. I am not a sysadmin so there is some stuff I don't quite get. Some basic investigation shows the ...
15
votes
2answers
26k views

How can I add one disk to an existing raidz zpool?

I have an OpenSolaris server with a zpool backupz comprised of four SCSI drives: -bash-3.2# zpool status backupz pool: backupz state: ONLINE scrub: none requested config: NAME ...
35
votes
9answers
36k views

How to reduce memory usage on a Unix webserver

I'm currently using a Joyent Accelerator to host my webapps, and it's working fine, however I need to reduce costs so I'm downgrading my current plan and that imposes some new memory limits (256M rss, ...
1
vote
3answers
3k views

Solaris: detect hotswap SATA disk insert

What's the method used on Solaris to get the system to rescan for new disks that have been hot-plugged on a SATA controller? I've got an HP X1600 NAS which had 9 drives configred in a ZFS pool. I've ...
6
votes
5answers
5k views

Is there a way to filter mails in remote IMAP account?

Situation: mail server with IMAP only access. Problem: I want to be able to filter mails (put some mails to various folders, mark them as read and so on). Most new email clients have this ability, ...
7
votes
2answers
5k views

What's in my ZFS ARC and L2ARC caches?

I have a simple ZFS setup at home, four disks mirrored, 8GB ram and 120GB Intel X25-M SSD for L2ARC. I ran zpool add poolname cache cXtXdX then generated load and eagerly tracked the warming process ...
7
votes
5answers
70k views

How to set ulimits in Solaris 10

I normally use pam_limits.so and /etc/security/limits.conf to set ulimits on file size, CPU time, etc. for the regular users logging in to my server running Ubuntu. What is the best way of doing ...
3
votes
4answers
9k views

ZFS - how to partition SSD for ZIL or L2ARC use?

I'm working with a Sun x4540 unit with two pools and newly-installed ZIL (OCZ Vertex 2 Pro) and L2ARC (Intel X25-M) devices. Since I need to keep these two pools in the near-term, I'd like to know how ...
8
votes
8answers
14k views

what is the difference between linux and solaris OS? [on hold]

What is the basic difference between Linux and Solaris? As both the OS are derived from UNIX so where lies the difference between Linux and Solaris? Are they because of creation by different ...
27
votes
3answers
16k views

What does * * * * * (five asterisks) in a cron file mean? [duplicate]

The first noncomment line in a legacy crontab file begins with five asterisks: * * * * * ([a_command]) >/dev/null 2>&1 The authors are gone, so I do not know their intent. What does ...
6
votes
1answer
2k views

Does ZFS replace the need for hardware/software RAID?

I want to provide protection against data loss on my servers. Typically, I'd use hardware RAID 1 or 5, but I've been reading up on ZFS. Is it correct that ZFS itself provides RAID 1 or 5 like data ...
0
votes
1answer
58 views

Setup SunFire 440 Raid Configuration

How can I setup Internal Hard disk RAID5 configuration? I have SunFire 440 machine with 4 internal hard disk. I have never worked on Sun systems except for now and I am exploring google for the above ...
9
votes
12answers
21k views

ssh session idle timeout

The Solaris machine we do most of our development on has an annoying habit of timing out SSH sessions. Doesn't matter whether the client is my Ubuntu desktop, my Solaris desktop or my Windows desktop ...
10
votes
2answers
8k views

How to upgrade a ZFS RAID-Z array to larger disks on OpenSolaris?

I'm planning on installing OpenSolaris on my home server (right now it has Linux) and I would like to know how to prepare for upgrading the server to have larger hard drives in the future. Now the ...
7
votes
6answers
3k views

hardware recommendations for a DIY storage system based on ZFS [closed]

Looking to make use of old server lying idle as a proof-of-concept ...here are specs Dell PE 2900: Xeon 5110 - 2P, 12 GB RAM, 8x 300 GB 15K drives, Perc 5i+256 MB cache what additional h/w would be ...
7
votes
6answers
8k views

crontab environment

I have written various scripts to launch Java server applications, which are typically run for 24 hours before being shut down (by invoking the same script with a different parameter). The script ...
14
votes
5answers
15k views

How to delete all but last [n] ZFS snapshots?

I'm currently snapshotting my ZFS-based NAS nightly and weekly, a process that has saved my ass a few times. However, while the creation of the snapshot is automatic (from cron), the deletion of old ...
9
votes
4answers
17k views

Moving a ZFS filesystem from one pool to another

I am extending a Solaris 10 U8 server with an extra storage pool in addition to the root rpool. What is the most effective / simple / reliable way of moving particular ZFS filesystem(s) from rpool to ...
6
votes
3answers
4k views

Where can I find introductory documentation for ZFS?

I recently installed OpenIndiana because of an interest in ZFS. I like the feature-list of ZFS, but I'm having a hard time wrapping my head around how to configure it. All of the documentation I ...
6
votes
8answers
22k views

Is it possible to prevent SCP while still allowing SSH access?

Using Solaris and Linux servers and OpenSSH, is it possible to prevent users from copying files using "scp" while still allowing shell access with "ssh"? I realize that 'ssh $server "cat file" ' type ...
5
votes
10answers
1k views

What are OpenSolaris/Solaris strengths on server hardware?

Sun's Solaris is still significant in the server market. What are some of the advantages to using it in a Unix shop? Since it's easy to mix and match Linux and Solaris, are there special tasks at ...
3
votes
2answers
2k views

ZFS: best practices for adding cache to pools

sounds like dumb question but there are no ready answers at SF can the cache pool have different name than the zpool? eg: suppose there is a zpool "tank" serving NFS and iSCSI can a new cache pool ...
12
votes
2answers
7k views

ZFS performance: do I need to keep free space in a pool or a file system?

I know that the performance of ZFS heavily depends on the amount of free space: Keep pool space under 80% utilization to maintain pool performance. Currently, pool performance can degrade when a ...
9
votes
6answers
3k views

File size with zfs compression

I usually estimate the size of a whole directory tree using du -ks $DIRECTOY_TREE_ROOT, but this method cannot be used when zfs compression is on. The total displayed by ls -l is ok for a single ...
5
votes
9answers
18k views

How to find out if a Solaris machine is virtualized or not?

I have a set of machines and want to know how to find out if a given machine is virtualized or not. Any commands?
4
votes
1answer
319 views

ZFS: will RAM shortage cause trouble?

what can happen if i've not enough RAM with a ZFS with dedup option activated?
3
votes
7answers
340 views

Solaris/OpenSolaris resources

What are some good Solaris/OpenSolaris resources? Please list them whether they are online/offline or free/for payment.
2
votes
2answers
832 views

Solaris NFS which client is all that traffic comming from?

On Solaris / OpendIndiana NFS server, is the a way to get per-client stats?
2
votes
2answers
3k views

Why does doing large deletes, copies, moves on my ZFS NAS block all other IOs?

I've got a Solaris 11 ZFS-based NAS device with 12x1TB 7.2k rpm SATA drives in a mirrored configuration. It provides 2 services from the same pool - an NFS server for a small VM farm and a CIFS ...
2
votes
1answer
1k views

ZFS file deletion and its relationship to disk space

I deleted a large file (many gigs) from a Solaris system and it didn't seem to recover the amount of space on the zpool equal to the size of the file. Is there any reason that I wouldn't see this ...
2
votes
3answers
5k views

How can I improve NFS performance on a gigabit LAN?

I have a Solaris 10 server with a Mac OS X clients on a gigabit LAN. The Solaris server exports a RAID-Z backed NFS share and all the clients connect to it. However, transferring files is slower ...
1
vote
3answers
2k views

What would cause Memcached to Hang for 2+ seconds?

I'm going nuts trying to scale memcached. From their site: Memcached operations are almost all O(1). Connecting to it and issuing a get or stat command should never lag. If connecting lags, you ...
1
vote
2answers
1k views

Performance issue with JVM (1.6.0_22) invoking OS command on Solaris 10

My high-level problem is my build tool (Maven) which became suddenly very slow on a Solaris 10 environment. A build which was taking 8 minutes now takes 50 minutes. I narrowed this problem down to a ...
7
votes
4answers
1k views

ZFS and non Sun OS's

Is there any other Unix like distros that can read and write to ZFS filesystems. I know its currently unstable in FreeBSD :( The reason I am asking is I love ZFS but don't get on so well with Solaris. ...
5
votes
5answers
1k views

Restore old SunOS tapes

I have some old SunOS tapes I need to look at the table of contents before I shred them. Is there a Linux solution to restore these tapes?
2
votes
1answer
1k views

Moving from syslog.conf to syslogng.conf

I'm moving a Solaris box from syslogd to syslog-ng, because the Solaris version of syslogd obliterates the original source hostname on the logs. I'm looking through the syslogng.conf documentation, ...
2
votes
1answer
8k views

Splitting a raidctl mirror safely

I have a Sun T5220 server with the onboard LSI card and two disks that were in a RAID 1 mirror. The data is not important right now but we had a failed disk and are trying to understand how to do ...
0
votes
4answers
3k views

solaris + grep syntax in solaris

my target is to match Exactly the string snmpmanager from hosts file on solaris & linux the following command work on Linux (red-hat 5.1) but not for SunOS , please advice how to fit the syntax ...
0
votes
1answer
2k views

How to backup and remove solaris zones?

Anyone know the commands to backup solaris zones? If inside the solaris zone, i have also mounted to a separate directory in another network drive. How to make sure when during backup, the mounted ...
0
votes
2answers
2k views

Postfix whitelisting several email domain

is there any way to whitelist certain email domain in postfix ? eg. whitelisting (Hotmail.com. msn.com, Linkedin.com, gmail.com and yahoo.*) ? this is for postfix install on my solaris box Thanks.
0
votes
1answer
1k views

How do i enable memory overcommit on solaris?

on a solaris 8 server with a specific workload, how do i turn on memory overcommit (à la Linux) ? # Memory size: 65536 Megabytes sun[root] # vmstat 1 procs memory page disk ...
6
votes
3answers
2k views

Solaris SMF kill service because child dies

I am using SMF to manage a service under Solaris10. This service is itself a process manager, and forks off many child processes, some of which die occasionally (or are killed for various reasons). ...
5
votes
1answer
1k views

What's the difference between “sudo su -” and “sudo -i”? [duplicate]

Possible Duplicate: What is the difference between sudo -i and sudo su - I know both commands result in gaining a root-shell. But there are some differences. On some servers e.g. the prompt ...
4
votes
2answers
157 views

Windows user can overwrite NFSv4/Solaris ACL permissions of files on CIFS/SMB share (grant himself full access), how do I prevent this?

I have SMB/CIFS file sharing set up on an OmniOS server with the Solaris kernel module which uses NFSv4 ACLs that should work correctly with Windows clients. I want to create a shared directory with ...
3
votes
1answer
2k views

inetd and echo service

inetd - From Wikipedia, inetd (internet service daemon) is a super-server daemon on many Unix systems that provides Internet services. For each configured service, it listens for requests from ...
3
votes
1answer
1k views

Why am I getting only 1gbps between Solaris and VMware?

I have a VMWare ESXi 5.1.0 (build 1065491) host running a Solaris (OpenIndiana) VM as a guest. I have created a private vSwitch for NFS traffic between ESXi and Solaris. The Solaris VM has the VMware ...
3
votes
1answer
1k views

Why would different versions of openssl produce different hashed filenames for the same root cert?

OpenSSL - Solaris - Windows When I run c_rehash (OpenSSL 0.9.x in Solaris) and c_rehash (OpenSSL 1.1.x in Windows), the same exact cert.pem file gets converted to a .0 file with a completely ...
3
votes
6answers
17k views

SSH Keys Authentication keeps asking for password

Im trying to set access from ServerA(SunOS) to ServerB(Some custom Linux with Keyboard Interactive login) with SSH Keys. As a proof of concept I was able to do it between 2 virtual machines. Now in my ...
3
votes
2answers
581 views

Understanding core dump (Solaris 11 crash)

I'm still trying to get behind crashes on my Solaris 11 system. Recently, a core dump has been written during the crash. Looking into it with mdb yields > $C ffffff0021c09430 vpanic() ...
3
votes
3answers
1k views

What is the package manager under OpenSolaris 5.11?

I'm on an OpenSolaris 5.11 server and when I asked about Django, technical support offered to use pkgin as a package manager. [root@gpx8nnaa ~]# uname -a SunOS gpx8nnaa.joyent.us 5.11 snv_89 i86pc ...