Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2003
    Location
    Washington DC area
    Posts
    1,770

    Post Unanswered: Problem changing dir\getting to disk drive.

    I have a problem getting to a disk location.
    /dev/md/dsk/d7

    When I login I'm at
    /opt/users/*******

    Please suggest a command that I can use.

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Talking



    Use df to find out if (and where) that disk is mounted.
    If not mounted you need to mount.
    then use cd (change directory) to get to it.



    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Apr 2003
    Location
    Washington DC area
    Posts
    1,770

    Question Problem with Disk

    Thanks of the info. I've gotten to the actual dir, how do I go into the disk.

  4. #4
    Join Date
    Apr 2003
    Location
    Washington DC area
    Posts
    1,770
    How do you list content of a disk
    P.S.
    /dev/md/dsk/d7 156701368 152235403 2898952 99% /data
    I need to free up some space.

  5. #5
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    find /data -ls

    But you might want to start with the du command to find the directory/file with the largest amount of data. Then repeat the du command for that large dir etc.

    e.g.
    du -ks /data/* | sort -k 1,1n

Posting Permissions

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