Centos for aix admin

General support questions
Post Reply
tomislak
Posts: 4
Joined: 2014/04/18 12:05:09

Centos for aix admin

Post by tomislak » 2014/04/20 17:52:02

Hi,
I'm a aix admin with over 10 years of experience. I need some commands comparison between those two. Espetially commands for disk subsystem. For example how can one see: disk adapter->disk->volume group->filesystem
Thanks.

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos for aix admin

Post by TrevorH » 2014/04/20 18:31:19

Been a long time since I did anything with AIX and I have forgotten most of what I knew. I don't think there are direct commands to do what you want but the nearest linux equivalents I can think of are:

Code: Select all

lspci -nn
lshw
fdisk -l 
parted -l
pvs
vgs
lvs
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

tomislak
Posts: 4
Joined: 2014/04/18 12:05:09

Re: Centos for aix admin

Post by tomislak » 2014/04/30 06:57:48

Hi,

thanks for your info.

It seems that I have two fc cards:
root@lin9(/etc)# lspci -nn | grep "Fibre Channel"
06:00.0 Fibre Channel [0c04]: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter [10df:fe00] (rev 02)
06:00.1 Fibre Channel [0c04]: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter [10df:fe00] (rev 02)

and 20 disks
root@lin9(/etc)# pvs
PV VG Fmt Attr PSize PFree
/dev/mapper/mpathad vg_mpathad lvm2 a-- 10.00g 1.99g
/dev/mapper/mpathae dwhprodvg0 lvm2 a-- 1.50t 0
/dev/mapper/mpathaf dwhprodvg0 lvm2 a-- 1.50t 0
/dev/mapper/mpathag dwhprodvg1 lvm2 a-- 2.00g 0
/dev/mapper/mpathah dwhprodvg2 lvm2 a-- 500.00g 0
/dev/mapper/mpathai dwhprodvg2 lvm2 a-- 1.20t 0
/dev/mapper/mpathaj dwhprodvg0 lvm2 a-- 1.50t 0
/dev/mapper/mpathak dwhprodvg0 lvm2 a-- 1.50t 0
/dev/mapper/mpathal dwhprodvg0 lvm2 a-- 1.20t 0
/dev/mapper/mpatham dwhprodvg1 lvm2 a-- 50.00g 0
/dev/mapper/mpathan dwhprodvg0 lvm2 a-- 461.00g 0
/dev/mapper/mpathao dwhprodvg0 lvm2 a-- 1024.00g 0
/dev/mapper/mpathap dwhprodvg0 lvm2 a-- 500.00g 0
/dev/mapper/mpathaq vg_mpathad lvm2 a-- 10.00g 0
/dev/mapper/mpathar dwhprodvg0 lvm2 a-- 1024.00g 0
/dev/mapper/mpathas dwhprodvg0 lvm2 a-- 1024.00g 0
/dev/mapper/mpathat acrm_vg0 lvm2 a-- 400.00g 85.00g
/dev/mapper/mpathau vg_ecc_sw lvm2 a-- 300.00g 0
/dev/mapper/mpathav vg_ecc_db lvm2 a-- 1.17t 125.00g
/dev/mapper/mpathcp2 vg_hrs173lin901 lvm2 a-- 278.88g 66.39g

How can I see which disks are from storage and which are local disks?
And how can I see which disk from storage is which disk on lin? Often I have disks from sotrage with same size and this isn't good criteria fro difference.

drk
Posts: 405
Joined: 2014/01/30 20:38:28

Re: Centos for aix admin

Post by drk » 2014/04/30 08:52:37

You could try "lsblk"

tomislak
Posts: 4
Joined: 2014/04/18 12:05:09

Re: Centos for aix admin

Post by tomislak » 2015/07/28 12:53:25

Hi,

again me. Is there some course/book/anything for aix to centos/rhel admin migration?

Regards

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Centos for aix admin

Post by aks » 2015/07/28 18:02:38

RH used to offer such a course (don't know if they still do), but Google is your friend in this case/ First hit off Google:
https://www.ibm.com/developerworks/aix/ ... -aix_rhel/

tomislak
Posts: 4
Joined: 2014/04/18 12:05:09

Re: Centos for aix admin

Post by tomislak » 2015/07/29 06:20:07

thats in opposite direction, aix for centos admins.
I've google it but with not much valuable info...


Post Reply