> Cannot Remove
> Cannot Remove Hdisk Aix
Cannot Remove Hdisk Aix
Anyone who has followed an AIX administration course (well the advanced one) knows that there is a command to do all this for you! It is intended for storing system informations: software infos (smit menus and commands, installed filesets...) and device infos (device configurations, tcp/ip configs...) For safety reasons the ODM data is stored in Register now while it's still free! checking fileset in the ODM (ODMDIR is set here /etc first): odmget -q lpp_name=bos.rte.printers product <--fileset exists only here and here 5.3.8 version exists, mod=8) odmget this content
On Thursday 20 September 2007, 17:07 by Michael Felt My apologies for not answering your direct question. All product names are trademarks of their respective companies. All the commands demonstrated here have been available in AIX for disk management since at least 1995 (when AIX 4 first came out). Imation Adaptive Planning Dell Software View All Topics View All Members View All Companies Toolbox for IT Topics UNIX Groups Ask a New Question IBM AIX The IBM AIX group is
Aix Remove Missing Paths
If yes then you have to remove from it. All the data is lost; however, the AIX ODM and the VGDA on all the other disks in the volume group do not know this yet. Gerald (Jerry) L. VSCSI VSCSI - Stor.
HTH,p5wizard RE: remove PVID gatetec (MIS) (OP) 29 Jun 07 15:59 lscfg |grep L5E000000000000+ hdisk95U7879.001.DQDLTLR-P1-C4-T1-W200200A0B813A360-L5E000000000000 1742-900 (900) Disk Array DeviceIt is still hdisk95.thx much RE: remove PVID p5wizard (IS/IT--Management) 29 Jun I think that a bit safer than the odm munging plan is to try "reducevg" Check your man page for some more information. Instead, we use the VGID (volume group identifer). 1. Aix Odm When a device is available, the device driver has been loaded and a special file is created in the /dev directory (these special files are used by applications to access the
I would also guess that lsvg rootvg would show a stale pv, and lsvg -l rootvg would show that you have a bunch of mirrored lv's that are stale. One disk is/was damaged beyond repair, or replaced during the process. All product names are trademarks of their respective companies. http://rootvg.net/content/view/174/... 4.
Powered by Blogger. Aix Cfgmgr Click Here to join Tek-Tips and talk with other members! Even if editting ODM is fun for some of us (RAWR!). Are you aComputer / IT professional?Join Tek-Tips Forums!
Odmdelete Example Aix
You need to delete all reference to that hdisk0 in the ODM of your AIX system. http://www.tek-tips.com/viewthread.cfm?qid=1383066 Their value represent the LUN ID of the disk. Aix Remove Missing Paths Hope it woks for you as well. Aix Rmdev Device Busy Actually one of our server hdisk0 has been removed without done any command via aix,(like reducevg,rmdev....)this PV is part of rootvg,the rootvg has two hdisk(hdisk0,hdisk1)hdisk1 has BLV. 1.hdisk0 has been removed
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. IBM: AIX Forum http://fortecrm.net/cannot-remove/cannot-remove-direcotry.html But care must be taken since it is a low level command. blog'o thnet To content | To menu | To search « Getting Emulex HBA Information on a GNU/Linux - Installing a VIOS from the HMC Using a backupios » Altering LVM So, the simpler way! 0514-062 Cannot Perform The Requested Function Because The Specified Device Is Busy
A situation like this is more common: CASE: While the volume group is offline, maintenance is performed on the disks. ISD Basics RMC NETWORKS Basics - Dev., Route Basics - Prot., Subnet Basics - VLAN Commands DSH - PSSH Eth. gerald.l.myers replied Aug 10, 2006 Rob: You won't find out till you reboot. have a peek at these guys Get IBM supt help if you need it for that.
Monitor Basics Build - Configure CAA Clverify Commands - Cases Config too long DARE - Snapshot Disk Heartbeat Network - Topology Storage - VG, NFS POWERVM Basics Commands AME - AMS Lsdev The most important one is the PVID, located in CuAt. All the data is lost, but AIX ODM and the VGDA on all other disks in the volume group do not know this yet.
[email protected]:[/]rmlv loglv00 Warning, all data contained on logical volume loglv00 will be destroyed.
Hope this helps, Casey Log in to reply. rmlv: Do you wish to continue? Adapter Virt. backing up ODM: tar -cvf /tmp/odm.etc.tar /etc/objrepos tar -cvf /tmp/odm.usr.lib.tar /usr/lib/objrepos 4.
Monitor Basics Build - Configure CAA Clverify Commands - Cases Config too long DARE - Snapshot Disk Heartbeat Network - Topology Storage - VG, NFS POWERVM Basics Commands AME - AMS The files to be removed are as follows: (Do not be concerned if some of the removals do not work as PowerPath may not be fully configured properly). # rm ./etc/PowerPathExtensions Pool EXTRA +others alt_disk awk - sed bash citrix java kdb ksh linux - install locale multibos perl profiles rbac Rsh samba screen script sudo syslog-ng vi ODM ODM (OBJECT DATA check my blog FreeBSD PRs I've sent .
On Thursday 20 September 2007, 13:05 by Michael Felt I have cleaned up the entry a bit, and found an easier way to locate logical partitions that might still be in The lsattr command actually queries the PdAt and CuAt files. ------------------------- echo $ODMDIR default value is /etc/objrepos, it can be set in /etc/environment (odm commands (odmget..)will work Gill Geoffrey replied Aug 10, 2006 I'm going through the same sort of problem and I had to reboot the server in order to free up the disk so I could HTH,p5wizard RE: remove PVID gatetec (MIS) (OP) 29 Jun 07 11:28 PDC # lscfg|grep W200200A0B813A360-L5E000000000000+ hdisk95U7879.001.DQDLTLR-P1-C4-T1-W200200A0B813A360-L5E000000000000 1742-900 (900) Disk Array DeviceOnly there is one, hdisk95 for the ID.
delete from /etc/objrepos (lpp,product, history, inventory) (check odmdir: echo $ODMDIR) export ODMDIR=/etc/objrepos odmdelete -q name=devices.common.IBM.iscsi.rte -o lpp odmdelete -q lpp_name=devices.common.IBM.iscsi.rte -o product odmdelete -q lpp_id="355" -o history This is effectively the way I understood your first answer. We can check the current LUN defined by running lscfg on all the disks defined: # lscfg -vl hdisk* hdisk0 U9117.570.65E4B6A-V6-C2-T1-L810000000000 Virtual SCSI Disk Drive hdisk2 U9117.570.65E4B6A-V6-C3-T1-L810000000000 Virtual SCSI Disk Drive The idea is to reinsert a disk in the ODM configuration, remove the disk from LVM and then remove it from ODM.
Let's choose 85, which for sure will not collide with other devices. [email protected]:[/]lsvg -p vgExport vgExport: PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION hdisk1 active 511 95 00..00..00..00..95 hdisk2 missing 542 29 51..18..51..51..51 [email protected]:[/]lsvg -l vgExport vgExport: LV NAME Best way to contact meOf Interest. Important commands to review: lslv (-m) lqueryvg ldeletepv 2.
can anybody plz help me how to add the filesystem in aix software repsitoryReplyDeleteAnonymousJuly 15, 2014 at 11:22 PMThanks a lot, it's absolutely one of the best AIX sites in the To prepare for this I run the AIX command for removing a MISSING disk: [b] [email protected]:[/]lqueryvg -p hdisk1 -vPt Physical: 00c39b8d69c45344 2 0 00c39b8d043427b6 1 0 VGid: 00c39b8d00004c000000011169c45a4b [email protected]:[/]umount /scratch umount: are you using HACMP? The first section is correct, I fixed later examples to show correct data. :)DeleteReplyAnonymousMay 5, 2014 at 8:16 AMHi I am new to AIX Environment.
The bad disk was the only hdisk in the VG. Newer Post Older Post Home Subscribe to: Post Comments (Atom) CLICK AD TO SUPPORT: Search on this blog: Loading... One of them is this blog with several AIX articles. If there was anything on the MISSING disk, the command ldeletepv will not remove the disk.
This is the accepted answer. Normally we could use lspv -l hdiskX; (new: undocumented variation: lspv -l PVID) however, with the disk missing, this version of the command will not work. MoreWhitePapers 1 Comments USER_2222640 Nov 12, 2010 You should use powermt remove dev=powerdevice before rmdev -dl powerdevice Leave a Comment Connect to this blog to be notified of new entries. Once that is dome do Odmget's across the /etc/objrepos/Cu* files (i.e.