Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape.
Thanks
DOMENICO (3 Replies)
when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several:
Status : ready beginning-of-tape
soft errors : 0
hard errors: 2
underruns: 5
My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Hi
i´m working with aix 6.1 and DL4100 (virtual tape library from EMC) and i makes backups (mksysb) into virtual drive (virtual standalone drive). I need eject de tape when backup is finished and I don't now what command use. Thanks for your help. The commands mt and tctl doesn't works.... (0 Replies)
Do we have any Virtual Data Center software as we have Virtual Machine?
I want to practice everything of Solaris practically but i don't have resources like data center which includes Servers, Data storages, switches, and other things. (2 Replies)
Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it.
I have to log out of a virtual terminal by typing exit, then exit again as in:
woodnt@toshiba-laptop ~ $ exit
logout
woodnt@toshiba-laptop ~ $ exit
logout
I DON'T have to do this when I'm... (1 Reply)
Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12).
I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Dear All,
I have some lpar that i want to connect with DAT tape drive.
how can i add to the lpar, so can access the tape drive
here is the detail of my lpar:
root@erpqa:/>uname -L
2 erpqa
root@erpqa:/>lsdev -Cc tape
rmt0 Defined Virtual Tape Drive
rmt1 Available... (0 Replies)
Hi All,
Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines?
Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies
LEARN ABOUT FREEBSD
targ
TARG(4) BSD Kernel Interfaces Manual TARG(4)NAME
targ -- SCSI target emulator driver
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device targ
DESCRIPTION
The targ driver provides an interface for usermode programs to emulate SCSI target devices. A sample program that emulates a disk drive
(similar to da(4)) can be found in /usr/share/examples/scsi_target.
The targ driver supplies the control device /dev/targ. After opening the device, the file descriptor must be bound to a specific bus/tar-
get/LUN and enabled to process CCBs using the TARGIOCENABLE ioctl. The process then uses write(2) to send CCBs to the SIM and poll(2) or
kqueue(2) to see if responses are ready. Pointers to completed CCBs are returned via read(2). Any data transfers requested by the user CCBs
are done via zero-copy IO.
IOCTLS
The following ioctl(2) calls are defined in the header file <cam/scsi/scsi_targetio.h>.
TARGIOCENABLE (struct ioc_enable_lun) Enable target mode on the LUN specified by the following structure:
struct ioc_enable_lun {
path_id_t path_id;
target_id_t target_id;
lun_id_t lun_id;
int grp6_len;
int grp7_len;
};
The selected path (bus), target, and LUN must not already be in use or EADDRINUSE is returned. If grp6_len or grp7_len are
non-zero, reception of vendor-specific commands is enabled.
TARGIOCDISABLE Disable target mode and abort all pending CCBs. The CCBs may optionally be read as they complete. TARGIOCENABLE can then be
called to activate a different LUN. Multiple disable calls have no effect. The close(2) system call automatically disables
target mode if enabled.
TARGIOCDEBUG (int) Enables CAM_PERIPH debugging if the argument is non-zero, otherwise disables it.
FILES
<cam/scsi/scsi_targetio.h> describes the usermode interface.
/sys/cam/scsi/scsi_target.c is the driver source file.
/dev/targ is the control device.
SEE ALSO
/usr/share/examples/scsi_target, ahc(4), isp(4), scsi(4)
FreeBSD Target Information, http://www.root.org/~nate/freebsd/.
AUTHORS
The targ driver first appeared in FreeBSD 3.0 and was written by Justin T. Gibbs. It was rewritten for FreeBSD 5.0 by Nate Lawson
<nate@root.org>.
BUGS
Currently, only the ahc(4) and isp(4) drivers fully support target mode.
The ahc(4) driver does not support tagged queuing in target mode.
BSD December 13, 2011 BSD