Archivo de la categoría: solaris

ltfsck solaris

ltfsck /opt/SUNWltfs/bin/ltfsck -f /dev/rmt/1 –backend=ltotape LTFS16000I ltfsck starting, LTFS version 1.2.6 (20130711_orcl), log level 2 LTFS20013I Drive type is IBM LTO7, serial number is 10WT026083 LTFS17160I Maximum device block size is 524288 LTFS12015I Attempting to load the medium LTFS16014I Checking LTFS file system on ‘/dev/rmt/1’ LTFS12015I Attempting to load the medium LTFS16023I LTFS volume information:… Leer más »

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

SPARC: How to Boot From an Alternate Operating System or Boot Environment

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 »

Reaching the ok Prompt

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 »

Sending and Receiving ZFS Data

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 »

benchmark solaris

write sync; dd if=/dev/zero of=tempfile bs=1024k count=10240; sync zpool iostat 1 5000 read

mtx variable

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    

Overwriting or erasing a file LTFS

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 »

ltfs oracle

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 »

15 Useful Linux and Unix Tape Managements Commands For Sysadmins

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 »