LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-27-2004, 05:26 AM   #1
jhill
LQ Newbie
 
Registered: Jul 2004
Location: Cheshire, UK
Distribution: SuSE 9.0
Posts: 6

Rep: Reputation: 0
Mounting a SCSI drive to image it.


I am currently in the process of setting up a server with a SCSI hard disk. This is the only drive in the machine. I want to be able to image some of the partitions on this drive to allow for an easy system restore.

I have two drive imaging packages. Partition Magic's Drive Image 5 which will read EXT2 (not EXT3 or Reiser) but not write to it meaning that I will have to create a FAT/NTFS partition to write to solely for the created image files.

I also have Paragon's Drive Backup 5.0 which claims to read and write to all linux filesystems. It boots of a CD into it's own linux OS. This seems to work fine on my dual boot machine with an IDE hard disk meaning that I can see all the drives. When I try it on the server machine with a SCSI hard disk it says that there is no Hard Drive installed!?

So, getting to my questions...

I am struggling to mount the drive from the command line. What is the SCSI device called? Is it sda1, because I can't see that in /dev/?
I have
  • /dev/scd0
  • /dev/scsi/host0/bus0/target0/lun0/+cd
  • /dev/scsi/host0/bus0/target0/lun0/-generic

If I locate the device where do I mount it?

Thank you.

PS If anyone has any recommendations for alternative imaging software I would love to hear them.
 
Old 07-27-2004, 06:30 AM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If it's the only hard disk on the machine, how can you not know what it's called? Where is your root partition mounted? What does it say in /etc/fstab ?
As for software to image a partition, what's wrong with good old tar?
tar cjf folder.tar.bz2 folder
That command will create a tar.bz2 archive of the folder you name, so if you have a partition mounted at /mnt/example
cd /mnt
tar cjf example.tar.bz2 example
then to expand that somewhere else, mount a different partition on /mnt/example then
cd /mnt
tar xjf example.tar.bz2
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help mounting an NTFS drive on a SCSI card Norrin Linux - Newbie 2 08-26-2006 11:44 AM
GRUB or LILO boot to SCSI drive on SCSI system w/ IDE card mkl838 Linux - General 1 03-06-2005 09:01 PM
mounting magneto-optical disks, external scsi drive freerangehuman Linux - Hardware 0 05-26-2004 01:11 PM
Mounting/Accessing a Scsi tape drive Tenover Linux - Newbie 1 10-14-2003 10:35 PM
Mounting a Solaris SCSI drive on Linux machine Crac Linux - Newbie 4 05-29-2002 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration