Sponsored Content
Full Discussion: Tape drive problems
Operating Systems Solaris Tape drive problems Post 302308770 by incredible on Monday 20th of April 2009 08:50:34 AM
Old 04-20-2009
maybe the OP thought something like unconfiguring..Smilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tape drive

Hi, I need to restore my tape backup, when I type "tape status" it gives; status : ready beginning-of-tape write-protected soft errors : 0 hard errors : 0 underruns : 3 but... (4 Replies)
Discussion started by: alisevA3
4 Replies

2. AIX

Tape Drive

I have tape drive in one Lpar. when i saw that time tape is in defined state. After that i deleted the tape drive using the rmdev -R command. Then fired the cfgmgr -v command. But I am not getting the tape drive. Now the drive is even not in defined state also. It is not shown the tape drive. How... (1 Reply)
Discussion started by: pernasivam
1 Replies

3. UNIX for Dummies Questions & Answers

Problems with SCSI card and tape drive

Currenty running SCO Openserver 6 at a Dell PowerEdge T300. I recently installed a driver for an Adaptec SCSI card (adpu320). When I connect a tape drive to it and re-start the system,it freezes and displays the following message: "WARNING: adpu320: Command timed out (ha= 4)" and the system... (2 Replies)
Discussion started by: RicardoM
2 Replies

4. SCO

Problems Detecting HP Tape Drive

I am trying to install an HP StorageWorks DAT40 Tape drive at SC0 5.0.7. The tape drive is not functional. When I run #sconf -v this is what I get; Sdsk ad160 0 0 0 0 Sdsk ad160 0 0 1 0 Stp ad160 0 0 3 0 But when... (2 Replies)
Discussion started by: RicardoM
2 Replies

5. AIX

Tape drive defined

Hello everyone I have a problem with one of my drives in an aix box. The library is a 3583 and Aix is 5.3 TL9 The problem was that the fibre channel not work and I change the fibre but when I logging to the aix box I got this in the rmt3 lsdev | grep rmt rmt0 Available 03-08-00-6,0... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

6. Solaris

Help with tape drive

Hey folks, Linux admin here, forced to use Opensolaris to try to use ufsdump/ufsrestore to get some data of some old tapes. I've got Opensolaris 2009.06 on x86 and a Sony SDX-700V. As a "control" experiment, I booted the system with a Linux live CD and the tape drive worked perfectly. ... (2 Replies)
Discussion started by: eddy_sysad
2 Replies

7. HP-UX

TAPE drive

I have used ioscan -fnC tape and the system identified the tape drive. what is the command to show a listing of what is on the tape? I have used ls /dev/rmt/rmt0 to no avail. can anyone help? Thanks in advance (10 Replies)
Discussion started by: Randydog
10 Replies

8. SCO

Mounting Tape Drive

Sorry I posted it in wrong forum first. OK, I'm new to Unix (but an IT since DOS 6.2 era) Long story short I'm trying to help a friend who has failing Unix system which is perhaps 16 years old with SCO Openserver 3.4v4.2 with DDS90 Tape where they backup their data. I've setup a Dell Precision... (9 Replies)
Discussion started by: shunail
9 Replies
cfgadm_sdcard(1M)					  System Administration Commands					 cfgadm_sdcard(1M)

