Good catch! Kelly J. Lipp Storage Solutions Specialists, Inc. PO Box 51313 Colorado Springs, CO 80949 [EMAIL PROTECTED] or [EMAIL PROTECTED] www.storsol.com or www.storserver.com (719)531-5926 Fax: (240)539-7175
-----Original Message----- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of Samiran Das Sent: Thursday, May 23, 2002 5:30 AM To: [EMAIL PROTECTED] Subject: Re: problem with tape library on solaris Your devclass definition says device type as LTO where as your drive definition says device type as DLT. The output given by you says your drives are DLT type. Target 1 Unit 0 Removable Tape QUANTUM DLT7000 2560 Target 2 Unit 0 Removable Tape QUANTUM DLT7000 2560 So define a new device class as follows >define devc DC.TAPE.LIB_TAPE_2 LIB_TAPE_1 devtype=dlt Direct you data base backup to this device class and database backup should be working. For your storage pool, you need to delete the storage pool and redefine it using this new device class. Then you can delete you old device class. Samiran Das Gerald Wichmann To: [EMAIL PROTECTED] <gwichman@ZAN cc: TAZ.COM> Subject: Re: problem with tape library on Sent by: solaris "ADSM: Dist Stor Manager" <[EMAIL PROTECTED] RIST.EDU> 05/21/2002 09:28 PM Please respond to "ADSM: Dist Stor Manager" Yep.. I should've posted that output as well. I've confirmed that other processes also cause the same error (e.g. migrations). Guess I'll call IBM this morning and see what they have to say. I probably forgot something somewhere.. tsm: SERVER1>q devc f=d Device Class Name: DC.TAPE.LIB_TAPE_1 Device Access Strategy: Sequential Storage Pool Count: 1 Device Type: LTO Format: ULTRIUMC Est/Max Capacity (MB): 102,400.0 Mount Limit: DRIVES Mount Wait (min): 60 Mount Retention (min): 60 Label Prefix: ADSM Library: LIB_TAPE_1 Directory: Server Name: Retry Period: Retry Interval: Shared: Last Update by (administrator): ADMIN Last Update Date/Time: 05/12/02 01:14:47 Regards, Gerald Wichmann Senior Systems Development Engineer Zantaz, Inc. 925.598.3099 (w) -----Original Message----- From: Samiran Das [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 10:26 PM To: [EMAIL PROTECTED] Subject: Re: problem with tape library on solaris did you check output of "q devc f=d"? What is the mount limit and do you have sufficient mount point? Samiran Das Gerald Wichmann To: [EMAIL PROTECTED] <gwichman@ZAN cc: TAZ.COM> Subject: problem with tape library on solaris Sent by: "ADSM: Dist Stor Manager" <[EMAIL PROTECTED] RIST.EDU> 05/20/2002 09:47 PM Please respond to "ADSM: Dist Stor Manager" Solaris 8, Sun E250, ATL500 tape library (2 drives), TSM 4.2.2 First time getting a tape library working on solaris so I could be doing something wrong.. this is a test system. anyways it all seemed to work until I tried using the library: 05/21/02 17:01:26 ANR2017I Administrator ADMIN issued command: BACKUP DB dev=dc.tape.lib_tape_1 type=f 05/21/02 17:01:27 ANR0984I Process 2 for DATABASE BACKUP started in the BACKGROUND at 05:01:27 PM. 05/21/02 17:01:27 ANR2280I Full database backup started as process 2. 05/21/02 17:01:47 ANR4571E Database backup/restore terminated - insufficient number of mount points available for removable media. 05/21/02 17:01:47 ANR0985I Process 2 for DATABASE BACKUP running in the BACKGROUND completed with completion state FAILURE at 05:01:47 PM. tsm: SERVER1>q libr Library Name: LIB_TAPE_1 Library Type: SCSI Device: /dev/rmt/7lb Private Category: Scratch Category: External Manager: Shared: No LanFree: ObeyMountRetention: tsm: SERVER1>q dr f=d Library Name: LIB_TAPE_1 Drive Name: LIB_DRIVE_1 Device Type: DLT On-Line: Yes Device: /dev/rmt/0mt Element: 16 Allocated to: Last Update by (administrator): ADMIN Last Update Date/Time: 05/21/02 17:00:43 Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE Library Name: LIB_TAPE_1 Drive Name: LIB_DRIVE_2 Device Type: DLT On-Line: Yes Device: /dev/rmt/6mt Element: 17 Allocated to: Last Update by (administrator): ADMIN Last Update Date/Time: 05/21/02 17:00:58 Cleaning Frequency (Gigabytes/ASNEEDED/NONE): NONE bash-2.05# ls -l /dev/rmt total 36 lrwxrwxrwx 1 root root 44 May 12 01:13 0mt -> ../../devices/pci@1f,4000/scsi@2,1/mt@1,0:mt lrwxrwxrwx 1 root root 45 May 12 01:13 0mtn -> ../../devices/pci@1f,4000/scsi@2,1/mt@1,0:mtn lrwxrwxrwx 1 root root 45 May 12 01:13 0mtt -> ../../devices/pci@1f,4000/scsi@2,1/mt@1,0:mtt lrwxrwxrwx 1 root root 42 May 12 01:14 1op -> ../../devices/pci@1f,4000/scsi@5/op@2,0:op lrwxrwxrwx 1 root root 43 May 12 01:14 1opt -> ../../devices/pci@1f,4000/scsi@5/op@2,0:opt lrwxrwxrwx 1 root root 42 May 12 01:14 2op -> ../../devices/pci@1f,4000/scsi@5/op@3,0:op lrwxrwxrwx 1 root root 43 May 12 01:14 2opt -> ../../devices/pci@1f,4000/scsi@5/op@3,0:opt lrwxrwxrwx 1 root root 42 May 12 01:14 3op -> ../../devices/pci@1f,4000/scsi@5/op@4,0:op lrwxrwxrwx 1 root root 43 May 12 01:14 3opt -> ../../devices/pci@1f,4000/scsi@5/op@4,0:opt lrwxrwxrwx 1 root root 42 May 12 01:14 4op -> ../../devices/pci@1f,4000/scsi@5/op@5,0:op lrwxrwxrwx 1 root root 43 May 12 01:14 4opt -> ../../devices/pci@1f,4000/scsi@5/op@5,0:opt lrwxrwxrwx 1 root root 42 May 12 01:14 5lb -> ../../devices/pci@1f,4000/scsi@5/lb@6,0:lb lrwxrwxrwx 1 root root 43 May 12 01:14 5lbt -> ../../devices/pci@1f,4000/scsi@5/lb@6,0:lbt lrwxrwxrwx 1 root other 44 May 18 00:07 6mt -> ../../devices/pci@1f,4000/scsi@2,1/mt@2,0:mt lrwxrwxrwx 1 root other 45 May 18 00:07 6mtn -> ../../devices/pci@1f,4000/scsi@2,1/mt@2,0:mtn lrwxrwxrwx 1 root other 45 May 18 00:07 6mtt -> ../../devices/pci@1f,4000/scsi@2,1/mt@2,0:mtt lrwxrwxrwx 1 root other 44 May 18 00:09 7lb -> ../../devices/pci@1f,4000/scsi@2,1/lb@0,0:lb lrwxrwxrwx 1 root other 45 May 18 00:09 7lbt -> ../../devices/pci@1f,4000/scsi@2,1/lb@0,0:lbt bash-2.05# /usr/kernel/drv/lb.conf: name="lb" class="scsi" target=6 lun=0; name="lb" class="scsi" target=0 lun=0; /usr/kernel/drv/mt.conf: name="mt" class="scsi" target=1 lun=0; name="mt" class="scsi" target=2 lun=0; /pci@1f,4000/scsi@2,1 Target 0 Unit 0 Removable Device type 8 ATL L500 63200000021 Target 1 Unit 0 Removable Tape QUANTUM DLT7000 2560 Target 2 Unit 0 Removable Tape QUANTUM DLT7000 2560 It is sorta working I guess as the checkin command did check In some volumes: tsm: SERVER1>q libv Library Name Volume Name Status Owner Last Use Home Element ------------ ----------- ---------- ---------- --------- ------------ LIB_TAPE_1 LABEL.LIB_- Scratch 256 TAPE_1.1 LIB_TAPE_1 LABEL.LIB_- Scratch 257 TAPE_1.2 LIB_TAPE_1 LABEL.LIB_- Scratch 258 TAPE_1.3 LIB_TAPE_1 LABEL.LIB_- Scratch 263 TAPE_1.4 LIB_TAPE_1 LABEL.LIB_- Scratch 264 TAPE_1.5 LIB_TAPE_1 LABEL.LIB_- Scratch 265 TAPE_1.6 tsm: SERVER1> Any ideas anyone? Regards, Gerald Wichmann Senior Systems Development Engineer Zantaz, Inc. 925.598.3099 (w)