Sponsored Content
Full Discussion: Creating a partition....???
Operating Systems Solaris Creating a partition....??? Post 302272495 by bharu_sri on Tuesday 30th of December 2008 07:50:41 PM
Old 12-30-2008
Creating a partition....???

I have created a pool named earthpool using zpool command. Later I created a file system named earth using zfs command. I changed the mountpoint of earth (file system) using

zfs set mountpoint=/earth earthpool/earth.

Where /earth is a directory created in root using mkdir.

Now, I have a partition with the name earth.

Am I correct in creating the partition ? Below are the details of the result got by using the commands

root@mylodon # zpool create earthpool raidz2 c0t0d0 c1t0d0 c4t0d0 c6t0d0 c7t0d0 c0t1d0 c0t2d0 c0t3d0 c0t4d0 c0t5d0 c0t6d0 c0t7d0

root@mylodon # zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
earthpool 10.9T 189K 10.9T 0% ONLINE -

zfs create earthpool/earth

root@mylodon # zfs list
NAME USED AVAIL REFER MOUNTPOINT
earthpool 224K 8.87T 63.4K /earthpool
earthpool/earth 60.9K 8.87T 60.9K /earthpool/earth

root@mylodon # zfs get mountpoint earthpool/earth
NAME PROPERTY VALUE SOURCE
earthpool/earth mountpoint /earthpool/earth default

root@mylodon # mkdir /earth

zfs set mountpoint=/earth earthpool/earth

root@mylodon # zfs list
NAME USED AVAIL REFER MOUNTPOINT
earthpool 231K 8.87T 60.9K /earthpool
earthpool/earth 60.9K 8.87T 60.9K /earth

Thank you
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies

2. UNIX for Dummies Questions & Answers

Error in creating logical partition

Dear Members, I am using SCO-Unix 5.0.5. I have created 2 logical drives but some of the blocks are overlapped and are now giving warning during startup. I have used fsck to settle the problems but to no avail. Kindly help me to sort out the problem. Thanks (3 Replies)
Discussion started by: nagendrajaiswal
3 Replies

3. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

4. Filesystems, Disks and Memory

Creating /boot partition & MBR concerns

I have 40GB HD with mepis8, swap, MBR and under flags word boot. I also have a 160 GB external with a few Linux OS, no swaps, no extended etc. I am total Linux no MS I would feel more secure by resizing that sda1 partition and creating a /boot partition with the MBR housed there. Is that a... (1 Reply)
Discussion started by: worthamtx
1 Replies

5. UNIX for Advanced & Expert Users

[Solved] Creating unformatted partition

I needed to create a un-formatted partition of X MB on a disk dont want it from GUI but from command line not sure what should be specified for fdisk (4 Replies)
Discussion started by: dinjo_jo
4 Replies

6. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

7. OS X (Apple)

Creating a hidden partition that doesn't mount automatically

I have a drive full of diagnostic images (ASD), and I also use it for storage, installers, etc. When I plug it in to a booted system, it has to mount every single volume (about 25) which can take some time. I would like to keep all the ASD partitions from mounting when plugged in/at boot. I know... (0 Replies)
Discussion started by: nextyoyoma
0 Replies

8. Linux

Creating /boot partition for LVM VG

Hi, I have a server booted into sysresccd (mini-linux OS) with 1 40 GB disk attached I am trying to create a volume group and restore another server into the new one However, when I try to create a partition for /boot it seems that my VG in LVM is not recognized anymore These are the... (2 Replies)
Discussion started by: galuzan
2 Replies

9. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

10. Solaris

Trouble creating a disk partition slice (EFI)

Hi all, I am using SPARC Solaris 11.1 with EFI labelled disks. I am new to ZFS file systems and slightly stuck when trying to create a partition (slice) on one of my LUNs. EFI labels use sectors and blocks and I am not sure how exactly it works. From here I can try and create a... (2 Replies)
Discussion started by: selectstar
2 Replies
GRAVITY(1)						      GeographicLib Utilities							GRAVITY(1)