NAME
cfgadm_sdcard - SD/MMC hardware-specific commands for cfgadm SYNOPSIS
/usr/sbin/cfgadm [-f] [-y | -n] [-o hardware_options] -c function ap_id[...] /usr/sbin/cfgadm [-f] [-y | -n] [-o hardware_options] -c hardware_function ap_id[...] /usr/sbin/cfgadm [-v] [-a] [-s listing_options] [-o hardware_options] [-l [ap_id | ap_type[...]]] /usr/sbin/cfgadm [-v] [-o hardware_options] -h [ap_id[...]] DESCRIPTION
The Secure Digital (SD) and MultiMediaCard (MMC) hardware specific library, /usr/lib/cfgadm/sdcard.so.1, provides the functionality for SD/MMC hot-plugging through the cfgadm(1M) command. The cfgadm command operates on attachment points, which are locations in the system where hardware resources can be dynamically reconfigured. See cfgadm(1M) for information on attachment points. Each SD/MMC slot is represented by an attachment point in the device tree. Card devices that are connected and configured in the system are shown as attachment point name extensions. The terms "attachment point" and "SD/MMC slot" are used interchangeably throughout this manpage. Attachment points are named through ap_ids. All SD/MMC attachment points consist of a string in the following form: sdcardX/[S][::dsk/cXtYd0] Where: X is the SD/MMC controller number. S is the slot number on the controller (0 to 8). dev/cXtYd0 identifies the inserted memory card. Y is a target number. In general, the device identifier is derived from the corresponding logical link for the device in /dev. Because only one LUN (LUN 0) is supported by the SD/MMC device, the "d" component of the device string will always have number 0 (zero). For example, the logical ap_id of slot 4 of SD/MMC controller 2 would be sdcard2/4. If the SD/MMC media card is inserted in this attachment point and the device is config- ured, the ap_id might be sdcard2/4::dsk/c2t0d0. The cXtYd0 string identifying a device has one-to-one correspondence to the device attachment point. A simple listing of attachment points in the system includes all SD/MMC device slots and attached devices. For example: #cfgadm -l Ap_Id Type Receptacle Occupant Condition sdcard0/0::dev/c2t0d0 sdcard connected configured ok sata0/1::dev/c0t1d0 disk connected configured ok sata0/2::dev/c0t2d0 cd-dvd connected configured ok sata0/3 sata-port empty unconfigured ok usb0/1 unknown empty unconfigured ok usb0/2 unknown empty unconfigured ok See cfgadm(1M) for more information regarding listing of attachment points. The receptacle state for an attachment point at the SD/MMC slot has the following meanings: empty The SD/MMC slot is powered-on and enabled. No device presence was detected for this slot. disconnected The SD/MMC slot is not enabled, or the SD/MMC device presence was detected but no communication with the device was established, or the slot has failed. connected The SD/MMC device is detected in the slot and device communication is established. The occupant (device inserted in the SD/MMC slot) state has the following meanings: configured The attached SD/MMC device is configured and ready to use by the operating system. unconfigured No device is attached, or the SD/MMC device inserted in the SD/MMC slot is not yet configured. To configure, run the command cfgadm -c configure ap_id. The attachment point (SD/MMC slot) condition has the following meanings: ok The SD/MMC slot is powered-on, enabled and ready for use. failed The SD/MMC slot failed. It may be disabled and/or powered-off by the system. It is unusable and its condition is unknown. The failure may be due to the device inserted in the slot. unknown The SD/MMC slot is disabled and its condition is unknown. OPTIONS
The cfgadm command defines several types of operations besides listing (-l). These operations include invoking configuration state changes (-c), invoking hardware specific functions (-x), and obtaining configuration administration help messages (-h). -c: For SD/MMC slot attachment points, the following configuration state change operations are supported: connect Enable (activate) the SD/MMC slot and establish the communication with an attached device. This operation implies powering-on the slot if necessary. disconnect Unconfigure the inserted device if it is not already unconfigured and disable (deactivate) the SD/MMC slot. A subsequent "connect" command enables SD/MMC slot operation but does not bring a device to the "configured" state. The following state change operations are supported for an SD/MMC card inserted in to the SD/MMC slot: configure Configure new device for use by the operating system if it is not already configured. This command also implies connect opera- tion, if necessary. unconfigure Unconfigure the device inserted in the SD/MMC slot if it is not already unconfigured. -f : Not supported. -h ap_id: SD/MMC specific help can be obtained by using the help option with any SD/MMC attachment point. -l [-v]: The -l option works as described in cfgadm(1M). When paired with the -v option, the "Information" field contains the follow- ing SD/MMC-specific information: Mod: product model string Rev: product revision number (major.minor) Date: month and year of manufacture SN: product serial number (hexadecimal) -o hardware_options -- No hardware specific options are currently defined. -s listing_options: Attachment points of class SD/MMC can be listed by using the select suboption. See cfgadm(1M). -t ap_id: Self-test functionality. Not supported by SD/MMC slots. -x hardware_function: Perform hardware specific function. sdcard_reset_slot ap_idindicates reset of the SD/MMC slot specified by ap_id. If an SD/MMC device is inserted in the slot, it is also reset. -v: Execute in verbose mode. EXAMPLES
Example 1 - Configuring an SD/MMC card: The following command configures a card attached to SD/MMC controller 0, slot 0. It should be issued only when there is a device inserted in the SD/MMC slot. # cfgadm -c configure sdcard0/0 Example 2 - Unconfiguring an SD/MMC card: The following command unconfigures a card inserted in SD/MMC controller 0, slot 3: # cfgadm -c unconfigure sdcard0/3 Example 3 -- Encountering a mounted file system while unconfiguring a disk: The following command illustrates encountering a mounted file system while unconfiguring a disk: # cfgadm -c unconfigure sdcard1/5::dsk/c01t35d0 The system responds with the following: cfgadm: Component system is busy, try again: failed to offline: /devices/pci@0,0/pci8086,244e@1e/pci1095,3124@1/sd@5,0 Resource Information ------------------ -------------------------- /dev/dsk/c1t5d0s0 mounted filesystem "/mnt" FILES
/usr/lib/cfgadm/sdcard.so.1 Hardware specific library for generic SD/MMC hot plugging. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl | +-----------------------------+-----------------------------+ SEE ALSO
cfgadm(1M), config_admin(3CFGADM), libcfgadm(3LIB), attributes(5), sda(7D), sdcard(7D), sdhost(7D) NOTES
Under normal operation, SD/MMC media cards are automatically configured when a card is inserted. Most administrators do not find it neces- sary to use this command under normal use. Removing an SD/MMC card without first unconfiguring it may result in data loss if the device is being written to when it's being removed. Devices that are mounted read-only can be safely removed at any time. Devices that have filesystems other than pcfs(7FS) on them should always be explicitly unconfigured before removal. SunOS 5.11 28 Feb 2008 cfgadm_sdcard(1M)
All times are GMT -4. The time now is 03:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy