Physically Reattaching a Device – zpool suspend

Exactly how a missing device is reattached depends on the device in question. If the device is a network-attached drive, connectivity to the network should be restored. If the device is a USB device or other removable media, it should be reattached to the system. If the device is a local disk, a controller might… Leer más »

cron redirect output to a file

1) Change the redirection to 2>&1. So now crontab -e looks like Iworks because by default cron is using sh to run the task 2) Change the default shell by adding SHELL=/bin/bash in the crontab -e file.

rsync copy

Note that if you’re on a slow link, or the server is under heavy load, the tool used for copying won’t be the bottleneck, and any way of copying will be slow anyway. This should give you the basic usage for copying between your local computer and the remote server: http://oreilly.com/pub/h/38 To copy from local computer… Leer más »

Understanding Oracle Solaris Constraint Packages

https://blogs.oracle.com/solaris/understanding-oracle-solaris-constraint-packages install the solaris-11.3 constraint pacakge, that will ensure that you stay on the 11.3 release train and not move to the 11.4 train without explict action. # pkg install pkg:/release/constraint/solaris-11.3 For more information see https://blogs.oracle.com/solaris/understanding-oracle-solaris-constraint-packages

ZFS Compression – A Win-Win

Guest Author This may sound counterintuitive, but turning on ZFS compression not only saves space, but also improves performance. This is because the time it takes to compress and decompress the data is quicker than then time it takes to read and write the uncompressed data to disk (at least on newer laptops with multi-core chips). To… Leer más »

How to enable SSH Root Login In Solaris 11

Permit SSH Login for Root in Oracle Solaris 11 Open Terminal window and switch to root user. 1. Change the file /etc/ssh/sshd_config PermitRootLogin yes with PermitRootLogin no and save file.     vi /etc/ssh/sshd_config     PermitRootLogin yes 2. Comment out the “CONSOLE=/dev/console” line in /etc/default/login.     vi /etc/default/login   #CONSOLE=/dev/console 3.Remove “;type=role” from the root entry in /etc/user_attr or use the below command.  rolemod -K type=normal root 4. Restart the Services. #svcadm restart svc:/network/ssh:default… Leer más »