Sponsored Content
Top Forums UNIX for Advanced & Expert Users scsi sda device not mounting !! Post 58079 by TioTony on Saturday 13th of November 2004 12:17:15 AM
Old 11-13-2004
If you do an 'fdisk /dev/sda' and then type 'p' to display the partitions, what do you see?

Taking the answers from above, are you able to run fsck against the partitions?
 

10 More Discussions You Might Find Interesting

1. Solaris

mounting an external scsi tape drive

hi- I just installed a quad gigaswift ethernet scsi card to my sunblade 150. I checked with the docs, and got all of the required drivers on the box. Now, I'm trying to mount an external scsi tape drive with no luck. I set the scsi address on the external drive to 0. Here's what I'm coming... (9 Replies)
Discussion started by: ECBROWN
9 Replies

2. UNIX for Dummies Questions & Answers

Mounting a flash device

How do you mount a USB flash drive on Sun Blade 2000 or 2500 with solaris 8? Thanks in advance ;) (1 Reply)
Discussion started by: xeroxtechnician
1 Replies

3. UNIX for Advanced & Expert Users

NOTICE: Stp: SCSI tape 0 device 46/0 offline

:( If anyone has solved this problem, please help me! Thanks in advance! (0 Replies)
Discussion started by: FCollet
0 Replies

4. UNIX for Advanced & Expert Users

NOTICE: Stp: SCSI tape 0 device 46/0 not ready

If somebody solve this error please help! Thanks in advance! (5 Replies)
Discussion started by: FCollet
5 Replies

5. UNIX for Dummies Questions & Answers

Notice Stp:SCSI tape 0 device 46/0 offline

My computer which uses scoUNIX, has an internal scsi tape backup. It will no longer backup . It posts this message Notice :Stp tape 0 device 46/0 offline. This has been discussed before by the forum and I'd appreciate any help that any expert could provide for me for a step wise approach to... (0 Replies)
Discussion started by: timothymhubbard
0 Replies

6. UNIX for Advanced & Expert Users

Notice: STP:SCSI tape 0 device 46/0 offline

My tape drive is not backing up my data. This is the message that comes up as the computer starts up each morning. Notice Stp:SCSI tape 0 device 46/0 offline. The computer is equipped with a Seagate STD 24000N internal tape drive and the green indicator light on it continuously is on but the amber... (0 Replies)
Discussion started by: timothymhubbard
0 Replies

7. Linux

mounting usb device

Hi Folks, I want to know how to mount usb device (cd,dvd etc) in linux, Regards, Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies

8. UNIX and Linux Applications

Mounting a USB device with a predetermined name

When I attach a USB storage device to my Solaris server, the mount point is coming up as /rmdisk/unnamed_rmdisk Is there anyway I can have this device come up as a mounted device with a predetermined mount name eg /morespace rather than unnamed_rmdisk ? (0 Replies)
Discussion started by: jimthompson
0 Replies

9. Ubuntu

device size mismatch after mounting

Hi, I have a created a logical partition sda5 in ubuntu server 9.0.4. which is Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00053d78 Device Boot Start End ... (1 Reply)
Discussion started by: rac_oradba
1 Replies

10. Solaris

Legacy Ultra60 with Solaris 5.7 SCSI device reverse engineering

I'm looking for help with a legacy system. I have some obsolete equipment connected to an Ultra 60 running Solaris 5.7 with the binary for a 32 bit driver. The driver is rejected by newer versions of solaris, which run 64 bit kernels. I hope to reverse engineer the driver so that I can... (0 Replies)
Discussion started by: obsoleteStuff
0 Replies
SG_MAP(8)							     SG3_UTILS								 SG_MAP(8)

NAME
sg_map - displays mapping between linux sg and other SCSI devices SYNOPSIS
sg_map [-a] [-h] [-i] [-n] [-scd] [-sd] [-sr] [-st] [-V] [-x] DESCRIPTION
Sometimes it is difficult to determine which SCSI device a sg device name (e.g. /dev/sg0) refers to. This command loops through the sg devices and finds the corresponding SCSI disk, cdrom or tape device name (if any). Scanners are an example of SCSI devices that have no alternate SCSI device name apart from their sg device name. OPTIONS
-a assume the sg devices have alphabetical device names and loop through /dev/sga, /dev/sgb, etc. Default is numeric scan. Note that sg device nodes with an alphabetical index have been deprecated since the linux kernel 2.2 series. -h print usage message then exit. -i in addition do a standard INQUIRY and output vendor, product and revision strings for devices that are found. -n assume the sg devices have numeric device names and loop through /dev/sg0, /dev/sg1, etc. Default is numeric scan -scd display mappings to SCSI cdrom device names of the form /dev/scd0, /dev/scd1 etc -sd display mappings to SCSI disk device names -sr display mappings to SCSI cdrom device names of the form /dev/sr0, /dev/sr1 etc -st display mappings to SCSI tape device names -V print out version string then exit (without further ado). -x after each active sg device name is displayed there are five digits: <host_number> <bus> <scsi_id> <lun> <scsi_type> NOTES
If no options starting with "-s" are given then the mapping to all SCSI disk, cdrom and tape device names is shown. If the device file system (devfs) is present a line noting this is output. The "native" devfs scsi hierarchy makes the relationship between a sg device name and any corresponding disk, cdrom or tape device name easy to establish. This replaces the need for this command. However many applications will continue to look for Linux SCSI device names in their traditional places. [Devfs supplies a compatibility daemon called devfsd whose default configuration adds back the Linux device names in their traditional positions. Quite often the mapping information can be derived by observing the output of the command: "cat /proc/scsi/scsi". However if devices have been added since boot this can be deceptive. In the linux kernel 2.6 series something close to the mapping shown by this utility can be found by analysing sysfs. The main difference is that sysfs analysis will show the mapping between sg nodes and other SCSI device nodes in terms of major and minor numbers. While major 8, minor 16 will usually be /dev/sdb this is not necessarily so. Facilities associated with udev may assign major 8, minor 16 some other device node name. This version of sg_map has been extended to cope with sparse disk device node names of the form "/dev/sd<str>" where <str> can be one of [a-z,aa-zz,aaa-zzz]. See the sg_map26 utility for a more precise way (i.e. less directory scanning) for mapping between sg device names and higher level names; including finding user defined names. This utility was written at a time when hotplugging of SCSI devices was not supported in Linux. It used a simple algorithm to scan sg device nodes in ascending numeric or alphabetical order, stopping after there were 5 consecutive errors. In the linux kernel 2.6 series, this utility uses sysfs to find which sg device nodes are active and only checks those. Hence there can be large "holes" in the numbering of sg device nodes (e.g. after an adapter has been removed) and still all active sg device nodes will be listed. This utility assumes that sg device nodes are named using the normal conventions and searches from /dev/sg0 to /dev/sg4095 inclu- sive. EXAMPLES
My system has a SCSI disk, a cd writer and a dvd player: $ sg_map # Note: the devfs pseudo file system is present /dev/sg0 /dev/sda /dev/sg1 /dev/sr0 /dev/sg2 /dev/sr1 In order to find which sg device name corresponds to the disk: $ sg_map -sd # Note: the devfs pseudo file system is present /dev/sg0 /dev/sda /dev/sg1 /dev/sg2 The "-x" option gives the following output: sg_map -x # Note: the devfs pseudo file system is present /dev/sg0 1 0 1 0 0 /dev/sda /dev/sg1 2 0 4 0 5 /dev/sr0 /dev/sg2 2 0 6 0 5 /dev/sr1 When a SCSI scanner is added the output becomes: $ sg_map # Note: the devfs pseudo file system is present /dev/sg0 /dev/sda /dev/sg1 /dev/sr0 /dev/sg2 /dev/sr1 /dev/sg3 By process of elimination /dev/sg3 must be the scanner. EXIT STATUS
The exit status of sg_map is 0 when it is successful. Otherwise see the sg3_utils(8) man page. AUTHOR
Written by Doug Gilbert REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>. COPYRIGHT
Copyright (C) 2000-2006 Douglas Gilbert This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. SEE ALSO
sg_map26(8) , scsi_info(8) , scsidev(8) , devfsd(8) sg3_utils-1.23 December 2006 SG_MAP(8)
All times are GMT -4. The time now is 09:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy