Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2007
    Posts
    72

    Unanswered: Is there any command in UDB/Linux to List all mount points for a given instance?

    Hi all,
    Is there a command or a method of listing all mount points for a given DB2 instance? Any help will be much appreciated.


    Thanks

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    What do mount points have to do with a DB2 instance?
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Mar 2007
    Posts
    72
    Perhaps absolutely nothing...I am relatively new to DB2 on Linux and phrased the question wrongly.

    Thanks for pointing this out.

  4. #4
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    Do you want to know the paths where DB2 database files are stored? (More precisely, the absolute paths of containers of tablespaces?) If so, check out the DB2 command "LIST TABLESPACES ... [SHOW DETAIL]"
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

  5. #5
    Join Date
    Mar 2007
    Posts
    72
    Quote Originally Posted by stolze
    Do you want to know the paths where DB2 database files are stored? (More precisely, the absolute paths of containers of tablespaces?) If so, check out the DB2 command "LIST TABLESPACES ... [SHOW DETAIL]"
    Thanks again Knut, this is helpful. I am interested in finding all mount points for my Linux environments including those in what I may term "sub-directories".
    Here's why. I issue a mount command and I get
    /dev/sda1 on /ald type ext3 (rw)
    /dev/sdb1 on /ali type ext3 (rw)
    /dev/sdc1 on /alt type ext3 (rw)
    /dev/sdd1 on /bbd type ext3 (rw)
    /dev/sde1 on /bbi type ext3 (rw)
    /dev/sdf1 on /bbt type ext3 (rw)
    /dev/sdg1 on /dmd type ext3 (rw)
    /dev/sdh1 on /dmi type ext3 (rw)
    /dev/sdi1 on /dmt type ext3 (rw)
    /dev/sdj1 on /dwd type ext3 (rw)
    /dev/sdk1 on /dwi type ext3 (rw)
    /dev/sdl1 on /dwt type ext3 (rw)

    I then entered cd /sbin and I am routed to /sbin. Now, looking at the output of mount command, I did not see /sbin listed as a mount point. Why is that?
    This is why I am looking for command that will list all mount points regardless of the level in the directory path.

    Thanks

  6. #6
    Join Date
    Jan 2007
    Location
    Jena, Germany
    Posts
    2,721
    What you are asking has nothing to do with DB2.

    Why you are not seeing /sbin listed as mount point for some device, I do not know. What happens with
    Code:
    $ df /sbin/
    It will show you the file system applicable to the directory /sbin and also where this file system is mounted.
    Knut Stolze
    IBM DB2 Analytics Accelerator
    IBM Germany Research & Development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •