change dns solaris
svccfg -s network/dns/client listprop config svccfg -s network/dns/client setprop config/nameserver = net_address: «(192.168.24.22 192.168.1.21)» svccfg -s network/dns/client listprop config svcadm refresh dns/client
svccfg -s network/dns/client listprop config svccfg -s network/dns/client setprop config/nameserver = net_address: «(192.168.24.22 192.168.1.21)» svccfg -s network/dns/client listprop config svcadm refresh dns/client
Assume the root role.See How to Use Your Assigned Administrative Rights in Oracle Solaris 11.1 Administration: Security Services. Bring the system to the ok PROM prompt. # init 0 (Optional) Display a list of available boot environments by using the boot command with the -L option. To boot a specified entry, type the number of the entry and press Return: Select environment to boot: [1 -… Leer más: SPARC: How to Boot From an Alternate Operating System or… »
Reaching the ok Prompt There are several ways to reach the ok prompt, depending on the state of the system and the means by which you are accessing the system console. In decreasing order of desirability, the list is as follows: Note – To reach the ok prompt after a shutdown or reset of the server module, the auto-boot? option must be set… Leer más: Reaching the ok Prompt »
https://docs.oracle.com/cd/E18752_01/html/819-5461/gbchx.html Sending and Receiving ZFS Data The zfs send command creates a stream representation of a snapshot that is written to standard output. By default, a full stream is generated. You can redirect the output to a file or to a different system. The zfs receive command creates a snapshot whose contents are specified… Leer más: Sending and Receiving ZFS Data »
write sync; dd if=/dev/zero of=tempfile bs=1024k count=10240; sync zpool iostat 1 5000 read
LC_CTYPE.txt vi /etc/environment add these lines… LANG=en_US.utf-8 LC_ALL=en_US.utf-8
Q: I’m tired of typing ‘-f /dev/sgc’ all the time. How do I set a default device that ‘mtx’ looks at? A: Set the CHANGER environment variable. For example, with ‘bash’: export CHANGER=/dev/sgc
short: the capacity of a used tape can be increased only by reformatting the tape medium. This topic describes methods the IBM Spectrum Archive™ uses to modify data as if it were overwritten or erased. LTFS does not overwrite data recorded on a tape medium, even if a file in the tape medium appears… Leer más: Overwriting or erasing a file LTFS »
Create ltfs tape /opt/SUNWltfs/bin/mkltfs -d /dev/rmt/2 -e ltotape Mount ltfs # mkdir /mnt/lfts #/opt/SUNWltfs/bin/ltfs -o devname=/dev/rmt/2 -o tape_backend=ltotape /mnt/ltfs Edit files, then unmount the file system when done. # umount /ltfs OR Daemonize ltfs: /opt/SUNWltfs/bin/ltfs -o devname=/dev/rmt/2 -o tape_backend=ltotape /mnt/ltfs -o daemonize -o logfile=/log Edit files, then unmount the file system when done. # umount… Leer más: ltfs oracle »
https://www.cyberciti.biz/hardware/unix-linux-basic-tape-management-commands/ Tape devices should be used on a regular basis only for archiving files or for transferring data from one server to another. Usually, tape devices are all hooked up to Unix boxes, and controlled with mt or mtx. You must backup all data to both disks (may be in the cloud) and the tape… Leer más: 15 Useful Linux and Unix Tape Managements Commands For Sysadmins »