Sponsored Content
Full Discussion: Do i create a new lv ?
Operating Systems AIX Do i create a new lv ? Post 302799155 by aix_admin_007 on Thursday 25th of April 2013 10:04:23 PM
Old 04-25-2013
Do i create a new lv ?

Currently directory /home/apps/fs_1 on both servers A and B is mounted on /dev/hd1.
I am assuming it should have separate filesystem, with its own lv as fs_1_lv to which /home/apps/fs_1 should be mounted, am I correct ?
For Example:
Code:
Server A:
Filesystem     GB blocks      Free %Used    Iused %Iused Mounted on
/dev/fs_2_lv         5.00      4.98    1%       82     1%    /home/apps/fs_2
Server B:
Filesystem     GB blocks      Free %Used    Iused %Iused Mounted on
/dev/fs_2_lv         5.00      4.99    1%       29     1%    /home/apps/fs_2


Last edited by vbe; 04-26-2013 at 10:56 AM..
 

10 More Discussions You Might Find Interesting

1. IP Networking

How to create new a/c that ...

how to create a new a/c and use it for webhosting such as my domain is blah.com and i wanan host blah.com on that a/c :) (1 Reply)
Discussion started by: irwan
1 Replies

2. UNIX Desktop Questions & Answers

How do I create desktop icons for the shell programs I create???

I am a bash shell programmer and I create programs on occasional basis. Now, I dont want my programs to be run by typing out its name at a command line. I want to make it as user friendly as possible. I want to create icons on the desktop so users can click on it. mind you, I said "desktop... (7 Replies)
Discussion started by: TRUEST
7 Replies

3. Solaris

Create a fs

hello sorry but i'm beginning with solaris (i use Aix) How can I create a new filesystem with solaris 9 ? (and define the size ). I find newfs and mkfs but i don't know how use it Thank you (3 Replies)
Discussion started by: pascalbout
3 Replies

4. UNIX for Dummies Questions & Answers

Create Icon

Dear Gurus, I have a question. I have juz created an icon for my user. When I try to run the application (ie double-click) there are nothing being activated. This is the content of the TEST_APP.dt ACTION TEST_APP { LABEL TEST_APP TYPE COMMAND ... (0 Replies)
Discussion started by: lweegp
0 Replies

5. Shell Programming and Scripting

cannot create

i am creating a shell script to generate a file format. i want to register each and every activity in the log file. here are the commands which i have given, Don't know why i am getting error. v_log_loc="$APPLCSF/log"; export v_log_loc v_logfile=${p_po_requestid}_LOG; export v_logfile ... (4 Replies)
Discussion started by: aindurkhya
4 Replies

6. Solaris

how to create

Hi, I am new to solaris10. I want to add a user without prompting for any password, while logging to his machine Can someone tell me how to do that??? Thiru (2 Replies)
Discussion started by: tirupathiraju_t
2 Replies

7. Red Hat

how to create a Filesystem

Hi everybody, I work with UNIX-AIX OS, I have to install db2 connect , somebody could explain to me how to create a Filesystem?, user, group, and password? ( I read a little and I know there many types of Filesystems) I have no idea how to do it, Linux version 2.6.18-92.el5... (2 Replies)
Discussion started by: lauelmar
2 Replies

8. Homework & Coursework Questions

Create script to add user and create directory

first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies

9. Emergency UNIX and Linux Support

How to create user?

Hi, Quick question. How to create user in Unix after they login at the first time then they need to change password. Thanks in Advance :):) (5 Replies)
Discussion started by: justbow
5 Replies

10. Shell Programming and Scripting

awk to create variables to pass into a bash loop to create a download link

I have created one file that contains all the necessary info in it to create a download link. In each of the lines /results/analysis/output/Home/Auto_user_S5-00580-6-Medexome_67_032/plugin_out/FileExporter_out.67... (8 Replies)
Discussion started by: cmccabe
8 Replies
Commands Reference, Volume 2, d - h

fuser_Command

  Purpose

   Identifies processes using a file or file structure.

  Syntax

   fuser [ -c | -d | -f ] [ -k | -K { SignalNumber |
   SignalName }] [ -u ] [ -x ] [ -V ]File ...

  Description

   The fuser command lists the process numbers of local processes
that use
   the local or remote files specified by the File parameter. For
block
   special  devices, the command lists the processes that use any
file on that
   device.

   Each process number is followed by a letter indicating how the
process
   uses the file:

   c	   Uses the file as the current directory.
   e	   Uses the file as a program's executable object.
   r	   Uses the file as the root directory.
   s	    Uses  the file as a shared library (or other loadable
object).

   The process numbers are written to standard output in  a  line
with spaces
   between  process  numbers.  A new line character is written to
standard error
   after the last output for each file operand. All other  output
is written
   to standard error.

   The fuser command will not detect processes that have mmap re-
gions where
   that associated file descriptor has since been closed.

  Flags

   -c		     Reports on any open files in the file system
containing
		     File.
		     Implies  the use of the -c and -x flags. Re-
ports on any
		     open files which have been unlinked from the
file system
   -d		      (deleted	from  the parent directory). When
used in
		     conjunction with the -V flag,  it	also  re-
ports the inode
		     number and size of the deleted file.
   -f		     Reports on open instances of File only.
		     Sends  the  specified  signal  to each local
process. Only
   -K SignalNumber | the root user can kill a process of  another
user. Signal
   SignalName	      can  be  specified as either a signal name,
such as -9 or
		     KILL for the SIGKILL  signal.  Valid  values
for SignalName
		     are those which are displayed by the kill -l
command.
		     Sends  the  SIGKILL  signal  to  each  local
process. Only the
		     root  user can kill a process of another us-
er.
   -k		     Note:
		     fuser -k or -K might not be able  to  detect
and kill new
		     processes that are created immediately after
the program
		     starts to run.
   -u		     Provides the login name for local	processes
in
		     parentheses after the process number.
   -V		     Provides verbose output.
		     Used  in  conjunction with -c or -f, reports
on executable
   -x		     and loadable  objects  in	addition  to  the
standard fuser
		     output.

  Examples

    1.	To  list the process numbers of local processes using the
/etc/passwd
       file, enter:

	 fuser /etc/passwd

    2. To list the process numbers and user login names  of  pro-
cesses using
       the /etc/filesystems file, enter:

	 fuser -u /etc/filesystems

    3.	To terminate all of the processes using a given file sys-
tem, enter:

	 fuser -k -x -u -c /dev/hd1

       or

	 fuser -kxuc /home

       Either command lists the process number and user name, and
then
       terminates each process that is using the /dev/hd1 (/home)
file
       system. Only the root user can  terminate  processes  that
belong to
       another	user.  You  might want to use this command if you
are trying to
       unmount the /dev/hd1 file system and a process that is ac-
cessing the
       /dev/hd1 file system prevents this.

    4. To list all processes that are using a file which has been
deleted
       from a given file system, enter:

	 fuser -d /usr

  Files

   /dev/kmem		      Used for the system image.
   /dev/mem		      Also used for the system image.

  Related Information

   The kill command, killall command, mount command, and ps
   command.

   For more information about the identification and  authentica-
tion of users,
   discretionary  access control, the trusted computing base, and
auditing,
   refer to Security.

________________________________________________________________________________

		      Commands Reference, Volume 2, d - h

fuser_Command

  Purpose

   Identifies processes using a file or file structure.

  Syntax

   fuser [ -c | -d | -f ] [ -k | -K { SignalNumber |
   SignalName }] [ -u ] [ -x ] [ -V ]File ...

  Description

   The fuser command lists the process numbers of local processes
that use
   the local or remote files specified by the File parameter. For
block
   special  devices, the command lists the processes that use any
file on that
   device.

   Each process number is followed by a letter indicating how the
process
   uses the file:

   c	   Uses the file as the current directory.
   e	   Uses the file as a program's executable object.
   r	   Uses the file as the root directory.
   s	    Uses  the file as a shared library (or other loadable
object).

   The process numbers are written to standard output in  a  line
with spaces
   between  process  numbers.  A new line character is written to
standard error
   after the last output for each file operand. All other  output
is written
   to standard error.

   The fuser command will not detect processes that have mmap re-
gions where
   that associated file descriptor has since been closed.

  Flags

   -c		     Reports on any open files in the file system
containing
		     File.
		     Implies  the use of the -c and -x flags. Re-
ports on any
		     open files which have been unlinked from the
file system
   -d		      (deleted	from  the parent directory). When
used in
		     conjunction with the -V flag,  it	also  re-
ports the inode
		     number and size of the deleted file.
   -f		     Reports on open instances of File only.
		     Sends  the  specified  signal  to each local
process. Only
   -K SignalNumber | the root user can kill a process of  another
user. Signal
   SignalName	      can  be  specified as either a signal name,
such as -9 or
		     KILL for the SIGKILL  signal.  Valid  values
for SignalName
		     are those which are displayed by the kill -l
command.
		     Sends  the  SIGKILL  signal  to  each  local
process. Only the
		     root  user can kill a process of another us-
er.
   -k		     Note:
		     fuser -k or -K might not be able  to  detect
and kill new
		     processes that are created immediately after
the program
		     starts to run.
   -u		     Provides the login name for local	processes
in
		     parentheses after the process number.
   -V		     Provides verbose output.
		     Used  in  conjunction with -c or -f, reports
on executable
   -x		     and loadable  objects  in	addition  to  the
standard fuser
		     output.

  Examples

    1.	To  list the process numbers of local processes using the
/etc/passwd
       file, enter:

	 fuser /etc/passwd

    2. To list the process numbers and user login names  of  pro-
cesses using
       the /etc/filesystems file, enter:

	 fuser -u /etc/filesystems

    3.	To terminate all of the processes using a given file sys-
tem, enter:

	 fuser -k -x -u -c /dev/hd1

       or

	 fuser -kxuc /home

       Either command lists the process number and user name, and
then
       terminates each process that is using the /dev/hd1 (/home)
file
       system. Only the root user can  terminate  processes  that
belong to
       another	user.  You  might want to use this command if you
are trying to
       unmount the /dev/hd1 file system and a process that is ac-
cessing the
       /dev/hd1 file system prevents this.

    4. To list all processes that are using a file which has been
deleted
       from a given file system, enter:

	 fuser -d /usr

  Files

   /dev/kmem		      Used for the system image.
   /dev/mem		      Also used for the system image.

  Related Information

   The kill command, killall command, mount command, and ps
   command.

   For more information about the identification and  authentica-
tion of users,
   discretionary  access control, the trusted computing base, and
auditing,
   refer to Security.
All times are GMT -4. The time now is 03:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy