disk layout on Unix
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: disk layout on Unix

  1. #1
    Join Date
    Oct 2000
    Posts
    22

    Talking

    On Nt, I know that when you go through:
    START-PROGRAMS-WINDOWS NT EXPLORER, you can see the disk layout C,D,E,F,G,H,I,etc. How do you look for the disk layout on a UNIX platform

  2. #2
    Join Date
    Jun 2000
    Posts
    417
    type "df", or "df -k" for a slightly more understandable output.

    each of the paths listed there are a mounted partition of a disk. if you're on a sun, the disk names will be the things that look like c0t0d0s0.

    The c is for controller number
    t for target number
    d for disk number
    s for slice (partition) number

    A disk with 2 partitions might have two entries like this

    c0t0d0s0 /usr -- rest info
    d0t0d0s1 /usr/local -- rest of info

  3. #3
    Join Date
    Oct 2000
    Posts
    22
    What if the unix flavor is AIX, is it going to be the same layout like you just explained or slightly different?

    [Edited by thedba on 11-19-2000 at 07:54 PM]

  4. #4
    Join Date
    Jun 2000
    Posts
    417
    beats me, type df and find out :) it will probablly be something similar if not exactly the same, but i really cant' say because i haven't used AIX.

  5. #5
    Join Date
    Aug 2000
    Location
    Belgium
    Posts
    342
    on AIX.

    lsvg : list of all volume groups
    lsvg <vg> : info about a volume group
    lsvg -l <vg>: list of all logical volumes in a volume group
    lsvg -p <vg>: list of all physical volumes in a volume group

    df : list of all mounted(!) filesystems
    gives following info
    Filesystem device name
    512-blocks total number of 512-byte blocks
    Free free blocks
    %Used % off blocks used
    Iused number of inodes used
    %Iused % off inodes used
    Mounted on mount point of filesystem
    or use df -k to have info in Kbytes


    Hope this helps
    Gert

Posting Permissions

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



Click Here to Expand Forum to Full Width