Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory umount(ing) LVM ext3 partition problem Post 302148312 by Tahir Saleh on Saturday 1st of December 2007 12:16:44 AM
Old 12-01-2007
Quote:
Originally Posted by grial
what about fuser without "-k"? Does it show any process?
yes "fuser /mnt" shows the process ID=3251.

and "ps -ax" reveals
Code:
 PID TTY      STAT   TIME COMMAND
 3251 ?        S      0:00 /usr/libexec/gam_server

i dont know how to approach this problem can anyon guide me with this.

Last edited by Yogesh Sawant; 03-01-2011 at 06:16 AM.. Reason: added code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Deleting an Ext3 partition...

I'm trying to delete my red hat partitions so I can restructure my computer's hard drive. I want to delete the Boot, /, and Swapspace partitions so I can rearrange my drive and install some other systems. In partition magic when I attempt to delete the Ext3 partitions, it reads as not being able to... (4 Replies)
Discussion started by: djtrippin
4 Replies

2. Filesystems, Disks and Memory

Problem with ext3 partition

I accidentally deleted one of my ext3 partitions from Windows XP. However, since I did not make new partitions over it, or format that area, I guess my data is safe. So I made a new partition with the same cylinder boundary values using fdisk (in Linux). But I cannot access my old data on that... (3 Replies)
Discussion started by: digjam
3 Replies

3. Filesystems, Disks and Memory

Recovery of formatted ext3 partition

Hi! I have a really big problem right now. I (accidently) formatted a ext3 partition with "mkfs.ext3 /dev/sda1". The problem is that I REALLY need some files from there. The partition had a size of about 4GB, after accidently formatting it, I accidently rewrote Grub on it :wall: I hope I didn't... (3 Replies)
Discussion started by: al0x
3 Replies

4. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

5. Red Hat

Removing encrypted lvm partition

Hi guys, let me start by saying I appreciate your assistance always. I was practicing how to encrypt partitions in my server. I encrypted an lvm partition using luks and when I tried to remove the partition using lvremove, I get this message Logical volume vg10/lvol1 is used by another... (2 Replies)
Discussion started by: cjashu
2 Replies

6. Red Hat

Expand EXT3 filesystem ( No LVM)

hi, In my production server having Enterprise Linux Enterprise Linux Server release 5.5 (Carthage) Red Hat Enterprise Linux Server release 5.5 (Tikanga) we have a filesystem of 197 gb (Type ext 3) Hadisk in which this filesystem reside is sdb is of 217 gb. (NO LVM) Now I want to... (6 Replies)
Discussion started by: salmanraza
6 Replies

7. Red Hat

Linux partition with LVM

Hi, I need a suggesstion i have 2 disk if i installed OS / root partition by making Lvm in one disk and data in other disk also with the lvm, means 2 different lvms. Is making LVM partition for OS disk will the performacne will be good? Can i make 2 different lvm one is for OS and other for... (1 Reply)
Discussion started by: Rahulne25
1 Replies

8. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

9. Red Hat

LVM based partition

Hi , Background : I am installing the KVM based RHEL OS VM on one of the HP pro-line physical server. Issue: While doing custom layout partition, i want to create partition lvm based , for example :lv_root. But problem is that, whenever i am creating the partition, its showing /sda1... (2 Replies)
Discussion started by: Nats
2 Replies

10. Red Hat

Converting Standart partition to LVM

is possible to convert standard partition ext4 to LVM with preserving data? is yes then how? OS is Linux 5 / 6 (1 Reply)
Discussion started by: manoj.solaris
1 Replies
fuser(8)						      System Manager's Manual							  fuser(8)

