11-02-2012
Thank you guys,
i'll try to describe in a better way my situation..
I have my DB and other applications under /app that is mounted under root pool.
I wonder if there exists a way to migrate /app under different pool (maybe under one mounted on a secondary HD, i have already one pool of that kind!), or to stop /app increasing and stealing space from ROOT. Now i have about 1GB left on root!
hergp, the solution you have given to me is the second one, rigth?
Is there another way to add more space only for /app or for root pool by using the secondary disk for example?
thanks
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When I try to use the CLI mail, I get the following error. What's wrong?
Welcome to Darwin!
% mail root
Subject: test
test
.
EOT
% /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory
Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
2. Programming
Hello All -
We have a legacy C program running non stop on one of our servers, with several instances often running at once. Fairly regularly, one of the instances while stop outputting to the log file and will just deadlock/hang. They must be then 'kill'ed by myself.
When I gdb into one of... (3 Replies)
Discussion started by: markanderson
3 Replies
3. UNIX for Advanced & Expert Users
I'm not sure if this is the right place to post this, but here it is. We have a nightly process that runs on an HP-UX box to stop our application and backend database servers, unmount their SAN hosted file systems, and then snapshot the SAN LUNs for backup and refresh of data on "report" and... (1 Reply)
Discussion started by: deckard
1 Replies
4. Red Hat
Hi All,
I got this userid apache with the same userid and groupid and /sbin/nologin and the /www/a home folder is empty.
Can I just delete this userid? How can I investigate if userid have something to do with the application?
Thanks for any comment you may add. (1 Reply)
Discussion started by: itik
1 Replies
5. Solaris
trying to run IPERF and i've downloaded and installed and screwed around with my path to get compilers and such available...
log in as myself, go to /iperf-2.0.4
switch to su
run ./configure
seems to go fine, couple of no's but based on previous runs it seems to be ok...
do make
it goes... (3 Replies)
Discussion started by: jrich523
3 Replies
6. Programming
With a little bit of work, was able to build a nice "Wuhan Coronavirus Status" app using MQTT and the IoT-OnOff app. More on this technique here:
ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages
The result turned out nice, I think. I like the look and... (10 Replies)
Discussion started by: Neo
10 Replies
LEARN ABOUT DEBIAN
dpm_addpool
DPM_ADDPOOL(3) DPM Library Functions DPM_ADDPOOL(3)
NAME
dpm_addpool - define a new disk pool
SYNOPSIS
#include <sys/types.h>
#include "dpm_api.h"
int dpm_addpool (struct dpm_pool *dpm_pool)
DESCRIPTION
dpm_addpool defines a new disk pool.
dpm_pool
contains the pool definition.
struct dpm_pool {
char poolname[CA_MAXPOOLNAMELEN+1];
u_signed64 defsize;
int gc_start_thresh;
int gc_stop_thresh;
int def_lifetime;
int defpintime;
int max_lifetime;
int maxpintime;
char fss_policy[CA_MAXPOLICYLEN+1];
char gc_policy[CA_MAXPOLICYLEN+1];
char mig_policy[CA_MAXPOLICYLEN+1];
char rs_policy[CA_MAXPOLICYLEN+1];
int nbgids;
gid_t *gids;
char ret_policy;
char s_type;
u_signed64 capacity;
u_signed64 free;
int nbelem;
};
poolname
specifies the disk pool name.
defsize
specifies the default amount of space reserved for a file (in bytes).
gc_start_thresh
specifies the minimum free space in the pool. If the percentage of free space goes below this value, the garbage collector is
started. Default is 0.
gc_stop_thresh
specifies the percentage of free space in the pool above which the garbage collector is stopped. Default is 0.
def_lifetime
specifies the default time a space or volatile file is kept in the system (in seconds).
defpintime
specifies the default time a file is kept on a given disk (in seconds).
max_lifetime
specifies the maximum time a space or volatile file is kept in the system (in seconds).
maxpintime
specifies the maximum time a file is kept on a given disk (in seconds).
nbgids is the size of the array of group ids gids.
gids The disk pool is restricted to this set of gids unless the group gid is zero.
ret_policy
specifies the retention policy supported by the disk pool. It can be R (for Replica), O (for Output) or C (for Custodial).
s_type indicates the type of space supported in the disk pool. It can be V (for Volatile), D (for Durable), P (for Permanent) or - (to
accept any type).
This function requires ADMIN privilege.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
EACCES The caller does not have ADMIN privilege.
EFAULT dpm_pool is a NULL pointer.
EEXIST This pool exists already.
ENOMEM Memory could not be allocated for storing the pool definition.
EINVAL The length of poolname exceeds CA_MAXPOOLNAMELEN or the number of gids is too big.
SENOSHOST Host unknown.
SEINTERNAL Database error.
SECOMERR Communication error.
LCG
$Date: 2011-05-23 14:22:57 +0200 (Mon, 23 May 2011) $ DPM_ADDPOOL(3)