Sponsored Content
Operating Systems Solaris I have LUN ID, how to find disk relate to that LUN ID? Post 302338011 by uuontario on Monday 27th of July 2009 12:16:24 AM
Old 07-27-2009
ok, I see. I will give a try tomorrow. Thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

VxVM disk/lun grow

hi, i have a volume on a LUN of an EMC-storage and i need to increase the size. i could increase the size of the LUN on the EMC, i could increase the size of the disk for solaris, but how can i tell the veritas volume manager that the disk is larger now? what i've done: 1. LUN on EMC 2.... (3 Replies)
Discussion started by: pressy
3 Replies

2. Solaris

command to scan Enterprise storage Lun disk in Solaris

I just installed IBMsdd on Solaris diver along with the patches recommended. I also installed 2 - 2Gigs qlogic fiber cards & the corresponding pkges for the cards. What command can I use to scan this LUN disks from my Soalris servers. Solaris doen't seem to be seeing this disks presented on it.... (2 Replies)
Discussion started by: Remi
2 Replies

3. Solaris

LUN not ready

hey guys i got this in my logs what does this mean: (1 Reply)
Discussion started by: sbn
1 Replies

4. AIX

Problem mapping LUN disk from VIOS to the LPAR

Hello guys, It would be so nice of you if someone can provide me with these informations. 1) My SAN group assigned 51G of LUN space to the VIO server.I ran cfgdev to discover the newly added LUN. Unfortunately most of the disks that are in VIO server is 51G. How would I know which is the newly... (3 Replies)
Discussion started by: solaix14
3 Replies

5. Solaris

Find LUN with WWN

Hello all, I need find in my OS (Sun10) on LUN 1Tb with WWN 6005-08b4-0010-7137-0000-e000-0076-0000 (HBA) How do it?, Thanks, (3 Replies)
Discussion started by: aav1307
3 Replies

6. HP-UX

Disk file and Lun Number

HI all, I am confused when I am seeing the output of bdf command ioscan -fnC disk, there is no same files which i have seen in bdf output and ioscan output...One volume was mounted in one folder called /teldb and device file path was /dev/disk/disk48. The same i didnt found in ioscan disk... (6 Replies)
Discussion started by: selvaforum
6 Replies

7. AIX

Not getting Lun Id

Hi, I am not getiting lun id information on VIO Server. I have used the command fget_config command. just showing # prompt. I would like know wheather any other command is there equiv of fget_config which will display lun id? (4 Replies)
Discussion started by: manoj.solaris
4 Replies

8. Solaris

How can i find the LUN ID's

Dear all, i want to get the LUN ID for some disks in solaris 10 what commands options for the MPXIO and inq i want these utilities only because i don't have solution enabler or powerpath BR, (1 Reply)
Discussion started by: maxim42
1 Replies

9. UNIX for Dummies Questions & Answers

Which disk is LUN?

how do I know which hdisk from "lsdev -Cc disk" is my LUN on NetApp after zoning from SAN switch? is it "MPIO other FC SCSI Disk Drive"? (1 Reply)
Discussion started by: malayo
1 Replies

10. HP-UX

HP-UX how formating LUN disk

Hello folks, I have Hp.ux 11.31 and I need know how formating in OS new LUN disk attach to system e.g. the wwid: # scsimgr lun_map -D /dev/rdisk/disk4 LUN PATH INFORMATION FOR LUN : /dev/rdisk/disk4 Total number of LUN paths = 2 World Wide Identifier(WWID) =... (3 Replies)
Discussion started by: aav1307
3 Replies
Jifty::DateTime(3pm)					User Contributed Perl Documentation				      Jifty::DateTime(3pm)

