tag:blogger.com,1999:blog-5391325129965939458.post2730616564392367125..comments2024-03-18T01:53:00.753+01:00Comments on AIX for System Administrators: Devicesaixhttp://www.blogger.com/profile/11198511213080760662noreply@blogger.comBlogger26125tag:blogger.com,1999:blog-5391325129965939458.post-31328352486961609322022-03-04T21:46:36.303+01:002022-03-04T21:46:36.303+01:00Just a question, if C and B device files were remo...Just a question, if C and B device files were removed or missing, how to recreate them? Will mknod helpPjghttps://www.blogger.com/profile/05834396628415779458noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-15108282875929494712015-11-17T13:24:30.750+01:002015-11-17T13:24:30.750+01:00Hi IBM Support Team,
We have recently build Two N...Hi IBM Support Team,<br /><br />We have recently build Two Node RAC cluster. As per Oracle recommendation Major Number of the ASM disk(Shared) should be same on both nodes to configure the RAC cluster. But we are getting different major number of the disks on both nodes. On Primary Node we are getting Major Num 18 and On Secondary Node we are getting Major Num 19. As per Oracle recommendation, we need same Major Num on both Nodes for RAW Disks(ASM).<br /><br /><br />NODE1 Primary Node<br />NODE2 Secondary Node<br /><br />Note : We are changing Major Num to Disk level not VG level.<br /><br />Both servers rootvg disk have different Major Number. Due to this other disks Major number also showing different. We need same Major Number for ASM disks on both Nodes. Please find the logs below: <br /><br />[NODE1:root:/dev:] lspv|grep -i rootvg<br />hdisk0 00f79cb1f6ac8288 rootvg active<br /><br />[NODE1:root:/dev:] ls -l /dev/hdisk0<br />brw------- 1 root system 18, 1 Sep 22 22:23 /dev/hdisk0<br />[NODE1:root:/dev:]<br /><br /><br /><br />[NODE2:root:/dev:] lspv|grep -i rootvg<br />hdisk0 00f79cb0f6f7d638 rootvg active<br /><br />[NODE2:root:/dev:] ls -l /dev/hdisk0<br />brw-r--r-- 1 root system 19, 1 Nov 16 14:01 /dev/hdisk0<br />[NODE2:root:/dev:]<br />TiGERBOYShttps://www.blogger.com/profile/08236023775440105716noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-54909388731304413342014-11-25T06:29:52.872+01:002014-11-25T06:29:52.872+01:00Nice Information...Nice Information...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-79979790600599389762014-10-28T19:36:12.817+01:002014-10-28T19:36:12.817+01:00Hi, good point.
This was written before virtualiza...Hi, good point.<br />This was written before virtualization started to rule the world :)<br />Actually when you create a virtual FC (at HMC level), and you check it at your AIX level, your AIX will handle it as a real device, with location code and all other characteristics (speed, settings...), only you will know it is a virtual adapter (because of the description).aixhttps://www.blogger.com/profile/11198511213080760662noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-11580906117762828852014-10-28T17:23:59.122+01:002014-10-28T17:23:59.122+01:00Hi, in your location code topic you mentioned that...Hi, in your location code topic you mentioned that "Devices with a location code are physical devices."...<br />we have virtual FCs in our server but still i am able to see the phy location code for them..Am i missing anything or misunderstood.<br /><br />root:common@a72:/ #> lsdev | grep fcs<br />fcs0 Available 98-T1 Virtual Fibre Channel Client Adapter<br />fcs1 Available 99-T1 Virtual Fibre Channel Client Adapter<br />root:common@a72:/ #><br />root:common@a72:/ #> lscfg -vpl fcs0 | grep -i physical<br /> Physical Location: U9117.MMB.0639ADR-V21-C98-T1<br />root:common@ra72cpi101:/ #>Rajhttps://www.blogger.com/profile/18272998342907008772noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-68642653587694510112014-07-25T09:37:12.778+02:002014-07-25T09:37:12.778+02:00I am unable to remove a disk which used to be an N...I am unable to remove a disk which used to be an NSD; removed related GPFS filesystem, deleted nsd but when try to remove the hdisk, it says;<br />Method error (/usr/lib/methods/ucfgdevice):<br /> 0514-062 Cannot perform the requested function because the<br /> specified device is busy.<br /><br />- fuser shows no process attached<br />root [aixdev1] /: fuser -cu /dev/hdisk88<br />/dev/hdisk88:<br />root [aixdev1] /: fuser /dev/hdisk88<br />/dev/hdisk88:<br /><br />There are multiple gpfs filesystems, removed all of them and their NSDs but unable to remove any of the related hdisk due to the above error. Any advice will be greatly appreciated.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-16409747610264711332014-04-30T14:07:43.968+02:002014-04-30T14:07:43.968+02:00Full command
lsvg -p vg_nameFull command<br />lsvg -p vg_nameAnonymoushttps://www.blogger.com/profile/04088529327929927851noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-4213105444339757552014-04-30T14:04:50.185+02:002014-04-30T14:04:50.185+02:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/04088529327929927851noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-36653510153618500162014-04-25T08:00:36.426+02:002014-04-25T08:00:36.426+02:00Please details mention
1. What is an NMON?
2. Bri...Please details mention <br />1. What is an NMON?<br />2. Briefly explain NMON?Anonymoushttps://www.blogger.com/profile/01579003503935045306noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-83643091012855417552014-03-29T13:03:32.097+01:002014-03-29T13:03:32.097+01:00Hello. Suppose an AIX server has both an IBM tape...Hello. Suppose an AIX server has both an IBM tape library and tape drives. Is it possible to have IBMtape driver attach only to the library and leave the IBM tape drives with AIX default other scsi tape driver (OST)? Even after reboot..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-49153238568295983392014-03-17T11:26:48.085+01:002014-03-17T11:26:48.085+01:00how to know disk(pv) have howmuch free space when...how to know disk(pv) have howmuch free space when three disks are there in a volume groupoyao aixblogspot.comhttps://www.blogger.com/profile/05613216564959264372noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-86779545474675711612014-03-07T13:52:33.422+01:002014-03-07T13:52:33.422+01:00Hi, I tried with cfgmgr as well, and it created a ...Hi, I tried with cfgmgr as well, and it created a /dev/null file, just major,minor number was different from the original one. In my opinion mknod solution shoul be better.aixhttps://www.blogger.com/profile/11198511213080760662noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-35602909335322712272014-03-07T10:33:51.454+01:002014-03-07T10:33:51.454+01:00Hi Balazs, highly appreciate your prompt response!...Hi Balazs, highly appreciate your prompt response! One thing came into my mind. The device should have to be recreated by the cfgmgr as well. Am I right ?<br />Thanks again, AsdafAsdafhttps://www.blogger.com/profile/01930935797570327764noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-51157920467341519892014-03-07T08:34:29.184+01:002014-03-07T08:34:29.184+01:00Hi Asdaf, I tested it and the solution what you f...Hi Asdaf, I tested it and the solution what you found worked for me.<br /><br />- Balazsaixhttps://www.blogger.com/profile/11198511213080760662noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-81490185403624597062014-03-06T20:11:04.393+01:002014-03-06T20:11:04.393+01:00Hi Balazs, I'd like to ask your advice. Someon...Hi Balazs, I'd like to ask your advice. Someone deleted the /dev/null special file....Do You have any idea how to recover, I found this: <br />rm /dev/null; mknod /dev/null c 2 2; chmod 666 /dev/null<br />Many thanks in advance, AsdafAsdafhttps://www.blogger.com/profile/01930935797570327764noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-37536148292107454822013-11-21T06:19:28.278+01:002013-11-21T06:19:28.278+01:00Hello Blazas,
My one of the server is not showing...Hello Blazas,<br /><br />My one of the server is not showing the model number ? can you please help me to fix this?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-41826343867860181662013-09-11T08:16:21.590+02:002013-09-11T08:16:21.590+02:00Great blog with wealth of information!! Please kee...Great blog with wealth of information!! Please keep up the good work, I am wondering is there a reason for lsdev to show the logical volumes and volume groups as "defined".Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-15842777420218195192013-07-27T22:44:27.382+02:002013-07-27T22:44:27.382+02:00Hi, is there command that can retrieve specific &q...Hi, is there command that can retrieve specific "Device Specific(Z#)...........[value]" for device(s)? grep, awk/sed, could be used on the above "lscfg -vpl hdisk*" but is not ideal when there are many hundreds of hdisk* on the system. Also, is there any odmshow/odmget or equivalent that would provide a description of what the "Device Specific(Z#)........[value]" entries are. I have executed "odmget -q name=hdisk1 CuVPD" but the output does not contain the "Device Specific(Z#)........[value]" entries only the Manufacturer, Machine Type and Model, and EC Level entries as below:<br />CuVPD:<br /> name = "hdisk1"<br /> vpd_type = 0<br /> vpd = "*MFVIOLIN *TM\n\<br />SAN ARRAY *EC552"<br /><br />Thank you for your assistance!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-35800590812181328802013-07-17T09:21:25.970+02:002013-07-17T09:21:25.970+02:00thank you Balazs !thank you Balazs !rahttps://www.blogger.com/profile/08174409488396279949noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-9164474232203216452013-07-16T13:05:40.452+02:002013-07-16T13:05:40.452+02:00Hi, "lscfg -vpl | grep hdisk" does not w...Hi, "lscfg -vpl | grep hdisk" does not work, try this one: "lscfg -vpl hdisk*"aixhttps://www.blogger.com/profile/11198511213080760662noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-30774918150100778132013-07-16T10:17:47.641+02:002013-07-16T10:17:47.641+02:00hii Balazs,
is there any way to find out all lun ...hii Balazs,<br /><br />is there any way to find out all lun disks info using lscfg -vpl command in 1 go?<br /><br />how about if i use:<br /><br />lscfg -vpl | grep hdisk<br /><br />Thanks<br />Rahulrahttps://www.blogger.com/profile/08174409488396279949noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-27705406180254928182013-07-16T00:08:53.138+02:002013-07-16T00:08:53.138+02:00Hi Rajech, I have use this procedure to change fro...Hi Rajech, I have use this procedure to change from "defined" to "Available" but my device rmt0 has disappeared, any advice to re-establish the device??<br />Thanks in advance,<br />Regards,<br />Marco<br /> <br />Changing state of a device:<br /> 1.lsdev -Cc tape in normal case it shows: rmt0 Available ...<br /> 2.rmdev -l rmt0 it will show: rmt0 Defined<br /> 3.rmdev -dl rmt0 it will show: rmt0 deleted (the device configuration is unloaded from the ODM)<br /> Now rmt0 is completely removed. To redetect the device:<br /> 4.cfgmgr after cfgmgr, the lsdev -Cc tape command shows: rmt0 Available ...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-86146356605451637802013-06-26T22:02:09.633+02:002013-06-26T22:02:09.633+02:00If you do a test read on the tape, you will see if...If you do a test read on the tape, you will see if there is anything (for example: tctl -f /dev/rmt0 read > /tmp/test_file)aixhttps://www.blogger.com/profile/11198511213080760662noreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-80286586396315408602013-06-26T21:28:20.800+02:002013-06-26T21:28:20.800+02:00In AIX how do we identify if a media is present in...In AIX how do we identify if a media is present in the tape drive or not ?<br /><br /># lsdev -Cc tape | grep rmt4<br />rmt4 AVAILABLE 04-00-00 SAS 4mm Tape Drive<br /><br /># lsattr -E -l rmt4<br />block_size 512 BLOCK size (0=variable length) True<br />compress yes Use data COMPRESSION True<br />density_set_1 72 DENSITY setting #1 True<br />density_set_2 71 DENSITY setting #2 True<br />extfm yes Use EXTENDED file marks True<br />mode yes Use DEVICE BUFFERS during writes True<br />ret no RETENSION on tape change or reset True<br />ret_error no RETURN error on tape change or reset True<br />size_in_mb 80000 Size in Megabytes False<br />ww_id 500110a00150c0e8 World Wide Identifier False<br /><br /># lscfg -vl rmt4<br />rmt4 U5802.001.9K8R228-P1-C3-T1-L0-L0 SAS 4mm Tape Drive (80000 MB)<br /><br />Manufacturer................IBM<br />Machine Type and Model......DDS Gen6<br />Device Specific.(Z1)........WS20<br />Serial Number...............201B1728<br />Load ID.....................A1700D60<br />Part Number.................23R9722<br />FRU Number..................23R9723<br />EC Level....................H82479<br />Device Specific.(Z0)........0180030283001000<br />Device Specific.(Z3)........L1rajeshnoreply@blogger.comtag:blogger.com,1999:blog-5391325129965939458.post-25150390116998112642013-04-04T09:09:57.016+02:002013-04-04T09:09:57.016+02:00Cool...thanks for your feedback!Cool...thanks for your feedback!aixhttps://www.blogger.com/profile/11198511213080760662noreply@blogger.com