The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to install Linux on an external 320 gigabyte hard drive bsandeep_80 UNIX for Advanced & Expert Users 5 03-26-2008 12:15 PM
The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive sirbijan Filesystems, Disks and Memory 0 04-05-2006 11:19 AM
Wiping UNIX Hard Drive rocky123 UNIX for Dummies Questions & Answers 10 10-10-2002 05:42 AM
Format Hard Drive in Linux syedifti UNIX for Dummies Questions & Answers 2 10-31-2001 04:54 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-11-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
Exclamation Can Linux pick up Unix Hard Drive?

This is an urgent problem for me!!

There is a UNIX based SCSI Hard Drive installed in a legacy system. I have to transfer all the contents of this hard drive, including the UNIX operating system and some cobol based programs and data files to another hard drive.

How to do this?

I thought of a way: Perhaps I could take out the SCSI hard drive and install in it in a LINUX based PC. Will the Linux operating system automatically pick up the Unix SCSI hard drive and will I be able to copy all the contents to the Linux hard dirve?

Anyone, please help.
Reply With Quote
Forum Sponsor
  #2  
Old 07-11-2007
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
SCSI works on all systems (there are a few SCSI standards, but all are supported), it is a universal standard. This however, does not insure that you can mount the disk, that is based on the filesystem type.

The fundamental question is:

What is the filesystem type (or types) of the hard disk?
Reply With Quote
  #3  
Old 07-12-2007
Registered User
 

Join Date: Jul 2007
Posts: 2
Message for Neo

I posted a thread in the UNIX for Advanced & Expert Users forum titled Can Linux pick up Unix Hard Drive?". This was repleid by Neo. I want to relay the following message to Neo:

All I know is that the hard drive has UNIX installed on it. I don't know whether UNIX uses more than one file systems. Please tell me whether there are more than one and what are their names.

Thank you
Reply With Quote
  #4  
Old 07-12-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,328
Quote:
Originally Posted by zahid.amin View Post
All I know is that the hard drive has UNIX installed on it. I don't know whether UNIX uses more than one file systems. Please tell me whether there are more than one and what are their names.
Ok, let me ask you another question. What UNIX is installed on it? You do know that there are many different *nix systems. Depending on that, the filesystem type may be different. And yes, there are many different filesystem types used by the different UNIX systems. Sun's Solaris uses UFS by default, HP's HP-UX uses HFS and VxFS, IBM's AIX uses JFS...
Linux supports many different filesystems, so there is a chance that your's may be supported.
Reply With Quote
  #5  
Old 07-26-2007
Registered User
 

Join Date: Apr 2006
Posts: 26
"...I have to transfer all the contents of this hard drive..."

If this is the case then you don't have to worry about Linux being able to mount the drive. You could attach the drive to the Linux box's SCSI controller and when it appears use the 'dd' command (google for it, dd is powerful[ly destructive - beware!] and a good command to know) to transfer the entire contents of the drive bit-for-bit (*exact* copy - blank space and all) to another drive, or an image file.

example usage:
#copies the *entire* drive to the image file /tmp/driveimage.img, where the drive has been recognised as the first SCSI disk on the system

dd if=/dev/sda of=/tmp/driveimage.img


#copies the first partition on the drive to the image file /tmp/part1.img
dd if=/dev/sda1 of=/tmp/part1.img

caveat! - if LVM has been involved then this I don't know what the effects might be - could get rather odd.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0