04-18-2015
/dev/dm-? owner changed.
After reboot of redhat 6 server , the owner of /dev/dm-? changed, causing the oracle disk group to show insufficient no of disk. how to identify which dm-? owner is changed.?
10 More Discussions You Might Find Interesting
1. Solaris
Hi Folks,
I know that changing users and groups is pretty basic admin, but this one has got me stumped. When I try to change the group of a file for which I am the owner for, it still gives me a 'Not owner' error.
For example, when I am logged in as 'webadmin', I have the following file:
... (4 Replies)
Discussion started by: brizrobbo
4 Replies
2. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
3. UNIX for Advanced & Expert Users
Hi all,
We have some files are under 744 permissions and the the owner is say owner1 and group1.
Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that.
... (14 Replies)
Discussion started by: TheGunMan
14 Replies
4. HP-UX
HI all,
We had created new user using the command useradd -d /home/selva -s /usr/local/bin/bash selva. But it didnt created the home directory on /home. So i manually created, copied skel files manually and changed the owner from root to selva. At the same time i observed that so many files... (6 Replies)
Discussion started by: selvaforum
6 Replies
5. Solaris
i need to do the following operations in solaris 10:
1.change owner and group owner for files which are not owned by the current user and user group
2.to can delete files in the /tmp directory which are not of the current user
3. allow to a standard user the deletion of files in the /tmp... (1 Reply)
Discussion started by: sirmark
1 Replies
6. Shell Programming and Scripting
Hi All,
I have to work in the late nights some times for server maintenance and in a hurry to complete I am accidentally changing ownership or permission of directories :(
which have similar names ( /var in root and var of some other directory ).:confused:
Can some one suggest me with the... (1 Reply)
Discussion started by: shiek.kaleem
1 Replies
7. Solaris
So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies
8. AIX
Hello AIXians,
I can't boot my AIX, it hangs and stops at the code error: 0518
After searching google, I knew the problem is due to problems in File Systems.
So the solution is booting from any bootable media, then run these commands in maintenance mode:
#fsck -y /dev/hd4
#fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies
9. Shell Programming and Scripting
Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc
How would I parse the below information and initialize variables
(an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions?
Something along the lines of:
sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies
10. Red Hat
Hi,
Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies
LEARN ABOUT HPUX
diskowner
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 subsystem. 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 symbolic 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, seperated by commas
Produce a compact output that is easily parsed by other scripts and
programs. When used with option, displays all the owners seperated 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 following:
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 has EFI partitions on it.
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 inaccessible.
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), vxassist(1M), fstab(4).
diskowner(1M)