NAME
Jifty::DateTime - a DateTime subclass that knows about Jifty users SYNOPSIS
use Jifty::DateTime; # Get the current date and time my $dt = Jifty::DateTime->now; # Print out the pretty date (i.e., today, tomorrow, yesterday, or 2007-09-11) Jifty->web->out( $dt->friendly_date ); # Better date parsing my $dt_from_human = Jifty::DateTime->new_from_string("next Saturday"); DESCRIPTION
Jifty natively stores timestamps in the database in GMT. Dates are stored without timezone. This class loads and parses dates and sets them into the proper timezone. To use this DateTime class to it's fullest ability, you'll need to add a "time_zone" method to your application's user object class. This is the class returned by "user_object" in Jifty::CurrentUser. It must return a value valid for using as an argument to DateTime's "set_time_zone()" method. new ARGS See "new" in DateTime. If we get what appears to be a date, then we keep this in the floating datetime. Otherwise, set this object's timezone to the current user's time zone, if the current user's user object has a method called "time_zone". now ARGS See "now" in DateTime. If a time_zone argument is passed in, then this wrapper is effectively a no-op. OTHERWISE this will always set this object's timezone to the current user's timezone. Without this, DateTime's "now" will set the timezone to UTC always (by passing "time_zone => 'UTC'" to "Jifty::DateTime::new". We want Jifty::DateTime to always reflect the current user's timezone (unless otherwise requested, of course). from_epoch ARGS See "from_epoch" in DateTime and "now" in Jifty::DateTime. This handles the common mistake of "from_epoch($epoch)" as well. current_user [CURRENTUSER] When setting the current user, update the timezone appropriately. If an "undef" current user is passed, this method will find the correct current user and set the time zone. current_user_has_timezone Return timezone if the current user has one. This is determined by checking to see if the current user has a user object. If it has a user object, then it checks to see if that user object has a "time_zone" method and uses that to determine the value. set_current_user_timezone [DEFAULT_TZ] set_current_user_time_zone [DEFAULT_TZ] Set this Jifty::DateTime's timezone to the current user's timezone. If that's not available, then use the passed in DEFAULT_TZ (or GMT if not passed in). Returns the Jifty::DateTime object itself. If your subclass changes this method, please override "set_current_user_timezone" not "set_current_user_time_zone", since the latter is merely an alias for the former. new_from_string STRING[, ARGS] Take some user defined string like "tomorrow" and turn it into a "Jifty::Datetime" object. If a "time_zone" argument is passed in, that is used for the input time zone. If the string appears to be a _date_, the output time zone will be floating. Otherwise, the output time zone will be the current user's time zone. As of this writing, this uses Date::Manip along with some internal hacks to alter the way Date::Manip normally interprets week day names. This may change in the future. friendly_date Returns the date given by this "Jifty::DateTime" object. It will display "today" for today, "tomorrow" for tomorrow, or "yesterday" for yesterday. Any other date will be displayed in "ymd" format. We currently shift by "24 hours" to detect yesterday and tomorrow, rather than "1 day" because of daylight saving issues. "1 day" can result in invalid local time errors. is_date Returns whether or not this "Jifty::DateTime" object represents a date (without a specific time). Dates in Jifty are in the floating time zone and are set to midnight. get_tz_offset Returns the offset for a time zone. If there is no current user, or the current user's time zone is unset, then UTC will be used. The optional datetime argument lets you calculate an offset for some time other than "right now". jifty_serialize_format This returns a DateTime (or string) consistent with Jifty's date format. WHY
? There are other ways to do some of these things and some of the decisions here may seem arbitrary, particularly if you read the code. They are. These things are valuable to applications built by Best Practical Solutions, so it's here. If you disagree with the policy or need to do it differently, then you probably need to implement something yourself using a DateTime::Format::* class or your own code. Parts may be cleaned up and the API cleared up a bit more in the future. SEE ALSO
DateTime, DateTime::TimeZone, Jifty::CurrentUser LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself. perl v5.14.2 2011-01-24 Jifty::DateTime(3pm)
All times are GMT -4. The time now is 11:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy