08-18-2009
Non-Root mode ... luxadm to show path(s) for Disks
Hi Gurus out there...
I am pondering over a situation where I have non-root access (user account), where I am trying to determine paths (including multipaths) on a host.
"luxadm display" seems very appropriate, but requires root access.
Is there anyway I can get the FC path information?
Even "luxadm probe" seems to give the paths, but seems very inconsistent across hosts.
Please any help if there is anyother way to determine paths for disks on a host?
Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I am trying to format my prompt in a KSH to show the relative path
currently it is PS1='$PWD >' /home/users/dir/dir/dir >
I want to display it as /home/users/.../.../dir > :rolleyes: (2 Replies)
Discussion started by: truma1
2 Replies
2. UNIX for Dummies Questions & Answers
Hello I'm new to this forum. So please spare me!
I'm using SCO UnixWare 7.1.4 and created a few accounts. So far so good.
When I login I see: $.
But here I want to see (for example),
/home
25$
So I want to see the pathname where I am without each time typing pwd (2 Replies)
Discussion started by: p.vvugt
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all
say i like to find files i do :
find . -name "*.txt"
but if i like to find ( and print out ) only the path's where the files are ( the *.txt files )
what can i add to the find command ? (1 Reply)
Discussion started by: umen
1 Replies
4. Solaris
Hi All,
I'm actually trying to configure a Qlogic HBA on a solaris9 connecting in a Brocade SAN. I installed Solaris9 and now trying to look at FC devices..
bash-2.05# luxadm -e port
Found path to 0 HBA ports
bash-2.05# luxadm probe
No Network Array enclosures found in /dev/es... (7 Replies)
Discussion started by: ilan
7 Replies
5. Solaris
Hello All,
I am trying to mirror two non-root hard drives using zfs. But "fmthard" fails when I try to copy the vtoc due to disk mismatch. Please help me.
--- iostat command shows the disk to be similiar
--- format command shows disk to be different :confused:
--- c1t2d0 is the active... (8 Replies)
Discussion started by: pingmeback
8 Replies
6. Solaris
I'm trying to figure if there are commands I can run as non-root/non-privileged users to figure out the number of disks. I know I can use format but it needs root. Any idea? (10 Replies)
Discussion started by: PPPP
10 Replies
7. Shell Programming and Scripting
Hey
I'm new to the forums here, and I'm seeking help for this script that I'm writing. When I do ls -l of a directory it shows the full pathname for files in it. For example, if the directory is /internet/post/forum/ and the file is topic, it currently shows internet/post/forum/topic. What's the... (3 Replies)
Discussion started by: unity04
3 Replies
8. Solaris
Hi all!
Please I would appreciate some inputs on the following:
I have inherited a SUN BLADE chassis with 6 T6320 server modules, in which there is only 1 root disk in all of them. I need to do a backup of the root disk in case those disk crash. But there is no backup device attached to it.... (6 Replies)
Discussion started by: fretagi
6 Replies
9. UNIX for Advanced & Expert Users
The ipcs -q command output includes a MODE column which tells user if the process is waiting on read or write on the queue. I used this in scripts on many systems (Solaris, AIX, SCO)
a snippet from man
MODE (all)
The facility access modes and flags: The mode consists of
11... (2 Replies)
Discussion started by: migurus
2 Replies
10. Solaris
Hi !
I wonder if in solaris 10 there is a utility similar to ignite in HP-UX that backup entire file systems (/, /usr, /var, /tmp, /home).
I have to backup only the root disk of a server, but ufsdump seem to be backing up individual file systems....only, am I correct? (1 Reply)
Discussion started by: fretagi
1 Replies
LEARN ABOUT OSX
svk::log::changedpaths
SVK::Log::ChangedPaths(3) User Contributed Perl Documentation SVK::Log::ChangedPaths(3)
NAME
SVK::Log::ChangedPaths - partly lazy list of SVK::Log::ChangedPath objects
SYNOPSIS
use SVK::Log::ChangedPaths;
my $changed_paths = SVK::Log::ChangedPaths->new( $root );
for my $changed_path ( $changed_paths->paths() ) {
...
}
DESCRIPTION
An object of this class represents a collection of details about the files/directories that were changed in a particular revision. Some
log filters want access to information about which paths were affected during a certain revision and others don't. Using this object
allows the calculation of path details to be postponed until it's truly needed.
METHODS
new
Accepts the return value of "SVK::Path->root()" as a parameter and constructs a SVK::Log::ChangedPaths object from it.
paths
Returns a list of SVK::Log::ChangedPath objects each of which represents the details of the changes to a particular path.
DIAGNOSTICS
None
CONFIGURATION AND ENVIRONMENT
SVK::Log::ChangedPaths requires no configuration files or environment variables.
DEPENDENCIES
o SVK::Log::ChangedPath
INCOMPATIBILITIES
None known
BUGS AND LIMITATIONS
None known
perl v5.10.0 2008-08-04 SVK::Log::ChangedPaths(3)