NAME
Gravity -- compute the earth's gravity field SYNOPSIS
Gravity [ -n name ] [ -d dir ] [ -G | -D | -A | -H ] [ -c lat h ] [ -p prec ] [ -v ] [ --comment-delimiter commentdelim ] [ --version | -h | --help ] [ --input-file infile | --input-string instring ] [ --line-separator linesep ] [ --output-file outfile ] DESCRIPTION
Gravity reads in positions on standard input and prints out the gravitational field on standard output. The input line is of the form lat lon h. lat and lon are the latitude and longitude expressed as decimal degrees or degrees, minutes, and seconds; see GeoConvert(1) for details. h is the height above the ellipsoid in meters; this quantity is optional and defaults to 0. Alternatively, the gravity field can be computed at various points on a circle of latitude (constant lat and h) via the -c option; in this case only the longitude should be given on the input lines. The quantities printed out are governed by the -G (default), -D, -A, or -H options. All the supported gravity models use WGS84 as the reference ellipsoid a = 6378137 m, f = 1/298.257223563, omega = 7292115e-11 rad/s, and GM = 3986004.418e8 m^3/s^2. OPTIONS
-n use gravity field model name instead of the default "egm96". See MODELS. -d read gravity models from dir instead of the default. See MODELS. -G compute the acceleration due to gravity (including the centrifugal acceleration due the the earth's rotation) g. The output consists of gx gy gz (all in m/s^2), where the x, y, and z components are in easterly, northerly, and up directions, respectively. Usually gz is negative. -D compute the gravity disturbance delta = g - gamma, where gamma is the "normal" gravity due to the reference ellipsoid . The output consists of deltax deltay deltaz (all in mGal, 1 mGal = 10^-5 m/s^2), where the x, y, and z components are in easterly, northerly, and up directions, respectively. Note that deltax = gx, because gammax = 0. -A computes the gravitational anomaly. The output consists of 3 items Dg01 xi eta, where Dg01 is in mGal (1 mGal = 10^-5 m/s^2) and xi and eta are in arcseconds. The gravitational anomaly compares the gravitational field g at P with the normal gravity gamma at Q where the P is vertically above Q and the gravitational potential at P equals the normal potential at Q. Dg01 gives the difference in the magnitudes of these two vectors and xi and eta give the difference in their directions (as northerly and easterly components). The calculation uses a spherical approximation to match the results of the NGA's synthesis programs. -H compute the height of the geoid above the reference ellipsoid (in meters). In this case, h should be zero. The results accurately match the results of the NGA's synthesis programs. GeoidEval(1) can compute geoid heights much more quickly by interpolating on a grid of precomputed results; however the results from GeoidEval(1) are only accurate to a few millimeters. -c evaluate the field on a circle of latitude given by lat and h instead of reading these quantities from the input lines. In this case, Gravity can calculate the field considerably more quickly. If geoid heights are being computed (the -H option), then h must be zero. -p set the output precision to prec. By default prec is 5 for acceleration due to gravity, 3 for the gravity disturbance and anomaly, and 4 for the geoid height. -v print information about the gravity model on standard error before processing the input. --comment-delimiter set the comment delimiter to commentdelim (e.g., "#" or "//"). If set, the input lines will be scanned for this delimiter and, if found, the delimiter and the rest of the line will be removed prior to processing and subsequently appended to the output line (separated by a space). --version print version and exit. -h print usage, the default gravity path and name, and exit. --help print full documentation and exit. --input-file read input from the file infile instead of from standard input; a file name of "-" stands for standard input. --input-string read input from the string instring instead of from standard input. All occurrences of the line separator character (default is a semicolon) in instring are converted to newlines before the reading begins. --line-separator set the line separator character to linesep. By default this is a semicolon. --output-file write output to the file outfile instead of to standard output; a file name of "-" stands for standard output. MODELS
Gravity computes the gravity field using one of the following models egm84, earth gravity model 1984. See http://earth-info.nga.mil/GandG/wgs84/gravitymod/wgs84_180/wgs84_180.html egm96, earth gravity model 1996. See http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm96/egm96.html egm2008, earth gravity model 2008. See http://earth-info.nga.mil/GandG/wgs84/gravitymod/egm2008 wgs84, world geodetic system 1984. This returns the normal gravity for the WGS84 ellipsoid. These models approximate the gravitation field above the surface of the earth. By default, the "egm96" gravity model is used. This may changed by setting the environment variable "GRAVITY_NAME" or with the -n option. The gravity models will be loaded from a directory specified at compile time. This may changed by setting the environment variables "GRAVITY_PATH" or "GEOGRAPHICLIB_DATA", or with the -d option. The -h option prints the default gravity path and name. Use the -v option to ascertain the full path name of the data file. Instructions for downloading and installing gravity models are available at <http://geographiclib.sf.net/html/gravity.html#gravityinst>. ENVIRONMENT
GRAVITY_NAME Override the compile-time default gravity name of "egm96". The -h option reports the value of GRAVITY_NAME, if defined, otherwise it reports the compile-time value. If the -n name option is used, then name takes precedence. GRAVITY_PATH Override the compile-time default gravity path. This is typically "/usr/local/share/GeographicLib/gravity" on Unix-like systems and "C:/Documents and Settings/All Users/Application Data/GeographicLib/gravity" on Windows systems. The -h option reports the value of GRAVITY_PATH, if defined, otherwise it reports the compile-time value. If the -d dir option is used, then dir takes precedence. GEOGRAPHICLIB_DATA Another way of overriding the compile-time default gravity path. If it is set (and if GRAVITY_PATH is not set), then $GEOGRAPHICLIB_DATA/gravity is used. ERRORS
An illegal line of input will print an error message to standard output beginning with "ERROR:" and causes Gravity to return an exit code of 1. However, an error does not cause Gravity to terminate; following lines will be converted. EXAMPLES
The gravity field from EGM2008 at the top of Mount Everest echo 27:59:17N 86:55:32E 8820 | Gravity -n egm2008 => -0.00001 0.00103 -9.76782 SEE ALSO
GeoConvert(1), GeoidEval(1). AUTHOR
Gravity was written by Charles Karney. HISTORY
Gravity was added to GeographicLib, <http://geographiclib.sf.net>, in version 1.16. GeographicLib 1.21 2012-04-24 GRAVITY(1)
All times are GMT -4. The time now is 02:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy