Sponsored Content
Operating Systems Solaris Solaris 10: Problems booting off mirror drive -- Error 22: No such partition Post 302326327 by etc on Wednesday 17th of June 2009 04:28:14 PM
Old 06-17-2009
Thanks for clarifying that...
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

booting problems on solaris

When i try to boot my solaris 2.6 E220R server, i get this error message > INIT: cannot create /var/adm/utmp or /var/adm/utmpx >INIT: failed write of utmpx entry:" " >INIT: failed write of utmpx entry:" " INIT Single User Mode Press Ctrl-d for normal boot process or enter roots password... (10 Replies)
Discussion started by: lealyz
10 Replies

2. UNIX for Dummies Questions & Answers

error booting solaris 10

Hello experts, I have installed solaris 10 on x86. When I try to boot I get an error with ablue screen login failed please try again. I am new to this o.s. It used to work nicely before what did I do wrong? Any guidance advice will be highly appreciated Thanks, (5 Replies)
Discussion started by: deepak1
5 Replies

3. Solaris

Problems during booting from mirror disk

Hi All, I have detached a mirror and primary disk from my Solaris box. On trying to boot from Primary disk, It boots up good. But from my mirror disk, it is not booting and giving me the login prompt Instead it goes to maintenance state by issuing a coredump. Can you explain why... (9 Replies)
Discussion started by: jegaraman
9 Replies

4. Red Hat

breaking a hard drive mirror

Hey guys i have a machine running redhat enterprise 3.8 (i believe) and it has two hard drives that are mirrored. what would i have to do to get them to act as two seperate hard drives so i have 120gb capacity total as opposed to just 60? also, what would i do if i just wanted to take one of... (4 Replies)
Discussion started by: pacman529
4 Replies

5. Solaris

Error for booting zone in solaris 10

Dear All, After creating ,installing ,configuring zone in my solaris VMware . I am not able to Ready/Boot the zone. giving error as : Please help me out for the same Core part of zone.xml is as: Anythng which I missed in configuration.. Do let me know (1 Reply)
Discussion started by: bharat_
1 Replies

6. AIX

Partition offset problem after re-mirror vg

We had a mirrored disk failed (not the rootvg), there are 3 lvs (transfer, applogs, arch) from extvg gone open/stale state. After replaced failed disk and run cfgmgr, the new replaced disk is visible: ) I did the following to re-mirror new disk: # extendvg prodvg hdisk3 # lspv (got new pvid on... (2 Replies)
Discussion started by: jalite19
2 Replies

7. UNIX for Dummies Questions & Answers

Flash drive booting project questions

My current machine is a Macbook pro running Snow Leopard. I want to mess around with various *nix OSes but not in a way that threatens the current working condition of this machine. The way around this seems to be to install various operating systems on a largish flash drive, boot from that, and... (2 Replies)
Discussion started by: Zygomorph
2 Replies

8. Solaris

solaris booting problems

hi am trying to get some knowledge on Solaris common trouble shooting problems.. can some one help me in getting most common issues.. and how to solve those issues. thanks in advance (4 Replies)
Discussion started by: aravindreddy
4 Replies

9. Solaris

Second Mirror is not booting !

zpool status -v below my mirrors in Solaris 10 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c3t0d0s0 ONLINE 0 0 0 ... (2 Replies)
Discussion started by: top.level
2 Replies
Geography::NationalGrid(3pm)				User Contributed Perl Documentation			      Geography::NationalGrid(3pm)

