diskowner man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

diskowner(1M)							 diskowner(1M)

NAME
       diskowner - retrieve the owner of a storage device

SYNOPSIS
       path

DESCRIPTION
       The  command  is used to retrieve the subsystem, if any, which is using
       the specified path.  The command is intended to help prevent users from
       overwriting storage that is already in use.  The command will print out
       the owner of the path, or if no owner was found.	 A storage  device  is
       considered  owned  by a subsystem if it has been formatted by that sub‐
       system.	For example, if a disk contains a VxFS filesystem, but is  not
       mounted or in use, it is still considered owned by the VxFS subsystem.

       If the path specified is invalid or inaccessible, an error message will
       be printed.

   Options and Arguments
       The command recognizes the following options and arguments:

       path	 The path name to the storage device.  The path may be a  sym‐
		 bolic link, as long as it points to a storage device, such as
		 a file, disk, or logical volume.

       List all the owners of the specified path, separated by commas

       Produce a compact output that is easily parsed by other scripts and
		 programs.  When used with option,  displays  all  the	owners
		 separated  by	dots  This  format is described in the section
		 below.

   Output from diskowner
       displays the following possible output:

       owner	 The owner of the given path.  owner can be one of the follow‐
		 ing:
		 The path is not owned by any known subsystem.
		 The path is part of an LVM volume group.
		 The path is part of a VxVM volume group.
		 The path has a VxFS filesystem on it.
		 The path has a HFS filesystem on it.
		 The path is being used as a swap device.
		 The path is being used as a dump device.
		 The path is part of an Oracle database.
		 The  path is a part of Oracle Clusterware and has OCR (Oracle
		 Cluster Registry) file on it.
		 The path is a part of Oracle Clusterware and has Voting  disk
		 on it.
		 The path has EFI partitions on it.
		 The path has EFI boot information on it.
		 The path is a HP Service partition.

		 NOTE:	If  the	 path specified has any filesystems other than
		 VxFS and HFS on it, displays that  particular	filesystem  as
		 the  owner  of	 the given path.  For example, if a given path
		 has CDFS filesystem on it, then the owner of the  given  path
		 will be

       message	 An  error message displayed when the given path is invalid or
		 inaccessible.

   Compact Listing
       The option generates a compact, colon delimited listing that is easy to
       parse.  The output format is:

       and so forth.

       The option, when used with the option, produces this output format:

       and so forth.

       The current command prints out the keys and values listed below. In the
       future, new keys and/or values may be added to the output.

       or
       or
       where

       path	 is the pathname passed as argument

       owner	 is the owner of the given path

       message	 is an error message when given path is invalid or  inaccessi‐
		 ble.

       n	 is number of owners of the given path

EXTERNAL INFLUENCES
   Environment Variables
       determines the language in which messages are displayed.

       If is not specified or is null, it defaults to "C" (see lang(5)).

       If  any	internationalization variable contains an invalid setting, all
       internationalization variables default to "C" (see environ(5)).

RETURN VALUE
       Upon completion, returns one of the following values:
	      The path is not owned (the owner is
	      The path is already owned by a subsystem.
	      The path does not exist.
	      Invalid options or library version incompatible.
	      The path cannot be opened due to an I/O error.
	      The path cannot be opened due to insufficient permissions.
	      The path format is invalid.

EXAMPLES
       Display the owner of a disk path:

       Display the owner of a logical volume in compact output:

       Display all the owners of a disk path:

       Display all the owners of a logical volume in compact output:

SEE ALSO
       crashconf(1M), df(1M), swapinfo(1M), vgdisplay(1M), vxvmboot(1M), vxas‐
       sist(1M), efi_ls(1M), fstab(4).

								 diskowner(1M)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net