12-21-2012
Thanks I got that taken care of. I need help with one other thing. It says:
"SWAP RAM+2GB Minimum recommended RAM size is 4GB"
I have 16GB of RAM. So what should I put as my swap??? This is RHEL6.3 server
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm looking for a Partitioning Tool preferably with a GUI preferably free that is easy to use if anyone has any suggestions they will be greatfully recieved, Thanks. (4 Replies)
Discussion started by: OSNovice
4 Replies
2. UNIX for Dummies Questions & Answers
I would like to install Redhat 7.2 on my Windows machine. I only have one hard drive and I dont want to lose Windows. Which method is best for partitioning the HD?
I tried it once with Partition Magic and I was installing Corel Linux First Edition and Corel wiped out my entire HD (not good when... (2 Replies)
Discussion started by: primal
2 Replies
3. UNIX for Dummies Questions & Answers
Hiya folks,
Before I install Linux, I want to partition my HD, basically I want to split my 80GB HD in half so I can run Linux but still keep Windows XP. I tried doing through the windows workstation and browsing the XP help files but it either didnt work or I was doing something wrong. I dont... (7 Replies)
Discussion started by: Mr_Pinky
7 Replies
4. UNIX for Dummies Questions & Answers
Hello,
Using Solaris 10. Going to mirror disks with solstice disksuite. Documentation says I have to make both disks partitioned exactly the same before moving on.
Here's the layout of c1t0d0
Part Tag Flag Cylinders Size Blocks
0 root wm 1237 - 2473 6.00GB (1237/0/0) 12587712
... (1 Reply)
Discussion started by: pmichner
1 Replies
5. Red Hat
Hey, this question is generated purely out of my lack of knowledge.
Ok, obviously you can partition hard drives, I have Windows 2k, and can partition it from administrative tools, however, all of the help sections have utterly failed to give me any information other than "when you partition, it... (5 Replies)
Discussion started by: Mal_Zapatos
5 Replies
6. Solaris
Total disk size is 38912 cylinders
Cylinder size is 32130 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
... (2 Replies)
Discussion started by: seyiisq
2 Replies
7. Ubuntu
Hi folks,
Ubuntu 10.04-1 64-bit
HD - 1T SATA3
I ran graphic installation installing Ubuntu-10.04-1 desktop from Live CD
The partition on the new HD is as follow;
/root
/home
/kvm
(kvm is for keeping the guests of KVM, the virtualizer)
Installion went through without problem abd... (0 Replies)
Discussion started by: satimis
0 Replies
8. Solaris
I was told that on the bootable drive, slice 02 is reserved for system usage. Is this true?
In our deployment each server is equipped with a hardware RAID adapter. The current plan is to create the slices as follows:
c1t0d0s0 = swap 16386
c1t0d0s1 = /var 15366
c1t0d0s2 = / free
Does this... (4 Replies)
Discussion started by: msarro
4 Replies
9. Red Hat
What is the command to partition a completely new hard drive using red hat linux (1 Reply)
Discussion started by: blend
1 Replies
10. Shell Programming and Scripting
I am working in AIX ver 5 rel 3. It shows as follows.
@:on(cluster302)/home/abcde00->
shiusr1c is LPAR (Logical PARtition). Then what is "shiissra" called?
Thanks
Krishna
Please use code tags next time for your code and data. (1 Reply)
Discussion started by: kmanivan82
1 Replies
LEARN ABOUT OPENSOLARIS
bcopy
bcopy(9F) Kernel Functions for Drivers bcopy(9F)
NAME
bcopy - copy data between address locations in the kernel
SYNOPSIS
#include <sys/types.h>
#include <sys/sunddi.h>
void bcopy(const void *from, void *to, size_t bcount);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
from Source address from which the copy is made.
to Destination address to which copy is made.
bcount The number of bytes moved.
DESCRIPTION
The bcopy() function copies bcount bytes from one kernel address to another. If the input and output addresses overlap, the command exe-
cutes, but the results may not be as expected.
Note that bcopy() should never be used to move data in or out of a user buffer, because it has no provision for handling page faults. The
user address space can be swapped out at any time, and bcopy() always assumes that there will be no paging faults. If bcopy() attempts to
access the user buffer when it is swapped out, the system will panic. It is safe to use bcopy() to move data within kernel space, since
kernel space is never swapped out.
CONTEXT
The bcopy() function can be called from user, interrupt, or kernel context.
EXAMPLES
Example 1 Copying data between address locations in the kernel:
An I/O request is made for data stored in a RAM disk. If the I/O operation is a read request, the data is copied from the RAM disk to a
buffer (line 8). If it is a write request, the data is copied from a buffer to the RAM disk (line 15). bcopy() is used since both the RAM
disk and the buffer are part of the kernel address space.
1 #define RAMDNBLK 1000 /* blocks in the RAM disk */
2 #define RAMDBSIZ 512 /* bytes per block */
3 char ramdblks[RAMDNBLK][RAMDBSIZ]; /* blocks forming RAM
/* disk
...
4
5 if (bp->b_flags & B_READ) /* if read request, copy data */
6 /* from RAM disk data block */
7 /* to system buffer */
8 bcopy(&ramdblks[bp->b_blkno][0], bp->b_un.b_addr,
9 bp->b_bcount);
10
11 else /* else write request, */
12 /* copy data from a */
13 /* system buffer to RAM disk */
14 /* data block */
15 bcopy(bp->b_un.b_addr, &ramdblks[bp->b_blkno][0],
16 bp->b_bcount);
SEE ALSO
copyin(9F), copyout(9F)
Writing Device Drivers
WARNINGS
The from and to addresses must be within the kernel space. No range checking is done. If an address outside of the kernel space is
selected, the driver may corrupt the system in an unpredictable way.
SunOS 5.11 16 Jan 2006 bcopy(9F)