Sponsored Content
Full Discussion: clearing PVID
Operating Systems AIX clearing PVID Post 302592457 by newaix on Tuesday 24th of January 2012 01:58:12 AM
Old 01-24-2012
clearing PVID

HI admins,

I am not able to clear pvid .I am getting below error.

Code:
chdev -l hdisk273 -a pv=clear
Method error (/usr/lib/methods/chgdisk):
0514-047 Cannot access a device.
pv

The disk is from SAN. I can clear remove the disk using rmdev.But if i run cfgmgr , this disk apperas with PVID. Please suggets how to clear PVID.

Regards
newaix
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Clearing Mail Queue

Hello, I am trying to clear my mail queue with the following command: rm /var/spool/mqueue/* But when I do this I get this error: /bin/rm: Argument list too long. Can someone tell me what that error means and what I can do to correct it so I can clear my mail queue? Thanks (2 Replies)
Discussion started by: Chet
2 Replies

2. UNIX for Dummies Questions & Answers

Clearing Swapfiles?

Hi, Does anyone know of a command to safely clear the swapfiles to free up diskspace? It's done at shutdown/startup, but I'd rather not have down time, if possible. Thanks, MrToast (BTW, Mac OS X 10.3.5 ;) ) (3 Replies)
Discussion started by: MrToast
3 Replies

3. Programming

Clearing Data in an Array

How would I clear all data from an array? Here is what I'm doing: while (1) { if ((numbytes = recv(sock2, buf, 100, 0)) == -1) { perror("recv"); } printf("%s : %s", inet_ntoa(their_addr.sin_addr), buf); }buf still has extra data in it, so when I print it, things from previous data is put... (3 Replies)
Discussion started by: Octal
3 Replies

4. HP-UX

clearing history

HI, Can anybody tell me...what is a command for clearing command history in HP-UX machine. I tried 'history -c' but it is not applicable.... Thanks JAGDISH MACHHI (4 Replies)
Discussion started by: jagdish.machhi@
4 Replies

5. Programming

clearing breakpoints using dbx v 7.2.1

Im unsure of how to clear break points using dbx v7.2.1 Ive tried using delete linenumber of breakpoint however this does not seem to work. Could anyone point me in the correct direction ? regards (0 Replies)
Discussion started by: JamesGoh
0 Replies

6. Linux

clearing history

Is it possible to clear certain specific commands from history. I mean not clearing the entire history (history -c). You don't want anyone to see a particular command you executed. must not also show you have cleared history. Is it possible ? (2 Replies)
Discussion started by: nitin09
2 Replies

7. Shell Programming and Scripting

Verify two disk pvid with command awk

I do a #lspv |grep rootvg and i got : hdisk0 0006a81f3efcbe58 rootvg hdisk1 0006a81fd9ff4014 rootvg I want to verify for each server if the pvid is the same with use of the command lspv Can you help to wrote a shell with the command awk for exemple . Thank you (4 Replies)
Discussion started by: khalidou13
4 Replies

8. AIX

log_file_system clearing script

Hi i need a script to manage the mount point for any log location (/u01/dump/log/) i need a script which removes files older then x days but it should not remove file with extention *.log, *.ora etc then for remaing files it must search the huge files like *.txt and do fuser <filename> and... (0 Replies)
Discussion started by: javeedkaleem
0 Replies

9. Shell Programming and Scripting

BASH - Clearing value in a variable

anyone has any idae how do i clear the value in a variable in BASH? So far I come across "Clear-variable", however it can only clear a "Local" and "Global" variable. I'm trying to clear a self-declared variable. Anyone has any suggestions? (4 Replies)
Discussion started by: vinzping
4 Replies

10. Shell Programming and Scripting

Clearing a environmental variable

i set a variable from the command line: export GANG="james,roy,martin" i can access this variable ($GANG) from a script. but each time i run the script, the variable keeps getting bigger. more info keeps getting added to it. Is there anyway i can make the $GANG variable contain the... (3 Replies)
Discussion started by: SkySmart
3 Replies
clear(3XCURSES) 					  X/Open Curses Library Functions					   clear(3XCURSES)

NAME
clear, erase, wclear, werase - clear a window SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib -R /usr/xpg4/lib -lcurses [ library... ] c89 [ flag... ] file... -lcurses [ library... ] #include <curses.h> int clear(void); int erase(void); int wclear(WINDOW *win); int werase(WINDOW *win); DESCRIPTION
The clear() and erase() functions clear stdscr, destroying its previous contents. The wclear() and werase() functions perform the same action, but clear the window specified by win instead of stdscr. The clear() and wclear() functions also call the clearok() function. This function clears and redraws the entire screen on the next call to refresh(3XCURSES) or wrefresh(3XCURSES) for the window. The current background character (and attributes) is used to clear the screen. PARAMETERS
win Is a pointer to the window that is to be cleared. ERRORS
OK Successful completion. ERR An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
bkgdset(3XCURSES), clearok(3XCURSES), clrtobot(3XCURSES), clrtoeol(3XCURSES), doupdate(3XCURSES), libcurses(3XCURSES), refresh(3XCURSES), wrefresh(3XCURSES), attributes(5), standards(5) SunOS 5.11 5 Jun 2002 clear(3XCURSES)
All times are GMT -4. The time now is 08:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy