10 More Discussions You Might Find Interesting
1. Red Hat
Dear members & admins
I have 3 RHEL 5.7 servers. So I decided to upgrade them to latest version. 2 of them successfully upgraded to RHEL 5.11 and last one is the problem.
When I hit rhn_register command server shows following info :
#rhn_register
There was an SSL error: (104, 'Connection... (2 Replies)
Discussion started by: sembii
2 Replies
2. Red Hat
All,
I am trying to install redhat9 to my system. I have 26 GB of unpartitioned space,
and I do have xp-2 already installed on my system in c: .
I am using external DVD-RW to install linux. I have booted the CD, chosen Graphical mode and now installation frizzed with below message:
... (5 Replies)
Discussion started by: joshilalit2004
5 Replies
3. Red Hat
Hello;
I have 4 servers with RedHat Enterprise server 32-bit installed. i'm trying to install 64-bit system instead but the hardware has only CD drive (not DVD). When i tried to use external DVD drive and connect it to the USB to install the 64-bit system, it starts ok but then it ask for the... (2 Replies)
Discussion started by: Katkota
2 Replies
4. Solaris
Hi All,
We had a Sun Netra T1 go down the other day, the root disk was mirrored using vxvm. Upon boot from either disk, we had the following error appear:
WARNING: Error writing ufs log state
WARNING: ufs log for / changed state to Error
WARNING: Please umount(1M) / and run... (4 Replies)
Discussion started by: badoshi
4 Replies
5. UNIX for Dummies Questions & Answers
I rlogin from a sco box to a redhat box and run /bin/vi. Pgup, Pgdn, and arrow up/down keys don't work. I enter "export TERM=ansi80x25" and run vi again.Everything works just like I like it. Except the cursor turns into a blinking overscore. When I exit vi and close the connection to redhat,... (2 Replies)
Discussion started by: bussyw
2 Replies
6. Red Hat
Hi,
I am trying to do rsh on to a redhat EL 5 machine. It repeatedly asks me for the password and die after sometime. One might think that I am giving the wrong password. But I can do 'ssh' on to that machine with the same password.
Can someone tell me what I have been doing wrong?
... (2 Replies)
Discussion started by: eamani_sun
2 Replies
7. UNIX for Dummies Questions & Answers
Hey guys,
can anyone please tell me how I can make linux recognize the same video adapter/monitor type that my windows box is using? i'm running linux redhat on virtual PC which enables me to have windows and linux running at the same time. (i can switch back and forth between operating... (4 Replies)
Discussion started by: TRUEST
4 Replies
8. Windows & DOS: Issues & Discussions
Hi guys!
Need some help here.....trying to install Redhat 8.0 on a laptop that is already running WinXP. Have made a partition with partition magic but when I try to install Linux it just stops at the check partition/ check hard-drive stage. It has happened on two different laptops of different... (4 Replies)
Discussion started by: syrex
4 Replies
9. UNIX for Dummies Questions & Answers
can someone tell me what commands in Linux RedHat 8.0 will give me a graph of whats going on on my system. When Is ay graphs I mean graphs like does produced by perfview of solaris and glance of HP-UX. (3 Replies)
Discussion started by: TRUEST
3 Replies
10. UNIX for Dummies Questions & Answers
i have the Redhat installed in this Hard Drive and i wanna use it in this old computer of mine.. it works fine in my new computer.. but when i put it in my old one.. which is.. P1 150MHz 32MBramz it wont load the kernal and keeps on restarting the computer.. keeps on goin like this.. i get the GRUB... (2 Replies)
Discussion started by: dezithug
2 Replies
vxcache(1M) vxcache(1M)
NAME
vxcache - administer the cache object for space-optimized snapshots
SYNOPSIS
vxcache [-g diskgroup] att volume cacheobj
vxcache [-g diskgroup] dis cachevol ...
vxcache [options] [-g diskgroup] growcacheby cacheobj lengthchange [attribute ...]
vxcache [options] [-g diskgroup] growcacheto cacheobj newlength [attribute ...]
vxcache [-g diskgroup] listvol cacheobj
vxcache [-g diskgroup] set attribute=value cacheobj ...
vxcache [options] [-g diskgroup] shrinkcacheby cacheobj lengthchange [attribute ...]
vxcache [options] [-g diskgroup] shrinkcacheto cacheobj newlength [attribute ...]
vxcache [-g diskgroup] start cacheobj ...
vxcache [-g diskgroup] stat [cacheobj ...]
vxcache [-f] [-g diskgroup] stop cacheobj...
DESCRIPTION
The vxcache utility is used to administer a cache object that is associated with volumes that have one or more space-optimized snapshots.
The cache object, cacheobj, and underlying cache volume, cachevol, may be shared between volumes in a disk group.
KEYWORDS
att Attaches a volume as a cache volume to a cache object. If a valid cache object exists but the original cache volume has been
removed, this operation may be used to attach a new volume as a cache volume to the cache object.
dis Dissociates one or more cache volumes from their cache objects.
Note: First use the vxcache stop command to stop the cache objects.
growcacheby
Grows the cache by the specified amount, lengthchange.
growcacheto
Grows the cache to the specified length, newlength.
listvol Prints a space-separated list of space-optimized instant snapshots that have been created on the specified cache object. This
list is sorted by the timestamp on the snapshot. If two or more snapshots have the same timestamp, these snapshots are sorted in
order of decreasing size.
set Sets the value of an attribute for the specified cache objects. Values may be set for the autogrow, autogrowby, highwatermark
and maxautogrow attributes. See the vxcached(1M) manual page for a description of these attributes.
shrinkcacheby
Shrinks the cache by the specified amount, lengthchange.
shrinkcacheto
Shrinks the cache to the specified length, newlength.
start Starts cache objects and rebuilds the in-core mapping.
stat Prints space usage statistics for cache objects:
TOTAL Total size of the cache volume in megabytes that is available to cache data. As a small amount of space is required to
hold cache object metadata, this value is always smaller than the total size of the cache volume.
USED Size of the cache that is in use in megabytes and as a percentage.
AVAIL Size of the cache that is available for use in megabytes and as a percentage.
SDCNT Number of subdisks that have been created on the cache object.
If no cache objects are specified, statistics are displayed for all cache objects in the disk group.
stop Stops cache objects.
OPTIONS
Note: The -d and -n options apply only to the growcacheby, growcacheto, shrinkcacheby and shrinkcacheto operations.
-d defaults
Specifies a file containing defaults for various attributes related to space allocation for growing and shrinking the cache. If
not specified, this defaults to /etc/default/vxassist.
-f Forces the stop operation if any snapshots have been created on a cache object.
-g diskgroup
Specifies the disk group for the operation, either by disk group ID or by disk group name. If this option is not specified, the
default disk group is determined using the rules given in the vxdg(1M) manual page.
-n Prevents the system defaults file being read.
Hardware-Specific Options
Note: These options apply only to the growcacheby, growcacheto, shrinkcacheby and shrinkcacheto operations.
Some environments provide guidelines to optimize VxVM's interaction with intelligent storage systems. If these guidelines are present, VxVM
follows them when allocating space for volumes.
The following options change the behavior of the growcacheby, growcacheto, shrinkcacheby and shrinkcacheto operations:
-o override
Performs the specified vxcache task for the specified volume and ignores any storage-specific guidelines. Overriding the guide-
lines is not recommended as it can result in incompatible objects, or objects that cannot be administered by VxVM and any associ-
ated software that exploit storage-specific features.
-o verify Verifies that the vxcache task for the specified volume can be performed without violating any storage-specific guidelines, but
does not commit or perform any task. If any guidelines are violated, vxcache exits with an error message.
Note: These options need a separate license. Without the license, vxcache ignores the specified option.
Refer to the vendor-specific documentation for more information on how intelligent storage systems can interact with VxVM.
EXAMPLES
Create and enable a 1GB mirrored cache with a region size of 32KB:
vxassist -g mydg make cachevol 1g layout=mirror init=active
mydg16 mydg17
vxmake -g mydg cache cobjmydg cachevolname=cachevol
regionsize=32k
vxcache -g mydg start cobjmydg
Grow the cache volume, mydgcvol, that is associated with the cache object, mydgcobj, by 1GB:
vxcache -g mydg growcacheby mydgcobj 1g
Change the value of the maxautogrow attribute to 2GB for a cache:
vxcache -g mydg set maxautogrow=2g mydgcobj
Stop and restart the cache object, mydgcobj, which has entered the DETACHED state after a failed grow or shrink operation (the -f option to
vxcache stop is required because snapshots exist on the cache object):
vxcache -f -g mydg stop mydgcobj
vxcache -g mydg start mydgcobj
Stop the cache object, mydgcobj, and dissociate the cache volume, mydgcvol, from it:
vxcache -g mydg stop mydgcobj
vxcache -g mydg dis mydgcvol
NOTES
The attributes that may be specified with the growcacheby, growcacheto, shrinkcacheby and shrinkcacheto keywords are the same as for the
vxassist command. See the vxassist(1M) manual page for details.
The vxcached daemon monitors the usage of cache objects. See the vxcached(1M) manual page for details.
The minimum size of a cache volume is approximately 10m(10MB) plus 1MB for each 256KB of the region size.
SEE ALSO
vxassist(1M), vxcached(1M), vxintro(1M), vxmake(1M), vxsnap(1M), vxstat(1M)
VxVM 5.0.31.1 24 Mar 2008 vxcache(1M)