Professional Web Applications Themes

how do I map hdisk to filesystem - AIX

Hello, We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage. I am running iostat and it give me all devices statrt with hdisk. Disks: % tm_act Kbps tps Kb_read Kb_wrtn hdisk146 0.1 38.8 1.3 180806069 14584 hdisk150 0.0 0.0 0.0 2049 0 hdisk11 0.2 47.7 1.7 222564295 60668 hdisk151 0.0 0.0 0.0 2048 0 hdisk145 0.2 45.8 1.6 213709213 37600 How do I map these devices to actual file systems? Could you please let me know? DMP ( Dynamic Multipathing ) being used. Also AIX-LVM used for creating volumes and filesystem. Here is the volume group list and ...

  1. #1

    Default how do I map hdisk to filesystem

    Hello,

    We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage.

    I am running iostat and it give me all devices statrt with hdisk.

    Disks: % tm_act Kbps tps Kb_read Kb_wrtn
    hdisk146 0.1 38.8 1.3 180806069 14584
    hdisk150 0.0 0.0 0.0 2049 0
    hdisk11 0.2 47.7 1.7 222564295 60668
    hdisk151 0.0 0.0 0.0 2048 0
    hdisk145 0.2 45.8 1.6 213709213 37600

    How do I map these devices to actual file systems? Could you please
    let me know?

    DMP ( Dynamic Multipathing ) being used. Also AIX-LVM used for
    creating volumes and filesystem. Here is the volume group list and
    its physical/logical volumes for one V.G.

    $ lsvg

    mvol1vg
    mvol2vg
    mvol3vg

    $lsvg -p mvol1vg

    mvol1vg:
    PV_NAME PV STATE TOTAL PPs FREE PPs FREE
    DISTRIBUTION
    vpath1 active 108 0
    00..00..00..00..00
    vpath9 active 108 0
    00..00..00..00..00
    vpath17 active 108 0
    00..00..00..00..00
    vpath25 active 108 0
    00..00..00..00..00
    vpath33 active 108 0
    00..00..00..00..00
    vpath41 active 108 0
    00..00..00..00..00
    vpath48 active 108 0
    00..00..00..00..00
    vpath55 active 108 0
    00..00..00..00..00
    vpath63 active 108 0
    00..00..00..00..00
    vpath71 active 108 2
    00..00..00..00..02

    lsvg -l mvol1vg
    mvol1vg:
    LV NAME TYPE LPs PPs PVs LV STATE MOUNT
    POINT
    redo1 jfs 157 157 2 open/syncd /u01
    loglv09 jfslog 1 1 1 open/syncd N/A
    MAK Guest

  2. #2

    Default Re: how do I map hdisk to filesystem

    "MAK" <maks70comcast.net> wrote in message
    news:b7178504.0309231243.5b0f75c9posting.google.c om...
    > Hello,
    >
    > We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage.
    >
    > I am running iostat and it give me all devices statrt with hdisk.
    >
    > Disks: % tm_act Kbps tps Kb_read Kb_wrtn
    > hdisk146 0.1 38.8 1.3 180806069 14584
    > hdisk150 0.0 0.0 0.0 2049 0
    > hdisk11 0.2 47.7 1.7 222564295 60668
    > hdisk151 0.0 0.0 0.0 2048 0
    > hdisk145 0.2 45.8 1.6 213709213 37600
    >
    > How do I map these devices to actual file systems? Could you please
    > let me know?
    >
    > DMP ( Dynamic Multipathing ) being used. Also AIX-LVM used for
    > creating volumes and filesystem. Here is the volume group list and
    > its physical/logical volumes for one V.G.
    >
    > $ lsvg
    >
    > mvol1vg
    > mvol2vg
    > mvol3vg
    >
    > $lsvg -p mvol1vg
    >
    > mvol1vg:
    > PV_NAME PV STATE TOTAL PPs FREE PPs FREE
    > DISTRIBUTION
    > vpath1 active 108 0
    > 00..00..00..00..00
    > vpath9 active 108 0
    > 00..00..00..00..00
    > vpath17 active 108 0
    > 00..00..00..00..00
    > vpath25 active 108 0
    > 00..00..00..00..00
    > vpath33 active 108 0
    > 00..00..00..00..00
    > vpath41 active 108 0
    > 00..00..00..00..00
    > vpath48 active 108 0
    > 00..00..00..00..00
    > vpath55 active 108 0
    > 00..00..00..00..00
    > vpath63 active 108 0
    > 00..00..00..00..00
    > vpath71 active 108 2
    > 00..00..00..00..02
    >
    > lsvg -l mvol1vg
    > mvol1vg:
    > LV NAME TYPE LPs PPs PVs LV STATE MOUNT
    > POINT
    > redo1 jfs 157 157 2 open/syncd /u01
    > loglv09 jfslog 1 1 1 open/syncd N/A
    Try lslv -l redo1, this will show you the hdisk devices being used for that
    LV which has a filesystem mapped to it by the name of mountpoint /u01

    Also try reading the logical volume management guide for AIX 5.2 I'm sure
    you will learn a lot by reading this. Good luck!


    Mr Lance Free Guest

  3. #3

    Default Re: how do I map hdisk to filesystem

    "Mr Lance Free" <SPAMMY_blfridgehotmail.com> wrote in message news:<xR2cb.36642$332.1769587phobos.telenet-ops.be>...
    > "MAK" <maks70comcast.net> wrote in message
    > news:b7178504.0309231243.5b0f75c9posting.google.c om...
    > > Hello,
    > >
    > > We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage.
    > >
    > > I am running iostat and it give me all devices statrt with hdisk.
    > >
    > > Disks: % tm_act Kbps tps Kb_read Kb_wrtn
    > > hdisk146 0.1 38.8 1.3 180806069 14584
    > > hdisk150 0.0 0.0 0.0 2049 0
    > > hdisk11 0.2 47.7 1.7 222564295 60668
    > > hdisk151 0.0 0.0 0.0 2048 0
    > > hdisk145 0.2 45.8 1.6 213709213 37600
    > >
    > > How do I map these devices to actual file systems? Could you please
    > > let me know?
    Try lspv -l <hdisk>.

    Steve
    Steve Nottingham Guest

  4. #4

    Default Re: how do I map hdisk to filesystem

    [email]stevewakefieldrfc.freeserve.co.uk[/email] (Steve Nottingham) wrote in message news:<42862645.0309240043.4e31fb58posting.google. com>...
    > "Mr Lance Free" <SPAMMY_blfridgehotmail.com> wrote in message news:<xR2cb.36642$332.1769587phobos.telenet-ops.be>...
    > > "MAK" <maks70comcast.net> wrote in message
    > > news:b7178504.0309231243.5b0f75c9posting.google.c om...
    > > > Hello,
    > > >
    > > > We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage.
    > > >
    > > > I am running iostat and it give me all devices statrt with hdisk.
    > > >
    > > > Disks: % tm_act Kbps tps Kb_read Kb_wrtn
    > > > hdisk146 0.1 38.8 1.3 180806069 14584
    > > > hdisk150 0.0 0.0 0.0 2049 0
    > > > hdisk11 0.2 47.7 1.7 222564295 60668
    > > > hdisk151 0.0 0.0 0.0 2048 0
    > > > hdisk145 0.2 45.8 1.6 213709213 37600
    > > >
    > > > How do I map these devices to actual file systems? Could you please
    > > > let me know?
    >
    > Try lspv -l <hdisk>.
    >
    > Steve
    lspv -l hdisk146
    0516-304 : Unable to find device id 00000000000000000000000000000000 in the Device
    Configuration Database.
    MAK Guest

  5. #5

    Default Re: how do I map hdisk to filesystem

    [email]maks70comcast.net[/email] (MAK) wrote in message news:<b7178504.0309241251.805faefposting.google.c om>...
    > [email]stevewakefieldrfc.freeserve.co.uk[/email] (Steve Nottingham) wrote in message news:<42862645.0309240043.4e31fb58posting.google. com>...
    > > "Mr Lance Free" <SPAMMY_blfridgehotmail.com> wrote in message news:<xR2cb.36642$332.1769587phobos.telenet-ops.be>...
    > > > "MAK" <maks70comcast.net> wrote in message
    > > > news:b7178504.0309231243.5b0f75c9posting.google.c om...
    > > > > Hello,
    > > > >
    > > > > We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage.
    > > > >
    > > > > I am running iostat and it give me all devices statrt with hdisk.
    > > > >
    > > > > Disks: % tm_act Kbps tps Kb_read Kb_wrtn
    > > > > hdisk146 0.1 38.8 1.3 180806069 14584
    > > > > hdisk150 0.0 0.0 0.0 2049 0
    > > > > hdisk11 0.2 47.7 1.7 222564295 60668
    > > > > hdisk151 0.0 0.0 0.0 2048 0
    > > > > hdisk145 0.2 45.8 1.6 213709213 37600
    > > > >
    > > > > How do I map these devices to actual file systems? Could you please
    > > > > let me know?
    > >
    > > Try lspv -l <hdisk>.
    > >
    > > Steve
    >
    > lspv -l hdisk146
    > 0516-304 : Unable to find device id 00000000000000000000000000000000 in the Device
    > Configuration Database.
    There must be a command to show the mapping between the vpaths and
    hdisks. You will have installed a fileset to use this storage array.
    Use lslpp -f <fileset> to see what commands are in the fileset.

    Steve
    Steve Nottingham Guest

  6. #6

    Default Re: how do I map hdisk to filesystem

    On 23 Sep 2003 13:43:45 -0700, [email]maks70comcast.net[/email] (MAK) wrote:
    >Hello,
    >
    >We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage.
    >
    >I am running iostat and it give me all devices statrt with hdisk.
    >
    >Disks: % tm_act Kbps tps Kb_read Kb_wrtn
    >hdisk146 0.1 38.8 1.3 180806069 14584
    >hdisk150 0.0 0.0 0.0 2049 0
    >hdisk11 0.2 47.7 1.7 222564295 60668
    >hdisk151 0.0 0.0 0.0 2048 0
    >hdisk145 0.2 45.8 1.6 213709213 37600
    You can use df -k to see your mounted filesystem, for example
    # df -k

    Filesystem 512-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 131072 50232 62% 1731 6% /
    /dev/hd2 2097152 595960 72% 21388 9% /usr
    /dev/hd9var 2097152 2003848 5% 619 1% /var
    /dev/hd3 917504 773744 16% 169 1% /tmp
    /dev/hd1 131072 111912 15% 603 4% /home
    /proc - - - - - /proc
    /dev/hd10opt 131072 53192 60% 1442 9% /opt
    /dev/lv01 655360 631336 4% 26 1% /hacmplogs
    /dev/tpxlv 8388608 979416 89% 22401 17% /tpx

    and then using the command lslv -l <LOGICALVOLUME> you'll be able to
    see the mapping, for example

    # lslv -l tpxlv
    tpxlv:/tpx
    PV COPIES IN BAND DISTRIBUTION
    hdisk0 064:000:000 0% 064:000:000:000:000
    hdisk1 064:000:000 0% 064:000:000:000:000


    HIH,
    Jeremy


    Jeremy Guest

  7. #7

    Default Re: how do I map hdisk to filesystem

    Jeremy <jeremy_thewickedhotmail.com> wrote in message news:<4lm6nv4bceuhbps8j9l2dn78e0itp5looe4ax.com>. ..
    > On 23 Sep 2003 13:43:45 -0700, [email]maks70comcast.net[/email] (MAK) wrote:
    >
    > >Hello,
    > >
    > >We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage.
    > >
    > >I am running iostat and it give me all devices statrt with hdisk.
    > >
    > >Disks: % tm_act Kbps tps Kb_read Kb_wrtn
    > >hdisk146 0.1 38.8 1.3 180806069 14584
    > >hdisk150 0.0 0.0 0.0 2049 0
    > >hdisk11 0.2 47.7 1.7 222564295 60668
    > >hdisk151 0.0 0.0 0.0 2048 0
    > >hdisk145 0.2 45.8 1.6 213709213 37600
    >
    > You can use df -k to see your mounted filesystem, for example
    > # df -k
    >
    > Filesystem 512-blocks Free %Used Iused %Iused Mounted on
    > /dev/hd4 131072 50232 62% 1731 6% /
    > /dev/hd2 2097152 595960 72% 21388 9% /usr
    > /dev/hd9var 2097152 2003848 5% 619 1% /var
    > /dev/hd3 917504 773744 16% 169 1% /tmp
    > /dev/hd1 131072 111912 15% 603 4% /home
    > /proc - - - - - /proc
    > /dev/hd10opt 131072 53192 60% 1442 9% /opt
    > /dev/lv01 655360 631336 4% 26 1% /hacmplogs
    > /dev/tpxlv 8388608 979416 89% 22401 17% /tpx
    >
    > and then using the command lslv -l <LOGICALVOLUME> you'll be able to
    > see the mapping, for example
    >
    > # lslv -l tpxlv
    > tpxlv:/tpx
    > PV COPIES IN BAND DISTRIBUTION
    > hdisk0 064:000:000 0% 064:000:000:000:000
    > hdisk1 064:000:000 0% 064:000:000:000:000
    >
    >
    > HIH,
    > Jeremy
    "lsvpcfg" will list your vpath-to-hdisk mappings. Pipe to grep if the
    list is long.

    Then "lspv -l vpathx" to see what logical volumes have partitions on
    that vpath as you would if it were an hdisk.

    Good luck,
    Chris
    Chris Guest

  8. #8

    Default Re: how do I map hdisk to filesystem

    > "lsvpcfg" will list your vpath-to-hdisk mappings. Pipe to grep if the
    > list is long.
    >
    > Then "lspv -l vpathx" to see what logical volumes have partitions on
    > that vpath as you would if it were an hdisk.
    >
    > Good luck,
    > Chris

    Thanks Chris! lsvpcfg command was the one I had been looking for.

    What its equivalent in Veritas world? ( I know know this is AIX forum
    but just in case you know it already ). Soon we would be migrating
    from AIX-LVM to Veritas Volmgr.

    Once again , I appreciate your help.
    MAK Guest

  9. #9

    Default Re: how do I map hdisk to filesystem

    [email]maks70comcast.net[/email] (MAK) wrote in message news:<b7178504.0309301726.21b80970posting.google. com>...
    > > "lsvpcfg" will list your vpath-to-hdisk mappings. Pipe to grep if the
    > > list is long.
    > >
    > > Then "lspv -l vpathx" to see what logical volumes have partitions on
    > > that vpath as you would if it were an hdisk.
    > >
    > > Good luck,
    > > Chris
    >
    >
    > Thanks Chris! lsvpcfg command was the one I had been looking for.
    >
    > What its equivalent in Veritas world? ( I know know this is AIX forum
    > but just in case you know it already ). Soon we would be migrating
    > from AIX-LVM to Veritas Volmgr.
    >
    > Once again , I appreciate your help.
    I'm not familiar with Veritas Volmgr. Sorry. When you convert, I'd
    be interested in hearing your thoughts on it.

    Chris
    Chris Guest

Similar Threads

  1. filesystem or rawdevice
    By yls177 in forum Linux / Unix Administration
    Replies: 5
    Last Post: August 24th, 04:15 PM
  2. dealing with the filesystem?
    By Darren Clark in forum Macromedia Flash
    Replies: 4
    Last Post: August 9th, 02:44 AM
  3. FileSystem Object
    By Boris in forum ASP Database
    Replies: 4
    Last Post: March 2nd, 05:58 AM
  4. SCO Filesystem
    By c3q8 in forum SCO
    Replies: 5
    Last Post: August 8th, 09:58 AM
  5. filesystem help
    By Bela Lubkin in forum SCO
    Replies: 0
    Last Post: July 29th, 08:41 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139