1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

quoting backslashes in dsmadmc

Discussion in 'Command Line Administrator Client' started by LieutenantLefse, Jul 25, 2011.

  1. LieutenantLefse

    LieutenantLefse New Member

    Joined:
    May 22, 2009
    Messages:
    16
    Likes Received:
    1
    Location:
    Minneapolis, MN
    I'm trying to delete a Windows filespace using dsmadmc on Linux, and I get:

    tsm: PELICAN>delete filespace DSRV1.MSI \\dsrv1\f$
    ANR0852E DELETE FILESPACE: No matching file spaces found for node DSRV1.MSI.

    It exists:

    tsm: PELICAN>q filespace DSRV1.MSI
    ...
    DSRV1.MSI \\dsrv1\f$ 4 WinNT NTFS Yes 1,907,727.0 36.3
    ...

    I've tried putting it in single quotes, double quotes, backslashing the dollar sign, backslashing the backslashes, and quite a few combinations thereof. What am I missing here?
     
  2.  
  3. domino

    domino Senior Member

    Joined:
    Nov 16, 2005
    Messages:
    718
    Likes Received:
    32
    Occupation:
    System Engineer
    Location:
    Germany
    try:
    del fi DSRV1.MSI 4 nametype=fsid
     
  4. chad_small

    chad_small Moderator

    Joined:
    Dec 17, 2002
    Messages:
    2,207
    Likes Received:
    44
    Occupation:
    AIX/SAN/TSM
    Location:
    Gilbert, AZ
    Yeah as DOMINO said, I recommend you always use the FSID rather than the actual FS name. It's a lot easier to run the command.
     
  5. LieutenantLefse

    LieutenantLefse New Member

    Joined:
    May 22, 2009
    Messages:
    16
    Likes Received:
    1
    Location:
    Minneapolis, MN
    Thanks, that worked!
     
  6. flex

    flex New Member

    Joined:
    Aug 26, 2004
    Messages:
    47
    Likes Received:
    0
    Occupation:
    TSM engineer
    Location:
    Budapest, HUNGARY
    Think

    delete filespace DSRV1.MSI \\dsrv1\f$ NAMEType=UNIcode

    would have also worked... :)
     

Share This Page