Sponsored Content
Operating Systems Solaris How to create metadb when there is no free slice Post 302274417 by DukeNuke2 on Wednesday 7th of January 2009 02:03:52 PM
Old 01-07-2009
are all slices used or is simply no space left to asign it to a slice?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Add SWAP to free slice

I'm interested in adding more swap space to my current workstation (Solaris 10). I currently have 2 hard drives installed, however the system was only created with 512MB for swap that resides on drive 1. This drive is already sliced up and all slices are being used. The second drive has two... (3 Replies)
Discussion started by: here2learn
3 Replies

2. Solaris

mirroring the boot slice (slice 8) on x86

Hi there I am about to mirror a Solaris 10 x86 box (SunFire X4100) onto a secondary disk using svm (current system is one disk). My question is this, on X86 boxes there is a slice 8 defined as boot partition (and also a slice 9, dunno what its used for tho). Do I need to mirror this boot slice... (0 Replies)
Discussion started by: hcclnoodles
0 Replies

3. BSD

How to create IP table at Free BSD

Now, I had installed free bsd at my office. Unfortunitely, Email server have been using Local PoP3 and SMTP to our ISP with outlook. but my unix firewall sever ( free bsd ) didn't allow these port ( 110 & 25 ). How can i create the IP table to pass at server. If u have any experience about obvious... (4 Replies)
Discussion started by: Ashraff Ali
4 Replies

4. Linux

shrinking root partition and using free space to create a block device

We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is... (0 Replies)
Discussion started by: kickdgrass
0 Replies

5. Solaris

mirroring root disk using svm - but no free slices for metadb's

Hi all, we have an existing system that was configured using just one of the (two) internal disks. I want to mirror the disk using SVM, but have realised there is no free slice for creating the metadb's. Is there a workaround I can use for this? In the past we have always kept slice 7 free -... (8 Replies)
Discussion started by: badoshi
8 Replies

6. Solaris

df –k shows 100% used for a slice even after min free has been decreased from 10% to

Hi Gurus, For a particular slice I have change the minfree from 10% to 1% with tunefs -m and its allowing the creation of file on that slice, however when I am seeing the same with df -k it says that the slice is 100% full. What could be reason for this? Thanks (2 Replies)
Discussion started by: kumarmani
2 Replies

7. Solaris

How to create metadb with zpool in Solaris 11

Hi, my root pool is as follows. How can I create a metadb if I want to create SVM volumes? zpool status pool: rpool1 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM rpool1 ONLINE 0 0 0 c4t1d0s0 ... (10 Replies)
Discussion started by: incredible
10 Replies

8. Solaris

Metadb

Hi, I have inherited a system with two disks mirrored, and only 1 metadb on each, I have deleted the db on c1t1 and recreated 3 which is fine. But when it comes to c1t0, the metadb -d /dev/dsk/c1t0d0s5 doesnt removed the existing db and the create metadb -a -f -c3 /dev/dsk/c1t0dos5 wont... (0 Replies)
Discussion started by: richard.tarlton
0 Replies

9. Solaris

Solaris 10 Volume Manager - adding slice to metadb

Hi all, I added a new disk slice to the current metadb. Below is what I see bash-3.2# metadb -i flags first blk block count a m p luo 16 8192 /dev/dsk/c0t0d0s7 a p luo 8208 8192 ... (3 Replies)
Discussion started by: javanoob
3 Replies

10. Solaris

Trying to create ZFS slice on rpool

I have a 240GB disk as rpool. I have installed Solaris 11.3 to a partition which is 110GB. Now I have another 130GB which is unallocated. I want to use that additional space as a temporary folder to be shared between Solaris and Linux. The additional space had no /dev/dsk/c2t4... entry so I used... (8 Replies)
Discussion started by: kebabbert
8 Replies
pie(n)							       tkpiechart pie class							    pie(n)

__________________________________________________________________________________________________________________________________________________

