This is a discussion on how do I map hdiskxxx to filesystem within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, We are running AIX-5.1-L on IBM p680 and using HDS-99XX storage. I am running iostat and it give ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 hdiskXXX. 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" <maks70@comcast.net> wrote in message news:b7178504.0309231243.5b0f75c9@posting.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 hdiskXXX. > > 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" <SPAMMY_blfridge@hotmail.com> wrote in message news:<xR2cb.36642$332.1769587@phobos.telenet-ops.be>... > "MAK" <maks70@comcast.net> wrote in message > news:b7178504.0309231243.5b0f75c9@posting.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 hdiskXXX. > > > > 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@wakefieldrfc.freeserve.co.uk (Steve Nottingham) wrote in message news:<42862645.0309240043.4e31fb58@posting.google. com>... > "Mr Lance Free" <SPAMMY_blfridge@hotmail.com> wrote in message news:<xR2cb.36642$332.1769587@phobos.telenet-ops.be>... > > "MAK" <maks70@comcast.net> wrote in message > > news:b7178504.0309231243.5b0f75c9@posting.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 hdiskXXX. > > > > > > 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. |
| |||
| maks70@comcast.net (MAK) wrote in message news:<b7178504.0309241251.805faef@posting.google.c om>... > steve@wakefieldrfc.freeserve.co.uk (Steve Nottingham) wrote in message news:<42862645.0309240043.4e31fb58@posting.google. com>... > > "Mr Lance Free" <SPAMMY_blfridge@hotmail.com> wrote in message news:<xR2cb.36642$332.1769587@phobos.telenet-ops.be>... > > > "MAK" <maks70@comcast.net> wrote in message > > > news:b7178504.0309231243.5b0f75c9@posting.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 hdiskXXX. > > > > > > > > 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 |
| |||
| On 23 Sep 2003 13:43:45 -0700, maks70@comcast.net (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 hdiskXXX. > >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 <jeremy_thewicked@hotmail.com> wrote in message news:<4lm6nv4bceuhbps8j9l2dn78e0itp5looe@4ax.com>. .. > On 23 Sep 2003 13:43:45 -0700, maks70@comcast.net (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 hdiskXXX. > > > >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 |
| |||
| > "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. |
| ||||
| maks70@comcast.net (MAK) wrote in message news:<b7178504.0309301726.21b80970@posting.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 |