How's this partition table for my server?
How's this partition table for my server? Web/DNS/DHCP/Mail Server.
hdd1: ~8gb total
/boot - 100mb
swap - 1gb
/ - rest of drive
hdd2: ~155gb total
/var - whole drive
This is a Compaq ProLiant 5500 server with 10 drives. Will most things be installed inside /var or what?
Zetsumei wrote:Web/DNS/DHCP/Mail Server.
Web = /srv
DNS = /var
DHCP = /var
Mail = Depends which package you use. I use postfix and told it to use /srv
I would half your swap, reduce /var and put the extra space into /srv
Also create a separate /tmp and /home to prevent accidental or deliberate DoS attacks by filling your / partition
Here's what I use on my Web / DNS / FTP server:
Filesystem Size Used Avail Use% Mounted on
/dev/xvda 493M 176M 317M 36% /
/dev/xvdc 31M 674K 29M 3% /boot
/dev/lvmData-home 62M 26M 34M 44% /home
/dev/lvmData-usr 2.0G 848M 1.1G 45% /usr
/dev/lvmData-tmp 496M 20M 451M 5% /tmp
/dev/lvmData-srv 1.5G 769M 667M 54% /srv
/dev/lvmData-var 496M 231M 241M 49% /var
/dev/lvmData-pacman 384M 303M 82M 79% /var/cache/pacman
/dev/lvmData-backup 5.5G 4.6G 565M 90% /mnt/backup
Similar Messages
-
How do we populate the SIGN_POST table for routing server
Hi,
How do we populate the SIGN_POST table for routing server ? We having the Street data network... we have populated the NODE, EDGE and PARTITION tables from street data. Is there any procedure available for populating the SIGN_POST table from street data? ARE there any predefined methods available?
Thanks and Regards
AravindanThis data has to come from the data provider.
There are no procedures to populate this information, if this
data is not available for your data set.
For example, NAVSTREETS from NAVTEQ has this data as part
of their street network data.
siva -
Unrecognized partition table for drive 80 error??
Currently running leopard on a macbook pro.
Formatted w bootcamp and running Windows Vista Ultimate.
Installation went fine reformated drive to ntfs 45gigs.
But when booting into windows I get this error message
"unrecognized partition table for drive 80"
Then the system boots into vista as normal but that error message is annoying.
Tells me to fix bootmgr using fdisk. How do I do that?
Thanks.I previously had Vista installed under the beta with Tiger and there was no issues at all regarding boot times or error messages. (Boot times being quite nippy considering)
I did reformat the hard drive space partitioned in side Vista installation as NTFS. As I am only a switcher for a year or so I imagine there may be something I am missing but given the text when I try to boot into Vista, it looks to be the boot loader that is erroring and that looks the same as a GRUB loader failing.
I just do not get why a BETA product would work fine, then after a fresh installation of the new Mac OSX 10.5 with the final version of boot camp I would receive errors like this.
I have reclaimed the hard drive space and split the disk again but the same error persists. Previously I was showing off my Macbook to work mates showing how it handled Windows as well as the user friendly OSX. Now all I can show them is a 5 minute loading screen full of non booting Vista as they look at me like some kind of idiot. (Which depending on who you ask is possibly correct) -
How to create internal table for a structure in BSP
hi ,
I have created a Structure in BSP.I want to create an internal table for that Structure. But in my coding ie.
<% data: begin of itab_1 .
include type zuvendstr.
data:end of itab_1.
data wa_str like line of itab_1.
loop at itab_1 into wa_str. %>
<tr>
<td><%=wa_str-name%> </td>
<%endloop.%>
In this zuvendstr is Structure ,wa_str is workarea and itab_1 is an Internal table.But it is showinng an error that itab_1 is unknown.But we cannot define internal tables for an Structure in Page Attributes.So,please resolve how to create internal table for Structure in BSPSHi,
You can define itab_1 like this (assuming zuvendstr is a structure type):
DATA: itab_1 TYPE TABLE OF zuvendstr.
Regards,
Tanguy -
How to check with table for cursor..?
How to check with table for cursor..?
Here I have Table temp_final_plan
Here i want to update if already exit...below is the procedure....
CREATE OR REPLACE PROCEDURE spu_final_profit_plan
AS
-- Constant declarations
ln_errnum number := 0;
-- Variable declarations
ls_errmsg app_errors.err_msg%TYPE;
ls_appmsg app_errors.app_msg%TYPE;
ls_appid app_errors.app_id%TYPE;
-- Cursor declaration for final_update_el
CURSOR cur_final_update_el IS
select '910' ent,
'9127316' center,
post_acct,
sum(avg_mtd_01) sum_avg_mtd_01,
sum(avg_mtd_02) sum_avg_mtd_02,
sum(avg_ytd_01) sum_avg_ytd_01,
sum(avg_ytd_02) sum_avg_ytd_02
from mon_act_cypy
where rec_type = 'A'
and sum_flag = 'D'
and yr = '2008'
and substr(ctr_or_hier, 1, 2) = 'el'
and ent || sub_ent in
(select ent || sub_ent
from ent_ref
where roll_ent || roll_sub_ent = '999100')
group by post_acct
having sum(avg_mtd_01) <> 0
or sum(avg_mtd_02) <> 0
or sum(avg_ytd_01) <> 0
or sum(avg_ytd_02) <> 0;
-- Cursor declaration for final_update
CURSOR cur_final_update IS
select b.plan_ent b_plan_ent,
b.plan_ctr b_plan_ctr,
a.post_acct a_post_acct,
sum(a.avg_mtd_01) sum_avg_mtd_01,
sum(a.avg_mtd_02) sum_avg_mtd_02,
sum(a.avg_ytd_01) sum_ytd_mtd_01,
sum(a.avg_ytd_02) sum_ytd_mtd_02
from mon_act_cypy a,
plan_unit_tbl b
where a.ent || a.ctr_or_hier = b.ent || b.ctr_or_hier
and a.rec_type = 'A'
and a.sum_flag = 'D'
and a.yr = '2008'
and b.hier_tbl_num = '001'
and a.ent || a.sub_ent in
(select ent || sub_ent
from ent_ref
where roll_ent || roll_sub_ent = '999100')
group by b.plan_ent, b.plan_ctr, a.post_acct
having sum(a.avg_mtd_01) <> 0
or sum(a.avg_mtd_02) <> 0
or sum(a.avg_ytd_01) <> 0
or sum(a.avg_ytd_02) <> 0;
-- Begin the procedure body
BEGIN
-- Insert / Update final profit plan for final_update query using cursor
FOR rec_final_update_el IN cur_final_update_el
LOOP
EXIT WHEN rec_final_update_el%NOTFOUND;
IF rec_final_update_el. THEN
UPDATE temp_final_plan
SET sum_avg_mtd_01 = rec_final_update_el.sum_avg_mtd_01,
sum_avg_mtd_02 = rec_final_update_el.sum_avg_mtd_02,
sum_avg_ytd_01 = rec_final_update_el.sum_avg_ytd_01,
sum_avg_ytd_02 = rec_final_update_el.sum_avg_ytd_02,
WHERE ent = rec_final_update_el.ent
AND center = rec_final_update_el.center
AND post_acct = rec_final_update_el.post_acct;
ELSE
INSERT INTO temp_final_plan VALUES(rec_final_update_el.ent,
rec_final_update_el.center,
rec_final_update_el.post_acct,
rec_final_update_el.sum_avg_mtd_01,
rec_final_update_el.sum_avg_mtd_02,
rec_final_update_el.sum_avg_ytd_01,
rec_final_update_el.sum_avg_ytd_02);
END IF;
END LOOP;
-- Insert / Update final profit plan for final_update query using cursor
FOR rec_final_update IN cur_final_update
LOOP
EXIT WHEN rec_final_update%NOTFOUND;
IF rec_final_update. THEN
UPDATE temp_final_plan
SET sum_avg_mtd_01 = rec_final_update.sum_avg_mtd_01,
sum_avg_mtd_02 = rec_final_update.sum_avg_mtd_02,
sum_avg_ytd_01 = rec_final_update.sum_avg_ytd_01,
sum_avg_ytd_02 = rec_final_update.sum_avg_ytd_02,
WHERE ent = rec_final_update.b_plan_ent
AND center = rec_final_update.b_plan_ctr
AND post_acct = rec_final_update.a_post_acct;
ELSE
INSERT INTO temp_final_plan VALUES(rec_final_update.b_plan_ent,
rec_final_update.b_plan_ctr,
rec_final_update.a_post_acct,
rec_final_update.sum_avg_mtd_01,
rec_final_update.sum_avg_mtd_02,
rec_final_update.sum_avg_ytd_01,
rec_final_update.sum_avg_ytd_02);
END IF;
END LOOP;
-- EXCEPTION handling section
EXCEPTION
-- Fire OTHERS Exception case by default
WHEN OTHERS THEN
-- ROLL BACK Transaction, if any failure
ROLLBACK;
ln_errnum := SQLCODE;
ls_errmsg := SUBSTR(SQLERRM, 1, 100);
-- Log the ERRORS into APP_ERRORS table using SPU_LOG_ERRORS procedure
spu_log_errors(ln_errnum, ls_errmsg, ls_appid, ls_appmsg);
-- End of the stored procedure
END spu_final_profit_plan;
[\pre]I'm not sure what you mean by, 'How to check with table for cursor..?' but I'll offer a comment on your Code Snippet. I think you want to know how to check if a record exists so you know if you need to perform an INSERT or an UPDATE.
Here is a snippet of your code. I'll put my comments in "Comment" style in your code.
-- Insert / Update final profit plan for final_update query using cursor
FOR rec_final_update_el IN cur_final_update_el
LOOP
/* There is no need to test for %NOTFOUND since you are using Cursor FOR Loop!
** This construct automatically exits when the last record is processed. */
EXIT WHEN rec_final_update_el%NOTFOUND;
/* Is this where you would like to know how to Check if the record already exist??
** I asked this because, 'rec_final_update_el.' is not valid syntax. Are you looking for
** an Cursor Attribute or Method you can check here?
** I would suggest a Primary Key or Unique Index on ENT, CENTER, and POST_ACCT
** on the TEMP_FINAL_PLAN table. Then simply perform an INSERT and code an
** Exception to UPDATE when you get a DUP_VAL_ON_INDEX exception. Otherwise,
** you will need to simply run an Implicit or Explicit Cursor to test if the row exists and
** use this return value to determine if you should INSERT or UPDATE. */
IF rec_final_update_el. THEN
UPDATE temp_final_plan
SET sum_avg_mtd_01 = rec_final_update_el.sum_avg_mtd_01,
sum_avg_mtd_02 = rec_final_update_el.sum_avg_mtd_02,
sum_avg_ytd_01 = rec_final_update_el.sum_avg_ytd_01,
sum_avg_ytd_02 = rec_final_update_el.sum_avg_ytd_02,
WHERE ent = rec_final_update_el.ent
AND center = rec_final_update_el.center
AND post_acct = rec_final_update_el.post_acct;
ELSE
INSERT INTO temp_final_plan VALUES(rec_final_update_el.ent,
rec_final_update_el.center,
rec_final_update_el.post_acct,
rec_final_update_el.sum_avg_mtd_01,
rec_final_update_el.sum_avg_mtd_02,
rec_final_update_el.sum_avg_ytd_01,
rec_final_update_el.sum_avg_ytd_02);
END IF;
END LOOP;I hope I've answered your question, but if I haven't please provide more details so we can better understand your request.
Craig... -
Urgent: How to list all alias for a server throw DNS query?
Hi
Is there anyone know how to list all alias for a server by asking the network DNS. Is that possible?
It doesn't work with InetAddress it return a single result.
Best regardInetAddress will not get you the aliases, but you can certainly find all the different IP addresses for a specific host name using the getAllByName() method.
You won't be able to get the aliases since those IP addresses (assuming there are more than 1) will all be cached as mapping to the name you passed to the getAllByName() method and you can't clear the map cache until the JVM exits.
So your best hope is to get a list of IP's and either exit your app and restart with a new mode, or save them to a file for another app to read. -
How to know the tables for a datasource like 2lis_17_order
Hi,
How to know the tables for a data source like 2lis_17_order, i have checked in Extract structure of that data source, only fields are visible but how will i know that these fields are getting extracted from so and so tables?
pls respond. thanks in advanceHi,
Go to RSO2 at source system, Enter data source and click on display.
if its table based then you can see table name there it self.
if its view based then notedown the view name and go to SE11, provide view and click on display. see joined table names there.
Thanks -
Adobe Illustrator in out Terminal Server environment. How is the licensing work for Terminal Server installations?
You can find all forums here:
https://forums.adobe.com/welcome -
How to desighn a table for below logic
Hi all,
Could any body help me , how to design a table for below requirements
Ticketing Status
Departure Date/Time
Domestic Point of Sale
International Point of Sale
Yes
Outside of 24 hours
Immediate
Immediate
Yes
Inside of 24 hours
Immediate
Immediate
No
Outside of 24 hours
24 hours after Project review or 20 hours prior to departure, whichever is earlier
72 hours after Projectreview or 20 hours prior to departure, whichever is earlier
No
Inside of 24 hours
4 hours after Projectreview or 4 hours before departure, whichever is earlier; Immediate if within 4 hours
4 hours after Projectreview or 4 hours before departure, whichever is earlier; Immediate if within 4 hoursCREATE TABLE [dbo].[POS_Table](
[POSID] [int] IDENTITY(1,1) NOT NULL,
[Ticketing Status] [varchar](3) NULL,
[Departure Type] [varchar](7) NULL,
[Departure DateTime Hr] [int] NULL,
[POSType] [varchar](15) NULL,
[POSAfterProject Review Hr] [int] NULL,
[PriorToDeparture Hr] [int] NULL,
[Immediate Hr] [int] NULL,
CONSTRAINT [PK_POS_Table] PRIMARY KEY CLUSTERED
[POSID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
The rows will look like as below,
POSID
Ticketing Status
Departure Type
Departure DateTime Hr
POSType
POSAfterProject Review Hr
PriorToDeparture Hr
Immediate Hr
1
Yes
Outside
24
Domestic
0
0
0
2
Yes
Inside
24
Domestic
0
0
0
3
Yes
Outside
24
International
0
0
0
4
Yes
Inside
24
International
0
0
0
5
No
Outside
24
Domestic
24
20
0
6
No
Outside
24
International
72
20
0
7
No
Inside
24
Domestic
4
4
4
8
No
Inside
24
International
4
4
4
Regards, RSingh -
How to find an table for storing the employee salary
hi,
how to find an table for storing employee salary .. In which table those details are stored .. Please reply me.
regards,
kumarHi,
You can see the basic salary details from table -pa0008.If you can see the payroll data,then its not stored in transparent table.its in cluster.For viewing that,you can see through transaction code - pc_payresult.
Regards,
Manoj. -
How to find Related Tables for the Tcode given.
How to find Related Tables for the Tcode given. (master data)
Thanks in advance.Hi Sridhar,
Welcome to SDN.
The tables for a given transaction can be seen in the transaction SE80.
First goto SE93.
Give ur Tcode and find the program name.
Now goto SE80. select program in the first dropdown and give the program name in the second box. U can find the list of tables used.
One more way is : use ST05.
and One more is using FM 'get_tables'
Thanks,
Shailaja
Edited by: Shailaja on Jul 11, 2008 12:33 PM -
How to upload MYSQL tables to Linux server
I have been testing a PHP/MYSQL site on my own local apache
server, now am ready to upload to internet. My hosting company is
Papazilla.com which is an exact clone of GoDaddy.com.
I used the GoDaddy/Papazilla interface to create 3 tables
that my site needs.
Now I need to import records into the tables.
My tables were created on my computer using PHPmyAdmin. The
tables appear on my computer at this path:
C:\xampp\mysql\data\megazilladb
Each table has 3 files as listed here:
addurl.frm
addurl.myd
addurl.myi
cats.frm
cats.myd
cats.myi
sites.frm
sites.myd
sites.myi
I think the myd extension has the data, but I'm not sure.
GoDaddy/Papazilla says I can't just upload my complete
tables, I first have to create empty tables on their site, then
upload the data later.
I went to the GoDaddy/Papazilla interface and created 3 empty
tables named:
cats
sites
addurl
Then I went to the database management screen, selected the
IMPORT tab, and clicked the BROWSE button.
I browsed for the file "sites.myd"
Then I clicked GO
This brought up an error message:
#1064- You have an error in your SQL syntax, check the manual
that corresponds to your MySQL server version for the right syntax
to use near ||x|||www.classicboat.com|antique Boats For Sale? etc,
etc.
The data after the ||x||| above is the info in the first
field of the first record in the table.
The error message goes on to list the rest of the fields in
the record.
When I called Papazilla to get help, they said I can only use
the BROWSE button to upload files that end with the .SQL extension.
Why don't my files have that extension?
What can I try next to get the records uploaded into my
tables?
Thank you for your help.oO(lazybones2)
>I have been testing a PHP/MYSQL site on my own local
apache server, now am
>ready to upload to internet. My hosting company is
Papazilla.com which is an
>exact clone of GoDaddy.com.
>
> I used the GoDaddy/Papazilla interface to create 3
tables that my site needs.
>
> Now I need to import records into the tables.
>
> My tables were created on my computer using PHPmyAdmin.
The tables appear on
>my computer at this path:
> C:\xampp\mysql\data\megazilladb
In addition to David's reply - you should never touch the
data directory
of the DB directly. It's completely under the control of the
server. You
don't really know which data is stored where and how (it gets
even more
complicated with InnoDB tables for example) and actually you
don't have
to know that, because these directories are not meant for
user access.
So better think of the SQL server as a black box, keep your
hands off
its data directories and use SQL commands for all actions.
Micha -
How to import partitioned tables in different tablespace
Hi everyone,
I try to import the partitioned tables in different tablespace.
Consider the following situation:
I have a dump file which is created by using "Export" utility. Some data are in partitioned tables, some of them are in non-partitioned tables. Also, all tables are located in "MYTBS" tablesapce. I try to import all data from this dump file to another database. I didn't get error messages when importing the data from non-partitioned tables. However, I got error message when importing the data from partitioned tables. The error message is: tablespace 'MYTBS' does not exist.
I just want to how I can solve this problem other than create 'MYTBS' tablespace for my new database.
Thanks in advance.
AngelHi,
I got the following error message:
IMP-00017: following statement failed with ORACLE error 959:
"CREATE TABLE "FACILITYCONNECTION",....., "CONNECTIONTYPE" "
"NUMBER(1, 0) NOT NULL ENABLE) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 25"
"5 PARALLEL ( DEGREE DEFAULT INSTANCES 1) NOLOGGING STORAGE( PCTINCREASE 0) "
"TABLESPACE "MYTBS" PARTITION BY RANGE ("CONNECTIONTYPE" ) (PARTITION "
""EXT" VALUES LESS THAN (1) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 S"
"TORAGE(INITIAL 65536) TABLESPACE "MYTBS" NOLOGGING, PARTITION "FAC" VA"
"LUES LESS THAN (2) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(I"
"NITIAL 65536) TABLESPACE "MYTBS" NOLOGGING )"
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'MYTBS' does not exist
Thanks.
Angel -
How to transfer database tables from sql server 2000 to oracle 10g
Hi,
I have a database and tables in sql server 2000. I have to transfer those data to Oracle 10g. I have installed Oracle warehouse Builder ETL Tool. Using this how can i transfer data. Any help is vary helpful for me.
Thanks in advance.you have to do it using ODBC HS.
1. Configure ODBC connection through gateway.
2. Create a initxxx.ora file with HS config.
restart gateway listener services
3. on target o/s add entries to your tnsnames.ora
4. On your target o/s create a db link
restart listener on target
cheeck this out.Non-Oracle connection through HS issue
Edited by: Darthvader-647181 on Jan 29, 2009 2:02 AM -
How maintaining the connection table for sticky/persistent/non-persistent?
Question about how to maintain the connection table for the source(client) and destination(server) in the CSM(or CSS).
I know the sticky has the table and max size such as 128K(css11501)as per CCO but not clear how works the persistant and non-persistant case.
Q1) persistant. does it maintain the conntion table to tracking the session? then, any information the table size?
Q2) non-persistant. is this also have connection table? then, how it works?
why I'm asking is want to understand how the session keep tracking. for example, the router based on the routing table(stateless) versus PIX firewall has stateful table. As analogue, is the non-persistnet stateless and statefull for the persistent and sticky?
Thnaks in advance,The CSS uses FCB to maintain information about active connections.
Each connections requires 2 FCB - one for client to vip and one for server to client.
When you boot the CSS it will immediately reserver a good amount of memory to create a list of FCB.
Each connection will then take 2 FCB from the list.
You can do a 'flow stat' from llama mode to verify how much free/used FCB you have.
When running low on FCB, the CSS will try to allocate more memory.
Gilles.
Maybe you are looking for
-
Help needed regarding change of system CLASSPATH
Hi All, I need to change the system CLASSPATH using my java programe. I tried the following code but its not working though it returns the correct CLASSPATH, but unable to do the modification. All I need is to append a new jar file in the existing CL
-
SQL*Loader and data enclosed by single quotes
Hello, I need to migrate some data from Sybase to Oracle. Can't use the Migration Workbench because this is Sybase's SQL Anywhere product. We are therefore trying to load via SQL*Loader. Sybase outputs its data into text files and encloses it with si
-
please help me i have windows 7 32bit,oracle xe,jdeveloper 11.1.2.1.0 i tried to create simple page has data from database it create entitybean and session been and data controls and jsp or jsf page problem: when i was tried to run my prject i had 1-
-
trying to restore ipod, done all updates to computer and i tunes still get error
-
Issues with Intel Rapid Start in Lenovo U310
I have a lenovo U310 with 500 GB HDD and 24 GB SSD. Both drive are working fine. However, when I boot my computer and reach to the desktop, I receive the error saying Intel Rapid Start Technology is not enabled. When I checked the BIOS, the Partition