1. Community Tip: Please Give Thanks to Those Sharing Their Knowledge.
    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.
  2. Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)
    Click the link above 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 notice will disappear after you have made at least 3 posts.

quoting backslashes in dsmadmc

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

  1. LieutenantLefse

    LieutenantLefse ADSM.ORG 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 ADSM.ORG Senior Member

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

    chad_small ADSM.ORG Moderator

    Joined:
    Dec 17, 2002
    Messages:
    2,210
    Likes Received:
    46
    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 ADSM.ORG Member

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

    flex ADSM.ORG 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