NAME
fuser - Lists process IDs of processes that are using one or more files or file structures SYNOPSIS
/usr/sbin/fuser [-cfu] file ... [Tru64 UNIX] The following format shows extensions not included in the XCU specification for this utility: /usr/sbin/fuser [-cdfku] [-h] [-vH] file ... STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: fuser: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. FLAGS
Identifies file as a mount point. In this case, fuser reports on any files that are open in the mounted file system. Report any refer- enced files that have been deleted including the referencing PID and the block count for the file in 512 byte block units. Requests a report only for the specified files. If a specified file is a mount point, fuser reports only on that file, not on any files below it. [Tru64 UNIX] Suppresses column headings in fuser output when used with the -v flag. [Tru64 UNIX] Directs fuser to display information about its command-line options. [Tru64 UNIX] Directs fuser to send a SIGKILL signal to each process. Because this flag spawns a kill operation for each process, the kill messages may not show up immediately. Directs fuser to show the user login name, in parentheses, associated with each process ID. [Tru64 UNIX] Directs fuser to display results in verbose form. PARAMETERS
[Tru64 UNIX] Directs fuser to ignore previous flag settings for the next set of file parameters. The - operand allows you to apply differ- ent flags to different sets of files in the same command line. Specifies the pathname of the file or the mount point of the file system on which fuser reports. DESCRIPTION
The fuser utility writes to standard output the process IDs of processes that are running on the local system and have one or more files or file structures in use. The utility writes to standard error additional information about these resources that indicates how each resource is being used. If file identifies a block special device, fuser lists all processes using any file on that device. This utility does not display information about files for which you do not have the appropriate privileges. For information on many files, root privilege may be required. Furthermore, you must have appropriate privileges to use the -k flag. The utility uses the following format to write the process ID for each process using each file: "%d", process_id The fuser utility writes diagnostic messages to standard error. In addition, the utility writes the following information to standard error: The pathname of each file, immediately followed by a colon. For each process ID written to standard output, one of the following characters: If the process is using the file as its current directory. [Tru64 UNIX] If the process is using a memory-mapped file. [Tru64 UNIX] If the process is using the file as the parent of its current directory. If the process is using the file as its root directory. [Tru64 UNIX] If the process has the file open. [Tru64 UNIX] If the process is using the file as its controlling tty. [Tru64 UNIX] If the process is using the text file as an executable. If you specify the -u flag, characters indicating the use of the file are followed immediately by the user name, in parentheses, that corresponds to the process's real user ID. If the user name cannot be resolved from the process's real user ID, the process's real user ID is written instead of the user name. When standard output and standard error are directed to the same file, the utility intersperses output so that the file appears at the start of each line, followed by the process ID and the characters indicating file use. Then, if the -u option is specified, the utility writes the user name or user ID for each process that is using that file. The utility writes a newline character at the end of output for each file. ENVIRONMENT VARIABLES
The following environment variables affect this utility: Provides a default value for the locale variables that are unset or null. If LANG is unset or null, the corresponding value from the POSIX (C) locale is used. If any of the locale variables contain an invalid setting, the utility behaves as if none of the variables had been set. If set to a non-empty string value, overrides the values of all the other locale variables. Specifies the locale used to interpret sequences of bytes of text data as characters (for example, determines whether arguments contain single-byte or multibyte characters). Specifies the locale that affects the format and contents of diagnostic messages written to standard error. Determines the location of message catalogs for the processing of LC_MESSAGES. NOTES
[Tru64 UNIX] The fuser utility may not report on processes that begin using a file while the utility is running. Furthermore, processes that fuser reports are using a file may have stopped using it while the utility was running. EXAMPLES
The following command lists the process IDs of processes using the /etc/hosts file: fuser /etc/hosts The following command writes to standard output the process IDs of processes that are using the current directory. The command writes to standard error an indication of how those processes are using the directory and the user names associated with those processes. fuser -fu . EXIT VALUES
The fuser utility returns the following exit values: Successful completion. An error occurred. RELATED INFORMATION
Functions: fuser(2), kill(2) delim off fuser(8)
All times are GMT -4. The time now is 01:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy