With disk volumes I usually have to vary the volume offline first. Syntax
.-Wait--=--No------. >>-VARy--+-ONline--+--volume_name--+------------------+-------->< '-OFfline-' '-Wait--=--+-No--+-' '-Yes-' Gerald Michalak TSM - Certified V5 Administrator "ADSM: Dist Stor Manager" <ADSM-L@VM.MARIST.EDU> wrote on 08/28/2006 02:19:22 PM: > Well maybe this method will work. > > Larry McNutt > The Timken Company > > > > ----------------------------------------- > This message and any attachments are intended for the individual or > entity named above. If you are not the intended recipient, please > do not forward, copy, print, use or disclose this communication to > others; also please notify the sender by replying to this message, > and then delete it from your system. The Timken Company / The > Timken Corporation > > ----- Message from "Mcnutt, Larry E." <[EMAIL PROTECTED]> on > Mon, 28 Aug 2006 13:32:26 -0400 ----- > > To: > > "ADSM: Dist Stor Manager" <ADSM-L@VM.MARIST.EDU> > > Subject: > > Problem deleting disk pool volume. > > TSM Server 5.3.3.0 > AIX 5.3 ML4 > > Hello list, > > I have a disk pool volume that I cannot seem to delete. I have used > "move data" to empty the volume, but when I try a "delete volume", it > says the volume contains data. However, "audit volume fix=yes" says > there is no data in the volume. Any help is appreciated. > > Thanks, > Larry McNutt > The Timken Company > > > tsm: FSPHTSM2>q vol stg=workstn > > > > Volume Name Storage Device Estimated Pct > Volume > Pool Name Class Name Capacity Util > Status > ------------------------ ----------- ---------- --------- ----- > -------- > /tsm1stg1/tsm2disk03.dsm WORKSTN DISK 25,600.0 0.5 > On-Line > /tsm1stg2/tsm2disk02.dsm WORKSTN DISK 25,600.0 6.4 > On-Line > /tsm1stg2/tsm2disk05.dsm WORKSTN DISK 25,000.0 5.5 > On-Line > /tsm1stg3/tsm2disk05.dsm WORKSTN DISK 12,500.0 6.7 > On-Line > /tsm1stg4/tsm2disk05.dsm WORKSTN DISK 12,500.0 16.1 > On-Line > /tsm2stg1/tsm2disk03.dsm WORKSTN DISK 10,240.0 1.9 > On-Line > /tsm2stg2/tsm2disk03.dsm WORKSTN DISK 10,240.0 0.7 > On-Line > /tsm5stg1/tsm2disk03.dsm WORKSTN DISK 50,000.0 1.8 > On-Line > /tsmstg2/disk01.dsm WORKSTN DISK 50,000.0 -1.1 > On-Line <===== This is the volume > > > tsm: FSPHTSM2>q vol /tsmstg2/disk01.dsm f=d > > Volume Name: /tsmstg2/disk01.dsm > Storage Pool Name: WORKSTN > Device Class Name: DISK > Estimated Capacity: 50,000.0 > Scaled Capacity Applied: > Pct Util: -1.1 > Volume Status: On-Line > Access: Read-Only > Pct. Reclaimable Space: > Scratch Volume?: > In Error State?: > Number of Writable Sides: > Number of Times Mounted: > Write Pass Number: > Approx. Date Last Written: > Approx. Date Last Read: > Date Became Pending: > Number of Write Errors: > Number of Read Errors: > Volume Location: > Volume is MVS Lanfree Capable : > Last Update by (administrator): MCNUTT > Last Update Date/Time: 08/22/06 17:31:36 > Begin Reclaim Period: > End Reclaim Period: > > tsm: FSPHTSM2>audit volume /tsmstg2/disk01.dsm fix=yes > > ANR2311W This command will discard any inventory references to volume > > /tsmstg2/disk01.dsm associated with missing or inconsistent stored data, > > thereby rendering the data unrecoverable; the valid data on the volume > will be > inaccessible to users until the operation completes. > > > > Do you wish to proceed? (Yes (Y)/No (N)) y > > ANR2209W Volume /tsmstg2/disk01.dsm contains no data. > > > > > ANR2017I Administrator MCNUTT issued command: AUDIT VOLUME > /tsmstg2/disk01.dsm > fix=yes > ANR2311W This command will discard any inventory references to volume > /tsmstg2/disk01.dsm associated with missing or inconsistent stored data, > thereby rendering the data unrecoverable; the valid data on the volume > will be > inaccessible to users until the operation completes. > ANR2017I Administrator MCNUTT issued command: AUDIT VOLUME > /tsmstg2/disk01.dsm > fix=yes > ANR9999D dsaudit.c(1097): ThreadId<80> Erroneous information for volume > /tsmstg2/disk01.dsm was removed from the database. > ANR9999D ThreadId<80> issued message 9999 from: <-0x000000010001c240 > outDiagf > <-0x0000000100414b98 DsAuditEmptyVol <-0x00000001004108d8 > ssAuditEmptyVol > <-0x000000010075aa48 DoAuditVolume <-0x000000010075f218 AdmAuditVolume > <-0x00000001001e9e58 AdmCommandLocal <-0x00000001001ead98 admCommand > <-0x0000000100507694 SmAdminCommandThread <-0x000000010000e9dc > StartThread > <-0x09000000003f52f8 _pthread_body > ANR2209W Volume /tsmstg2/disk01.dsm contains no data. > > tsm: FSPHTSM2>delete volume /tsmstg2/disk01.dsm > > ANR2220W This command will delete volume /tsmstg2/disk01.dsm from its > storage > pool after verifying that the volume contains no data. > > > > Do you wish to proceed? (Yes (Y)/No (N)) y > > ANS8001I Return code 13. > > > > ANR2017I Administrator MCNUTT issued command: DELETE VOLUME > /tsmstg2/disk01.dsm > > ANR2406E DELETE VOLUME: Volume /tsmstg2/disk01.dsm still contains data. > ANR2017I Administrator MCNUTT issued command: ROLLBACK > > > Date/Time Message > -------------------- > ---------------------------------------------------------- > 08/28/06 09:48:43 ANR2017I Administrator MCNUTT issued command: QUERY > VOLUME > /tsmstg2/disk01.dsm f=d (SESSION: 346448) > 08/28/06 09:49:38 ANR2017I Administrator MCNUTT issued command: > DELETE > VOLUME /tsmstg2/disk01.dsm (SESSION: 346448) > 08/28/06 09:49:40 ANR2017I Administrator MCNUTT issued command: > DELETE > VOLUME /tsmstg2/disk01.dsm (SESSION: 346448) > 08/28/06 09:49:40 ANR2406E DELETE VOLUME: Volume /tsmstg2/disk01.dsm > still > contains data.(SESSION: 346448) > 08/28/06 09:50:17 ANR2017I Administrator MCNUTT issued command: MOVE > DATA > /tsmstg2/disk01.dsm (SESSION: 346448) > 08/28/06 09:50:17 ANR2232W This command will move all of the data > stored on > volume /tsmstg2/disk01.dsm to other volumes within > the > same storage pool; the data will be inaccessible > to users > until the operation completes.(SESSION: 346448) > 08/28/06 09:50:19 ANR2017I Administrator MCNUTT issued command: MOVE > DATA > /tsmstg2/disk01.dsm (SESSION: 346448) > 08/28/06 09:50:20 ANR2209W Volume /tsmstg2/disk01.dsm contains no > data.(SESSION: 346448) >