NAME
pie - 2D or 3D pie chart object in a canvas SYNOPSIS
package require stooop 4.1 package require switched 2.2 package require tkpiechart 6.6 stooop::new pie canvas x y ?options? switched::configure pieObject ?options? switched::cget pieObject option stooop::delete pieObject pie::newSlice pieObject ?labelText? pie::deleteSlice pieObject sliceObject pie::sizeSlice pieObject sliceObject unitShare ?displayedValue? pie::labelSlice pieObject sliceObject string pie::selectedSlices pieObject _________________________________________________________________ DESCRIPTION
A pie object is used to visualize a set of values, usually as shares of a total. Each value is represented by a colored slice, which may have a 2 dimensional or 3 dimensional look. Each slice is associated with a label displaying the data name, and a numerical field showing the percentage taken by the slice. The labels are placed by the chosen labeler object (-labeler option). Each label color matches its related slice. A pie chart is made of Tk canvas items, found in pieBoxLabeler, piePeripheralLabeler and canvasLabel objects, that compose the pie object. The pie constructor creates the pie itself and its background slice within the parent canvas. Once the pie object exists, slices can be created and resized. At the time the pie is created, the parent Tk canvas widget must exist. Slice colors are automatically generated, using a default color list for all pies, unless another list is used (using the -colors option). When a 3D look is used, the slice edge is darker than its top while using the same color tone. stooop::new pie canvas x y ?options? Creates a pie object in the specified Tk canvas. The upper left corner of the pie is placed at the specified coordinates in the can- vas. The pie object identifier is returned (referred to as pieObject in this document). switched::configure pieObject ?options? Configures a pie object or returns all the options with their current values if no options are passed as parameters. switched::cget pieObject option Returns an option value for the specified pie object. stooop::delete pieObject Deletes the specified pie object. OVERVIEW
The pie class is part of the tkpiechart extension that allows the programmer to create and dynamically update 2D or 3D pie charts in a Tcl/Tk application. The tkpiechart package is written in Tcl only, using object oriented techniques thanks to the stooop package, included in tcllib. OPTIONS
-autoupdate boolean Boolean value specifying whether all the slices and their labels are redrawn when a slice size is changed. On by default. Turn it off and invoke pie::update if you change many slices at once and want to improve performance. -background color Slices may or may not fill up the 100% of the pie. The unoccupied part of the pie is a slice that takes 100% of the pie. It is by default transparent with a black border. The color of this background slice may be set by the user using color names as in the -background standard option (see the Tk options manual page for more details). When the pie has a 3D look, the background of a slice edge is darker than the top and uses the same color tone. -colors list Specifies a list of colors for slices. In this case, the slice colors will successively be drawn from the list in the list order, cycling through if there are more slices than colors in the list. Colors are specified in the same format as the -background option. -height value Specifies the total height for the pie, including the room taken by the labeler labels. The pie slices are resized when labels are added or deleted (when adding or deleting slices) so that the total height remains constant. This value may be specified in any of the forms described in the canvas COORDINATES manual section. -labeler object Specifies a placer object for the slice labels, so that, for example, slice values may be placed next to them. If not specified, the pieBoxLabeler (see corresponding manual) is used, the other option being the piePeripheralLabeler class. Each labeler has a specific behavior which may be set via its options. The labeler object is automatically deleted when the pie object is itself deleted. The labeler cannot be changed once the pie is created. -selectable boolean Boolean value specifying whether slices are selectable or not. Acceptable values are those defined by the Tcl language itself for boolean values. If selectable, slices can be selected with the first mouse button, by clicking on either the slice or its label. Selection can be extended by using the classical control or shift clicks. The list of currently selected slices can be retrieved at any time using the selectedSlices pie class member procedure. -title text Title text to be placed above the pie. -titlefont value Font for the title text. -titleoffset value Distance between the bottom of the title text and the top of the pie slices. This value may be specified in any of the forms described in the sizes section below. -thickness value The thickness is set to 0 by default, giving the pie a simple 2D shape, much faster to display. A positive thickness value will give the pie a 3D look with matched darker colors for the slices edges. These values may be specified in any of the forms described in the SIZES section below. -width value Specifies the total width for the pie, including the room taken by the labeler labels. The pie slices are resized when labels are added or deleted (when adding or deleting slices) so that the total width remains constant. This value may be specified in any of the forms described in the canvas COORDINATES manual section. MEMBER PROCEDURES
pie::newSlice pieObject ?labelText? Creates a slice. A unique object identifier is returned (referred to as sliceObject in this document). The slice color is automati- cally allocated and the slice label placed using the specified labeler (using the -labeler option). The slice itself is placed after (clockwise) the existing slices. The slice object identifier will be used for sizing and resizing the slice. If the label text is not specified, it will be set to "slice n", n being the number of the slice in the order of creation (first slice is number 1). pie::deleteSlice pieObject sliceObject Deletes a slice. The following slices (clockwise) if any are then moved to compensate for the empty space left by the deleted slice. pie::sizeSlice pieObject sliceObject unitShare ?displayedValue? Sizes or resizes a slice. The slice is then automatically recalculated so it occupies the proper share of the whole pie. The unit- Share parameter is a floating point number expressed in share (between 0 and 1) of the whole pie. The following slices (clockwise) are moved to accommodate the new slice size. The slice size value next to the slice label is also updated with the new share value or displayedValue if specified. pie::labelSlice pieObject sliceObject string Updates a slice label. Can be invoked at any time. pie::selectedSlices pieObject Returns a list of currently selected slice objects. TAGS
The whole pie, the pie graphics (all slices), and each slice have the following specific tags: o pie(pieObject) o pieSlices(pieObject) o slice(sliceObject) For example, the whole pie can be moved using the canvas move command on the pie tag, or bindings on slices can be set using the slice tags (see the canvas manual page ITEM IDS AND TAGS section for more information). SIZES
All sizes related to pies are stored as floating point numbers. The coordinates and sizes are specified in screen units, which are floating point numbers optionally followed by one of several letters as specified in the canvas COORDINATES manual section. LIMITATIONS
If the number of slices is too big, identical colors will be used for some of the slices. You may set your own colors in this case. SEE ALSO
canvasLabel, pieBoxLabeler, piePeripheralLabeler KEYWORDS
canvas, labeler, pie, slice COPYRIGHT
Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr> tkpiechart 6.6 pie(n)
All times are GMT -4. The time now is 07:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy