Sponsored Content
Full Discussion: Close broken lv ?
Operating Systems AIX Close broken lv ? Post 303016672 by vilius on Wednesday 2nd of May 2018 02:30:43 AM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
umount(3)						     Library Functions Manual							 umount(3)

NAME
umount - Unmounts a file system LIBRARY
System V Compatibility Library (libsys5.a) SYNOPSIS
#include <sys/mount.h> int umount( char *spec ); PARAMETERS
spec Points to the pathname of the special file or file system to be unmounted. DESCRIPTION
The umount() function unmounts a previously-mounted file system contained on the block special file pointed to by the spec parameter. When the file system is unmounted, the directory mount point where the file system was mounted returns to its normal interpretation. The umount() function can only be invoked by the superuser. NOTES
Two umount() functions are supported by the Tru64 UNIX operating system: the BSD umount() and the System V umount(). The default umount() function is the BSD umount(). To use the version of umount() documented on this reference page, you must link with the libsys5 library before you link with libc. RETURN VALUE
The umount() function returns 0 (zero) if the file system was successfully unmounted. Otherwise, -1 is returned and errno is set to indi- cate the error. ERRORS
If the umount() function fails, errno may be set to one of the following values: [EPERM] The effective user ID of the calling process is not root. [ENOENT] The spec parameter points to a pathname that does not exist. [ENOTDIR] A component of the path prefix of spec is not a directory. [ENOTBLK] The device identified by spec is not a block-special device. [ENXIO] The device identified by spec does not exist. [EBUSY] A file on the device pointed to by the spec parameter is busy. [EINVAL] The device pointed to by the spec parameter is not mounted. RELATED INFORMATION
Commands: mount(8) delim off umount(3)
All times are GMT -4. The time now is 01:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy