Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory How to mount and read vintage scsi HDD Post 302263899 by 82026 on Tuesday 2nd of December 2008 03:43:33 PM
Old 12-02-2008
How to mount and read vintage scsi HDD

I started on another thread and full story can be seen here: https://www.unix.com/security/91428-h...-system-v.html

But my situation turned to land on this thread now.

I have old scsi HDD out of the UHC UNIX System V Rel. 4.0 Version 3.6 box. And need to read it somehow on another box. Installed Ubuntu linux, but cant mount it. There is what i have (i need to read Maxtor scasi disk):


:~$ sudo cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: MAXTOR Model: LXT-340S Rev: 6.73
Type: Direct-Access ANSI SCSI revision: 01 CCS
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: HDS722580VLAT20 Rev: V32O
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: Optiarc Model: DVD RW AD-5170A Rev: 1.11
Type: CD-ROM ANSI SCSI revision: 05

:~$ sudo dmesg | grep scsi
[ 8.926221] scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
[ 8.950492] scsi 0:0:0:0: Direct-Access MAXTOR LXT-340S 6.73 PQ: 0 ANSI: 1 CCS
[ 8.950564] scsi target0:0:0: Beginning Domain Validation
[ 8.955245] scsi target0:0:0: Ending Domain Validation
[ 8.957703] scsi1 : pata_via
[ 8.958090] scsi2 : pata_via
[ 9.348617] scsi: waiting for bus probes to complete ...
[ 10.541503] scsi 0:0:0:0: Attached scsi generic sg0 type 0
[ 10.543664] scsi 1:0:0:0: Direct-Access ATA HDS722580VLAT20 V32O PQ: 0 ANSI: 5
[ 10.544425] scsi 1:0:0:0: Attached scsi generic sg1 type 0
[ 10.545977] scsi 2:0:1:0: CD-ROM Optiarc DVD RW AD-5170A 1.11 PQ: 0 ANSI: 5
[ 10.546636] scsi 2:0:1:0: Attached scsi generic sg2 type 5
[ 11.311560] sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[ 11.311903] sr 2:0:1:0: Attached scsi CD-ROM sr0

:~$ sudo fdisk -l
Disk /dev/sda: 340 MB, 340558848 bytes
64 heads, 32 sectors/track, 324 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0x46df0dca
Device Boot Start End Blocks Id System
/dev/sda3 1 16 16368 1 FAT12
/dev/sda4 * 17 324 315392 63 GNU HURD or SysV
Disk /dev/sdb: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a7ade

:~$ sudo mount -t sysv /dev/sda /mnt/maxtor
mount: wrong fs type, bad option, bad superblock on /dev/sda4,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Anybody knows what can be wrong here? Or how to read it?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

2. UNIX for Dummies Questions & Answers

how do i mount a scsi extrnal cdrom on solaris 2?

ok i have had it i need help i am in 11th grade and i cant figure how to mount the dumb cdrom on the sparcstation 2. i have tried everything i know and it still doesnt see it. by the way this is for school so please help me. Jon aka wixifer (1 Reply)
Discussion started by: wixifer
1 Replies

3. Solaris

How to mount External HDD in VMware 6.0

Hi Friends, I am using VMware 6.0 and i want to transfer some files from External HDD so how to mount the Disk, and i am not able to assign any ip to my network card any one can help me how to set ip in VMware. Thanks and Regards, Venky.:b: (0 Replies)
Discussion started by: 1409.venkatesh
0 Replies

4. Windows & DOS: Issues & Discussions

NFS HDD mount on Windows XP

Hi, Unix based, My harddrive won't boot and I'm looking for a reliable tool that can mount a hdd on Windows XP and show me the files stored on a NFS system. I tried the tool: Ext2IFS but this didn't work. I found a lot of tools on google to mount nfs share thru a network but that's... (1 Reply)
Discussion started by: severt
1 Replies

5. UNIX for Dummies Questions & Answers

Scsi Hdd

i read the reply at this link https://www.unix.com/unix-dummies-que...d-backups.html and i really surprised and i want to know if it must the mirrored HDD be on the secondary SCSI port and the operated HDD on Primary SCSI port? thanks (3 Replies)
Discussion started by: hatemeid
3 Replies

6. SCO

Sco 5.06 How To Mount A 2nd Hdd Help Help!!!!

Hi guys, I have this problem , One of our client's hdd went down and we cannot boot up the machine , I've installed a new hdd with a fresh copy of SCO 5.0.6 same as the one in the old HDD, i think the data still good in the old HDD. My question!!! How can i access the data from the fresh... (4 Replies)
Discussion started by: josramon
4 Replies

7. SCO

i can't read hard disk scsi

i was installing i my computer windows xp and sco when i use knoppix5.0 live to read scsi partition wish sco was installing show me message that i have not permission to acces in scsi hard drive help me please (1 Reply)
Discussion started by: walidfinder
1 Replies

8. SCO

Dd (raw) image of SCO 5.0.6 mount as second hdd

Hi all I have read about mounting crashed HDD from a sco system in this forum. However this I received an image on raw format of the crashed system that was using an IDE HDD. Which method should I mount my image? IDE scsi or USB? The image is stores in an external connected through USB . Also... (4 Replies)
Discussion started by: OrangeKenny
4 Replies

9. Solaris

How to mount ntfs for storage HDD new to Solaris 11.2?

I just installed Solaris 11.2 - and it is a bugger. How do I mount an extra HDD that is now formated to NTFS through gparted it keeps telling me I don't have any ntfs on this laptop. it has two hdds, /dev/sda1 /dev/sdb1 (Linux lingo) Solaris is installed on primary hard drive back of it. then... (2 Replies)
Discussion started by: userx-bw
2 Replies

10. Emergency UNIX and Linux Support

2nd hdd is Linux_lvm can't mount MBR on BSD with GPT

rying it this way, because I can't handle the slices for the second hdd. If there is someone on this forum who can help me out of that misery, he would really save my digital life in this digital ocean. So not giving up, reading several times the manual of gpart. But the best hint in all that... (0 Replies)
Discussion started by: 1in10
0 Replies
CCISS_VOL_STATUS(8)													       CCISS_VOL_STATUS(8)

NAME
cciss_vol_status - show status of logical drives attached to HP Smartarray controllers SYNOPSIS
cciss_vol_status [OPTION] [DEVICE]... DESCRIPTION
Shows the status of logical drives configured on HP Smartarray controllers. OPTIONS
-p, --persnickety Without this option, device nodes which can't be opened, or which are not found to be of the correct device type are silently ignored. This lets you use wildcards, e.g.: cciss_vol_status /dev/sg* /dev/cciss/c*d0, and the program will not complain as long as all devices which are found to be of the correct type are found to be ok. However, you may wish to explicitly list the devices you expect to be there, and be notified if they are not there (e.g. perhaps a PCI slot has died, and the system has rebooted, so that what was once /dev/cciss/c1d0 is no longer there at all). This option will cause the program to complain about any device node listed which does not appear to be the right device type, or is not openable. -C, --copyright If stderr is a terminal, Print out a copyright message, and exit. -q, --quiet This option doesn't do anything. Previously, without this option and if stderr is a terminal, a copyright message precedes the nor- mal program output. Now, the copyright message is only printed via the -C option. -s Query each physical drive for S.M.A.R.T data and report any drives in "predictive failure" state. -u, --try-unknown-devices If a device has an unrecognized board ID, normally the program will not attempt to communicate with it. In case you have some Smart Array controller which is newer than this program, the program may not recognize it. This option permits the program to attempt to interrogate the board even if it is unrecognized on the assumption that it is in fact a Smart Array of some kind. -v, --version Print the version number and exit. -x, --exhaustive Deprecated. Previously, it "exhaustively" searched for logical drives, as, under some circumstances some logical drives might oth- erwise be missed. This option no longer does anything, as the algorithm for finding logical drives was changed to obviate the need for it. DEVICE
The DEVICE argument indicates which RAID controller is to be queried. Note, that it indicates which RAID controller, not which logical drive. For the cciss driver, the "d0" nodes matching "/dev/cciss/c*d0" are the nodes which correspond to the RAID controllers. (See note 1, below.) It is not necessary to invoke cciss_vol_status on each logical drive individually, though if you do this, each time it will report the status of ALL logical drives on the controller. For the hpsa driver, or for fibre attached MSA1000 family devices, or for the hpahcisr sotware RAID driver which emulates Smart Arrays, the RAID controller is accessed via the scsi generic driver, and the device nodes will match "/dev/sg*" Some variants of the "lsscsi" tool will easily identify which device node corresponds to the RAID controller. Some variants may only report the SCSI nexus (con- troller/bus/target/lun tuple.) Some distros may not have the lsscsi tool. Executing the following query to the /sys filesystem and correlating this with the contents of /proc/scsi/scsi or output of lsscsi can help in finding the right /dev/sg node to use with cciss_vol_status: wumpus:/home/scameron # ls -l /sys/class/scsi_generic/* lrwxrwxrwx 1 root root 0 2009-11-18 12:31 /sys/class/scsi_generic/sg0 -> ../../devices/pci0000:00/0000:00:02.0/0000:02:00.0/0000:03:03.0/host0/target0:0:0/0:0:0:0/scsi_generic/sg0 lrwxrwxrwx 1 root root 0 2009-11-18 12:31 /sys/class/scsi_generic/sg1 -> ../../devices/pci0000:00/0000:00:1f.1/host2/target2:0:0/2:0:0:0/scsi_generic/sg1 lrwxrwxrwx 1 root root 0 2009-11-19 07:47 /sys/class/scsi_generic/sg2 -> ../../devices/pci0000:00/0000:00:05.0/0000:0e:00.0/host4/target4:3:0/4:3:0:0/scsi_generic/sg2 wumpus:/home/scameron # cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: COMPAQ Model: BD03685A24 Rev: HPB6 Type: Direct-Access ANSI SCSI revision: 03 Host: scsi2 Channel: 00 Id: 00 Lun: 00 Vendor: SAMSUNG Model: CD-ROM SC-148A Rev: B408 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi4 Channel: 03 Id: 00 Lun: 00 Vendor: HP Model: P800 Rev: 6.82 Type: RAID ANSI SCSI revision: 00 wumpus:/home/scameron # lsscsi [0:0:0:0] disk COMPAQ BD03685A24 HPB6 /dev/sda [2:0:0:0] cd/dvd SAMSUNG CD-ROM SC-148A B408 /dev/sr0 [4:3:0:0] storage HP P800 6.82 - From the above you can see that /dev/sg2 corresponds to SCSI nexus 4:3:0:0, which corresponds to the HP P800 RAID controller listed in /proc/scsi/scsi. EXAMPLE
[root@somehost]# cciss_vol_status -q /dev/cciss/c*d0 /dev/cciss/c0d0: (Smart Array P800) RAID 0 Volume 0 status: OK. /dev/cciss/c0d0: (Smart Array P800) RAID 0 Volume 1 status: OK. /dev/cciss/c0d0: (Smart Array P800) RAID 1 Volume 2 status: OK. /dev/cciss/c0d0: (Smart Array P800) RAID 5 Volume 4 status: OK. /dev/cciss/c0d0: (Smart Array P800) RAID 5 Volume 5 status: OK. /dev/cciss/c0d0: (Smart Array P800) Enclosure MSA60 (S/N: USP6340B3F) on Bus 2, Physical Port 1E status: Power Supply Unit failed /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 0 status: OK. /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 1 status: OK. /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 2 status: OK. /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 3 status: OK. /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 4 status: OK. /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 5 status: OK. /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 6 status: OK. /dev/cciss/c1d0: (Smart Array P800) RAID 5 Volume 7 status: OK. [root@someotherhost]# cciss_vol_status -q /dev/sg0 /dev/cciss/c*d0 /dev/sg0: (MSA1000) RAID 1 Volume 0 status: OK. At least one spare drive. /dev/sg0: (MSA1000) RAID 5 Volume 1 status: OK. /dev/cciss/c0d0: (Smart Array P800) RAID 0 Volume 0 status: OK. [root@localhost]# ./cciss_vol_status -s /dev/sg1 /dev/sda: (Smart Array P410i) RAID 0 Volume 0 status: OK. connector 1I box 1 bay 1 HP DG072A9BB7 B365P6803PCP0633 HPD0 S.M.A.R.T. predictive failure. [root@localhost]# echo $? 1 [root@localhost]# ./cciss_vol_status -s /dev/cciss/c0d0 /dev/cciss/c0d0: (Smart Array P800) RAID 0 Volume 0 status: OK. connector 2E box 1 bay 8 HP DF300BB6C3 3LM08AP700009713RXUT HPD3 S.M.A.R.T. predictive failure. /dev/cciss/c0d0: (Smart Array P800) Enclosure MSA60 (S/N: USP6340B3F) on Bus 2, Physical Port 2E status: OK. DIAGNOSTICS
Normally, a logical drive in good working order should report a status of "OK." Possible status values are: "OK." (0) - The logical drive is in good working order. "FAILED." (1) - The logical drive has failed, and no i/o to it is poosible. Additionally, failed drives will be identified by connector, box and bay, as well as vendor, model, serial number, and firmware revision. "Using interim recovery mode." (3) - One or more drives has failed, but not so many that the logical drive can no longer operate. The failed drives should be replaced as soon as possible. "Ready for recovery operation." (4) - Failed drive(s) have been replaced, and the controller is about to begin rebuilding redundant parity data. "Currently recovering." (5) - Failed drive(s) have been replaced, and the controller is currently rebuilding redundant parity information. "Wrong physical drive was replaced." (6) - A drive has failed, and another (working) drive was replaced. "A physical drive is not properly connected." (7) - There is some cabling or backplane problem in the drive enclosure. (From fwspecwww.doc, see cpqarray project on sourceforge.net): Note: If the unit_status value is 6 (Wrong physical drive was replaced) or 7 (A physical drive is not properly connected), the unit_status of all other configured logical drives will be marked as 1 (Logical drive failed). This is to force the user to correct the problem and to insure that once the problem is corrected, the data will not have been corrupted by any user action. "Hardware is overheating." (8) - Hardware is too hot. "Hardware was overheated." (9) - At some point in the past, the hardware got too hot. "Currently expannding." (10) - The controller is currently in the process of expanding a logical drive. "Not yet available." (11) - The logical drive is not yet finished being configured. "Queued for expansion." (12) - The logical drive will be expended when the controller is able to begin working on it. Additionally, the following messages may appear regarding spare drive status: "At least one spare drive designated" "At least one spare drive activated and currently rebuilding" "At least one activated on-line spare drive is completely rebuilt on this logical drive" "At least one spare drive has failed" "At least one spare drive activated" "At least one spare drive remains available" Active spares will be identified by connector, box and bay, as well as by vendor, model, serial number, and firmware revision. For each logical drive, the total number of failed physical drives, if more than zero, will be reported as: "Total of n failed physical drives detected on this logical drive." with "n" replaced by the actual number, of course. "Replacement" drives -- newly inserted drives that replace a previously failed drive but are not yet finished rebuilding -- are also iden- tified by connector, box and bay, as well as by vendor, model, serial number, and firmware revision. If the -s option is specified, each physical drive will be queried for S.M.A.R.T data, any any drives in predictive failure state will be reported, identified by connector, box and bay, as well as vendor, model, serial number, and firmware revision. Additionally failure conditions of disk enclosure fans, power supplies, and temperature are reported as follows: "Fan failed" "Temperature problem" "Door alert" "Power Supply Unit failed" FILES
/dev/cciss/c*d0 (Smart Array PCI controllers using the cciss driver) /dev/sg* (Fibre attached MSA1000 controllers and Smart Array controllers using the hpsa driver or hpahcisr software RAID driver.) EXIT CODES
0 - All configured logical drives queried have status of "OK." 1 - One or more configured logical drives queried have status other than "OK." AUTHOR
Written by Stephen M. Cameron REPORTING BUGS
MSA500 G1 logical drive numbers may not be reported correctly. I've seen enclosure serial numbers contain garbage. Report bugs to <steve.cameron@hp.com> COPYRIGHT
Copyright (C) 2007 Hewlett-Packard Development Company, L.P. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
http://cciss.sourceforge.net NOTE 1 The /dev/cciss/c*d0 device nodes of the cciss driver do double duty. They serve as an access point to both the RAID controllers, and to the first logical drive of each RAID controller. Notice that a /dev/cciss/c*d0 node will be present for each controller even if no logical drives are configured on that controller. It might be cleaner if the driver had a special device node just for the controller, instead of making these device nodes do double duty. It has been like that since the 2.2 linux kernel timeframe. At that time, device major and minor nodes were statically allocated at compile time, and were in short supply. Changing this behavior at this point would break lots of userland programs. cciss_vol_status (ccissutils) Nov 2009 CCISS_VOL_STATUS(8)
All times are GMT -4. The time now is 04:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy