Ask a Question related to AIX, Design and Development.
-
MAK #1
how do I map hdiskxxx 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 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 Guest
-
FileSystem Object
I am wondering if anyone could help me with the following problem I need to write some asp code that accepts a path to some directory on the Web... -
SCO Filesystem
Help plz using sco 3.2v4.2 ... powerfailer ochh!... not able to mount /dev/u try fsck on /dev/root .. it's ok try fsck on /dev/u get error "fsck:... -
filesystem help
Yousuf wrote: The block number it's complaining about is in 1/2K blocks. In 1K units, it's at 18307903K into the division. Since the size of... -
SCSI ID <--> filesystem
.... a particular (5.0.6) server has a SCSI backplane with four hard disks hanging off of it. All I know is the SCSI ID (it is the position in the... -
Read only filesystem??
On Wed, 25 Jun 2003 at 19:58 GMT, Mike L eloquently wrote: Does the output of mount say your filesystems are mounted rw or r? Example: /dev/hdb3... -
Mr Lance Free #2
Re: how do I map hdiskxxx to filesystem
"MAK" <maks70@comcast.net> wrote in message
news:b7178504.0309231243.5b0f75c9@posting.google.c om...Try lslv -l redo1, this will show you the hdisk devices being used for that> 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
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
-
Steve Nottingham #3
Re: how do I map hdiskxxx to filesystem
"Mr Lance Free" <SPAMMY_blfridge@hotmail.com> wrote in message news:<xR2cb.36642$332.1769587@phobos.telenet-ops.be>...
Try lspv -l <hdisk>.> "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?
Steve
Steve Nottingham Guest
-
MAK #4
Re: how do I map hdiskxxx to filesystem
[email]steve@wakefieldrfc.freeserve.co.uk[/email] (Steve Nottingham) wrote in message news:<42862645.0309240043.4e31fb58@posting.google. com>...
lspv -l hdisk146> "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
0516-304 : Unable to find device id 00000000000000000000000000000000 in the Device
Configuration Database.
MAK Guest
-
Steve Nottingham #5
Re: how do I map hdiskxxx to filesystem
[email]maks70@comcast.net[/email] (MAK) wrote in message news:<b7178504.0309241251.805faef@posting.google.c om>...
There must be a command to show the mapping between the vpaths and> [email]steve@wakefieldrfc.freeserve.co.uk[/email] (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.
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
-
Jeremy #6
Re: how do I map hdiskxxx to filesystem
On 23 Sep 2003 13:43:45 -0700, [email]maks70@comcast.net[/email] (MAK) wrote:
You can use df -k to see your mounted filesystem, for example>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
# 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
-
Chris #7
Re: how do I map hdiskxxx to filesystem
Jeremy <jeremy_thewicked@hotmail.com> wrote in message news:<4lm6nv4bceuhbps8j9l2dn78e0itp5looe@4ax.com>. ..
"lsvpcfg" will list your vpath-to-hdisk mappings. Pipe to grep if the> On 23 Sep 2003 13:43:45 -0700, [email]maks70@comcast.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 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
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
-
MAK #8
Re: how do I map hdiskxxx 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
-
Chris #9
Re: how do I map hdiskxxx to filesystem
[email]maks70@comcast.net[/email] (MAK) wrote in message news:<b7178504.0309301726.21b80970@posting.google. com>...
I'm not familiar with Veritas Volmgr. Sorry. When you convert, I'd>> > "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.
be interested in hearing your thoughts on it.
Chris
Chris Guest



Reply With Quote

