Sponsored Content
Full Discussion: Get # of disks as non-root
Operating Systems Solaris Get # of disks as non-root Post 302545853 by DukeNuke2 on Tuesday 9th of August 2011 05:49:12 PM
Old 08-09-2011
what is the output of "rmformat"? the 3rd drive could be your DVD or another external device...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies

2. Solaris

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? ... (1 Reply)
Discussion started by: verisund
1 Replies

3. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

4. Solaris

Disk mismatch while trying to zfs mirroring non-root disks

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

5. Solaris

Mirorr Solaris 10 5/09 root disks at install time

I'm going to install a fresh Solaris 10 5/09 install on a UFS on a server with 2 disks attached to a SCSI controller and i want to mirror those disks at install time is there any to do this , As far as i know Jump start and live upgrade are the sole way to do this , is there anyways except... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies

6. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

7. Solaris

Backup root disks

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

8. Shell Programming and Scripting

Find users with root UID or GID or root home

I need to list users in /etc/passwd with root's GID or UID or /root as home directory If we have these entries in /etc/passwd root:x:0:0:root:/root:/bin/bash rootgooduser1:x:100:100::/home/gooduser1:/bin/bash baduser1:x:0:300::/home/baduser1:/bin/bash... (6 Replies)
Discussion started by: anil510
6 Replies

9. UNIX for Dummies Questions & Answers

Can you gain root privileges if the suid program does not belong to root?

I had a question in my test which asked where suppose user B has a program with 's' bit set. Can user A run this program and gain root privileges in any way? I suppose not as the suid program run with privileges of owner and this program will run with B's privileges and not root. (1 Reply)
Discussion started by: syncmaster
1 Replies

10. Solaris

Backing up root disks

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
scsieject(1)						      General Commands Manual						      scsieject(1)

NAME
scsieject - control SCSI tape devices SYNOPSIS
scsieject [-f <scsi-generic-device>] commands DESCRIPTION
The scsieject command controls SCSI devices in a platform-independent manner. As long as 'mtx' works on the platform, so does 'scsieject'. OPTIONS
The first argument, given following -f , is the SCSI generic device corresponding to your tape drive. Consult your operating system's doc- umentation for more information (for example, under Linux these are generally /dev/sg0 through /dev/sg15, under FreeBSD these are /dev/pass0 through /dev/passX. Under Solaris this is usually the same as your tape drive (Solaris has a SCSI passthrough ioctl). You can set the STAPE or TAPE environment variable rather than use -f. COMMANDS
load Load the medium into the drive. When this command is issued to a CD/DVD drive and the tray is extended the tray will be retracted if the drive is capable of it. unload Unload the medium from the drive (also known as eject). When this command is issued to a CD/DVD drive or a tape drive the media will be ejected if the device supports it. start Start the device. Some devices require a start command after a media changer has loaded new media into the device. stop Stop the device. Some devices require a stop command prior to unloading the medium from the device when using a media changer. lock Lock the device. Locks the device so that the medium cannot be removed manually. unlock Unlock the device. Unlocks the device so that the medium can be removed manually. AUTHORS
This program was written by Robert Nelson <robertnelson@users.sourceforge.net> based on the scsitape program written by Eric Lee Green <eric@badtux.org>. Major portions of the 'mtxl.c' library used herein were written by Leonard Zubkoff. HINTS
Under Linux, cat /proc/scsi/scsi will tell you what SCSI devices you have. You can then refer to them as /dev/sga, /dev/sgb, etc. by the order they are reported. Under FreeBSD, camcontrol devlist will tell you what SCSI devices you have, along with which pass device controls them. Under Solaris 7 and 8, /usr/sbin/devfsadm -C will clean up your /devices directory. Then find /devices -name 'st@*' -print will return a list of all tape drives. /dev on Solaris is apparently only of historical interest. BUGS AND LIMITATIONS
There are no known bugs or limitations. AVAILABILITY
This version of scsieject is currently being maintained by Robert Nelson <robertnelson@users.sourceforge.net> as part of the 'mtx' suite of programs. The 'mtx' home page is http://mtx.sourceforge.net and the actual code is currently available there and via SVN from http://sourceforge.net/projects/mtx. SEE ALSO
loaderinfo(1),tapeinfo(1),mtx(1) scsieject1.0 scsieject(1)
All times are GMT -4. The time now is 12:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy