Close broken lv ?


 
Thread Tools Search this Thread
Operating Systems AIX Close broken lv ?
# 1  
Old 05-02-2018
Close broken lv ?

Hello,

Due to disk failure I lost certain lv.
Before running reducevg I'm trying to remove lv by using rmlv:
Code:
0516-1008 rmlv: Logical volume xxx must be closed.  If the logical volume
        contains a filesystem, the umount command will close the LV device.

lv is still open:
Code:
# lslv xxx
LOGICAL VOLUME:     xxx              VOLUME GROUP:   rootvg
VG STATE:           active/complete        LV STATE:       opened/syncd

I cannot use umount to close this lv since disk is gone and lv is no longer mounted.

How do I close this lv without using umount ?
I don't want to reboot if possible.

Thanks,
Vilius M.
# 2  
Old 05-02-2018
Would this be sysdumpdev or something like that?

I think what I had to do was to add a new dump device on the other mirror then drop the old one. I was then able to do a bit more. If the disk (say hdisk0) has gone, you may have to do something like:
Code:
reducevg -d rootvg hdisk0

Sadly I haven't got the manual pages available any more given I've lost my last AIX server. Have a good read of that page, because getting it wrong could cause bad things to happen.

If it refuses, you might be into editing the ODM, which is a whole other discussion that i would not feel comfortable giving advice on.



I hope that these pointers help, but be careful. Perhaps you could post the output from:-
Code:
lsvg -l rootvg
lspv -v rootvg

If you have replaced the disk and rebuilt the mirrors, have you created the boot block on the new disk and adjusted the boot list? It doesn't happen automatically.




Kind regadrs,
Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Please close the following threads:)

Hello Admin, The issue that i posted in the following threads has been resolved, https://www.unix.com/ubuntu/266128-how-access-website-without-port-ubuntu-14-04-a.html https://www.unix.com/red-hat/265635-error-while-extending-logicalvolume.html Kindly close the threads.Thanks:) (1 Reply)
Discussion started by: gull05
1 Replies

2. Post Here to Contact Site Administrators and Moderators

Please close this account

Hi admins and moderators! I would request you to please close this account as I will not be using it ever. Thank you all. Ravi Singh (1 Reply)
Discussion started by: Ravi Singh
1 Replies

3. Programming

Close browser

I just would like to have a javascript function ( for user logout ) which can close the browser that the user run this function , for example , if the user is using IE to click this function , then close ALL IE browser , is it possible ? if it can not be make , could the function close ALL opened... (2 Replies)
Discussion started by: ust3
2 Replies

4. Post Here to Contact Site Administrators and Moderators

Why close my ask?

Hello, Why close my ask "How to implement a semaphore with pedestrian pushbutton" i'm autodidact, so i don't understand why you dedice close it. I put the ask about Java (the language what i'm learning in spanish forum becouse my english is not good) but some body told me that this is the... (1 Reply)
Discussion started by: NewBe
1 Replies

5. Programming

when parent process close, how to close the child?

can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies

6. Post Here to Contact Site Administrators and Moderators

How to close account

Hi, I want to close my account and cannot find any relevant links in the user control panel or account preferences. Can someone point me in the right direction, or a moderator/admin close this account? Thanks. (1 Reply)
Discussion started by: glen.barber
1 Replies

7. Post Here to Contact Site Administrators and Moderators

How to close a topic?

No wonder that so few topics are closed. Looking for the fourth time as I do not find! (4 Replies)
Discussion started by: popescu1954
4 Replies

8. Forum Support Area for Unregistered Users & Account Problems

How to close a post

Hi, Pls let me know how i can close a thread if i already find answer to my question. Thanks, Am (1 Reply)
Discussion started by: am_yadav
1 Replies

9. UNIX and Linux Applications

any way to close socket

I have written a socker program. I have executed that program many times without closing the socket. So I want to find which all sockets binded with which file descriptor. Is there any way to close those socket, which have been opened in that program's execution. please help me!.. (3 Replies)
Discussion started by: pa.chidhambaram
3 Replies

10. HP-UX

Close Socket at HP-UX

Hi all, I have a HP-UX 11.23 that have a Server establishing connections on port 8888 . The problem is that when i need to stop and restart the Server, the connections mantain the same state and i need to wait about 20-30 minutes before all connections finishes. The connections remain at... (2 Replies)
Discussion started by: Renato Gregio
2 Replies
Login or Register to Ask a Question