08-19-2011
Well, then you might want to ask your SysAdmin to execute this command for you.
9 More Discussions You Might Find Interesting
1. AIX
Hello!
Is there a C function or system call in AIX that can tell how much free memory
is in the system at a certain moment?
Also, I'd like to know if there are functions that can:
-find the number of processors in the system
-report the network interface activity.
Thank you very much in... (0 Replies)
Discussion started by: aldehida
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I try add a new file system:
#zfs create dsk1/mqm
it came back with:
#cannot create 'dsk1/mqm': no such pool 'dsk1'
what do I have to do?
Kind regards
Mehrdad (2 Replies)
Discussion started by: mehrdad68
2 Replies
3. Solaris
Hi All,
I am using this commands to dynamically increase ZFS swap space on Solaris
my question is:
1- after i make these commands it will permanent or it will remove after restart
2- how to make it permanent
# swap -l
swapfile dev swaplo bloques libre
/dev/zvol/dsk/rpool/swap... (4 Replies)
Discussion started by: osmanux
4 Replies
4. Solaris
Hi,
I have Solaris-10 (Update-7). This is having ZFS file-system and 10 sparse-root zones are there. I want to install Solaris-10 recommended patch cluster on it, but not sure, how to go ahead with procedure. I want to patch one side of the mirror and keep intact another side safe in case of... (6 Replies)
Discussion started by: solaris_1977
6 Replies
5. Emergency UNIX and Linux Support
Hi All,
I have Solaris-10 configured with two non-global zones. All file-systems are mounted on global zone and data file-systems are mounted on non-global zone as lofs.
I have added 4 luns of 100 GB each and still not able to extend a file-system. This is production server, so I can not... (5 Replies)
Discussion started by: solaris_1977
5 Replies
6. Solaris
Hi all
I want to know if suppose my global zone has UFS root file system & now I want to create non global zone with ZFS root file system. Is it possible.....If this is possible then how will I able to create zone based on ZFS root file system in global zone having UFS based root file system (5 Replies)
Discussion started by: sb200
5 Replies
7. Solaris
Hi Guys,
I want to take backup of a ZFS file system on tape drive.
Can anybody help me with this?
Thanks,
Pras (0 Replies)
Discussion started by: prashant2507198
0 Replies
8. Solaris
I have Solaris-10 server running ZFS file-system. ctdp04_vs03-pttmsp01 is one of the non global zone. I wanted to increase a /ttms/prod file-system of zone, which is actually /zone/ctdp04_vs03-pttmsp01/ttms/prod on global server.
I have added a new disk of 9 GB, which is emcpower56a and now I can... (16 Replies)
Discussion started by: solaris_1977
16 Replies
9. Solaris
Hi
I have the following file system, that needs to be expanded to more 500Gb, so a total of 1Tb:
df -h /oradata1
Filesystem Size Used Available Capacity Mounted on
oradata1 587G 517G 69G 89% /oradata1
I am not familiar with zfs, I am more... (17 Replies)
Discussion started by: fretagi
17 Replies
LEARN ABOUT LINUX
keyctl_chown
KEYCTL_CHOWN(3) Linux Key Management Calls KEYCTL_CHOWN(3)
NAME
keyctl_chown - Change the ownership of a key
SYNOPSIS
#include <keyutils.h>
long keyctl_chown(key_serial_t key, uid_t uid, gid_t gid);
DESCRIPTION
keyctl_chown() changes the user and group ownership details of a key.
A setting of -1 on either uid or gid will cause that setting to be ignored.
A process that does not have the SysAdmin capability may not change a key's UID or set the key's GID to a value that does not match the
process's GID or one of its group list.
The caller must have setattr permission on a key to be able change its ownership.
RETURN VALUE
On success keyctl_chown() returns 0 . On error, the value -1 will be returned and errno will have been set to an appropriate error.
ERRORS
ENOKEY The specied key does not exist.
EKEYEXPIRED
The specified key has expired.
EKEYREVOKED
The specified key has been revoked.
EDQUOT Changing the UID to the one specified would run that UID out of quota.
EACCES The key exists, but does not grant setattr permission to the calling process.
LINKING
This is a library function that can be found in libkeyutils. When linking, -lkeyutils should be specified to the linker.
SEE ALSO
keyctl(1),
add_key(2),
keyctl(2),
request_key(2),
keyctl_get_keyring_ID(3),
keyctl_join_session_keyring(3),
keyctl_update(3),
keyctl_revoke(3),
keyctl_setperm(3),
keyctl_describe(3),
keyctl_clear(3),
keyctl_link(3),
keyctl_unlink(3),
keyctl_search(3),
keyctl_read(3),
keyctl_instantiate(3),
keyctl_negate(3),
keyctl_set_reqkey_keyring(3),
keyctl_set_timeout(3),
keyctl_assume_authority(3),
keyctl_describe_alloc(3),
keyctl_read_alloc(3),
request-key(8)
Linux 4 May 2006 KEYCTL_CHOWN(3)