NAME
Geography::NationalGrid - Base class to create an object for a point and to transform coordinate systems SYNOPSIS
Geography::NationalGrid is a factory class whose sole purpose is to give you an object for the right country. The first argument to new() is the ISO 2 letter country code, and it is followed by name-value pairs that are passed to the country- specific constructor. See the reference for the country-specific module - a country code of 'GB' corresponds to the module called Geography::NationalGrid::GB. use Geography::NationalGrid; my $point1 = new Geography::NationalGrid( 'GB', GridReference => 'TQ 289816', ); print "Latitude is " . $point1->latitude . " degrees north "; DESCRIPTION
You ask for an object for the correct country, described using the ISO 2-letter country code. You will need to supply information to the constructor. You may then call methods on that object to do whatever operations you need. Conceptually each object represents a point on the ground, although you some grid systems may take that point to be a corner of a defined area. E.g. a 6-figure OS National Grid reference may be thought of as the point at the south-west of a 100m by 100m square. METHODS
See the documentation for the country-specific module. This modules provides these generic methods which may or may not be used by the country-specific objects: latitude() / longitude() Returns the appropriate value in floating point degrees easting() / northing() Returns the appropriate value in metres, truncated to integer metres data(PARAMETER) Access the Userdata hash in the object, and retrieve whatever is keyed against PARAMETER. Typical use might be to store some long information about the point, such as the site name. deg2string(DEGREES) Returns a string of the form '52d 28m 34s' when given a number of degrees. You can also call this as a class method. deg2rad(DEGREES) The input number of degrees may be in one of 3 formats: a floating point number, such as 52.34543; a reference to an array of 3 values representing degrees, minutes and seconds, such as [52, 28, 34]; a string of the form '52d 28m 34s'. Returns the number of radians as a floating point number. You can also call this as a class method. rad2deg(RADIANS) Converts a floating point number of radians into a flaoting point number of degrees. You can also call this as a class method. OTHER COUNTRIES
The core distribution includes the GB and IE modules, allowing you to work with the National Grids of Britain and Ireland. Adding support for another country would require the module for that country to be installed - the naming convention is 'Geography::NationalGrid::' followed by the ISO 2-letter country code, in capitals. If you would like to provide support for another country please see the DEVELOPERS section below. ACCURACY
The routines used in this code may not give you completely accurate results for various mathematical and theoretical reasons. In tests the results appeared to be correct, but it may be that under certain conditions the output could be highly inaccurate. It is likely that output accuracy decreases further from the datum, and behaviour is probably divergent outside the intended area of the grid, but in any case accuracy is not guaranteed. This module has been coded in good faith but it may still get things wrong. Hence, it is recommended that this module is used for preliminary calculations only, and that it is NOT used under any circumstance where its lack of accuracy could cause any harm, loss or other problems of any kind. Beware! DEVELOPERS
This module was originally written for the OS National Grid of Great Britain, but built in a way to allow other countries to be easily plugged in. This module is the base class; it contains a lot of the functions that you'll need - most notably the transformations between transverse Mercator projections and Latitude/Longitude positions. Modules can use this class and override methods as needed. If you do write a module then why not keep the basic object interface similar to the 'GB' and 'IE' modules - for example, why not simply inherit the latitude() accessor method from here. There will probably be country-specific methods that you wish to add aswell, and features of the GB module may not apply to your grid. This module contains some object methods which you can inherit, and these are data(PARAMETER), northing(), easting(), latitude() and longitude(), and the _mercator2latlong() and _latlong2mercator() internal methods. All of these assume that your object has certain pieces of data in certain places. See the METHODS section above. In short, to write a module for a new country you simply need to write the new() routine to create a fully populated object. You may need to write a gridReference() accessor routine, and probably need to write the routines to convert raw eastings & northings to/from a grid reference. You'll also need the parameters of the ellipsoid used and the projection parameters. Most national grids are transverse Mercator projections, which means you can inherit the internal conversion routines from this class and you'll have an easy job. Otherwise you may need to implement your own conversion. AUTHOR AND COPYRIGHT
Copyright (c) 2002 P Kent. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Equations for transforming latitude and longitude to, and from, rectangular grid coordinates appear on an Ordnance Survey webpage, although they are standard coordinate conversion equations - thanks to the OS for clarifying. $Revision: 1.6 $ perl v5.10.0 2007-12-06 Geography::NationalGrid(3pm)
All times are GMT -4. The time now is 07:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy