Sponsored Content
Full Discussion: Mirrored disk.....
Operating Systems AIX Mirrored disk..... Post 93879 by aixteam on Friday 23rd of December 2005 01:11:51 AM
Old 12-23-2005
Quote:
Originally Posted by balaji_prk
How do I know, which all disks are mirrored? any command?

Bala
when u give lsvg -l rootvg u can find whether the FS is mirrored ....
lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 141 282 2 open/syncd N/A

then if u give lsvg -p rootvg ,it gives what r all the disk r belong to VG,
lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk1 active 542 1 00..00..00..00..01
hdisk2 active 542 1 00..00..00..00..01

still if u want to know more in which hdisk and which pv here is the command,conclusion that Hdisk2 is the mirror of hdisk1

lslv -m hd1
hd1:/home
LP PP1 PV1 PP2 PV2 PP3 PV3
0001 0041 hdisk1 0041 hdisk2
 

10 More Discussions You Might Find Interesting

1. HP-UX

Number of Disk Mirrored in HP-UX

In HP-UX 11.00 How can i check if there are disks mirrored (2 Replies)
Discussion started by: cgege
2 Replies

2. UNIX for Dummies Questions & Answers

Creating create mirrored disk files systems using mkfs command

What is the correct mkfs syntax to create mirrored disk files systems? I need to make the file system 20gb. For example: machine# mkfs -F ufs /dev/md/dsk/d40 size not specified ufs usage: mkfs special size(sectors) \ -m : dump fs cmd line used to make this partition -V : print this... (4 Replies)
Discussion started by: GLJ@USC
4 Replies

3. UNIX for Dummies Questions & Answers

Solaris 10 not booting with mirrored disk

Hi all, I have a V490 running with Solaris 10. The OS disk was mirrored. I wanted to break the mirror, boot with the secondary mirror, and re-mirror the OS with a new disk. This is what I did, detached the metadevices of the secondary mirror disk (disk 1) metaclear-ed the metadevices,... (1 Reply)
Discussion started by: nitinp82
1 Replies

4. Solaris

Remove os mirrored disk Solaris 10

Hello once again seeking your help, I have a mirrored disk and need to unmirror it to mount it as a new file system (/export) but could not find the correct steps to do it with out affecting the original disk. can anybody point me out on how to get this done. Thanks!! (3 Replies)
Discussion started by: AQG
3 Replies

5. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

6. Solaris

Are my disks mirrored ?

# metastat d1: Mirror Submirror 0: d11 State: Okay Submirror 1: d12 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 14582208 blocks (7.0 GB) d11: Submirror of d1 State: Okay Size: 14582208 blocks... (2 Replies)
Discussion started by: Exposure
2 Replies

7. Solaris

Boot from Mirrored disk

So I have mirrored disk already set up from c1t0d0 to c1t1d0. Is there some special procedures that I need to do before I do and then try to boot from the mirrored disk? I am using a V490 if that helps... (7 Replies)
Discussion started by: drew_1980
7 Replies

8. AIX

How to extend mirrored VG?

Hi all, I need to extend a lv, but unfortunately I do not have enough space on my mirrored Volume group. I've planned to add 2 more disks to this vg (for mirroring) But ... what's the next steps to extend my lv using these 2 disks with a valid mirroring ? 1. extendvg myvg disk1 disk2... (3 Replies)
Discussion started by: unclefab
3 Replies

9. Solaris

Need help replacing a mirrored boot disk

I have a v480 with a mirrored boot disk c1t0 and c1t1. The drives themselves don't show a failure but the mirror's need maintenance. This is my plan for replacing the drive. I would love feedback to point out what I"m missing or where my steps are incorrect. Two things I believe I'm... (3 Replies)
Discussion started by: pcoffey
3 Replies

10. Red Hat

Booting 2nd mirrored boot disk

Hi guys, thanks for helping out. If you have two boot disk mirrored and your primary boot disk fails, how will you boot the system from the second disk? Thank you very much for your assistance on this matter. Arrey (5 Replies)
Discussion started by: cjashu
5 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 02:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy