It still depends on your exact requirements. Say you have mounted the first slice of the old disk thusly:
mount /dev/dsk/c2t2d0s0 /mnt
And you want to copy everything off it to /foo
then...
cd /mnt
tar cf - ./ | ( cd /foo; tar xf - )
There are further options you can add to tar for preserving ownership and permissions, etc
Cheers
ZB
Since this is Solaris I prefer the following to what ZB posted as it does not suffer from the same patch length restrictions are the tar command above:
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
I will leave the University I am working, but I need to backup and transfer my research data from UNIX system in our department to my own 750G Hard Drive Storage. But I am not familiar with UNIX. How to do this? Thank you. (5 Replies)
alright guys, this is a pretty noob question but I need a script that will take a tarred folder "Animals" from cd and copy and extract it to replace an existing folder on hard drive called "Animals". (to give us more variations for another program which we don't need to worry about here), take the... (1 Reply)
I have an old Pentium 4 PC running Solaris 9. The system has two 40gig IDE hard drives. I removed the drives and, using a hard disk duplicating device, "cloned" both drives. I installed the new drives in the PC. The system boots but I get a message that X-Term will not run on the console. If I... (4 Replies)
Hi,
I`m trying to copy an entire directory(with numerous files, folders and subfolders etc, a content size of 500gigs) from a linux machine running Red Hat Enterprise Linux 6 to an external hard drive on my windows.
I downloaded and installed psftp on my windows and I can login using psftp... (9 Replies)
Hi all, I am a bit of a beginner with shell scripting..
What I want to do is merge two drives, for example moving all data from X to Y.
If a file in X doesn't exist in Y, it will be moved there.
If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
My code is this, what I'm trying to accomplish is to make a list of all pdf documents in my computer and then copy all of those documents to my external hard drive in a directory
mkdir /Volumes/Hardrive-1/allpdf
echo "File Locations" > /Volumes/Hardrive-1/allpdf/FileLocations.txt
mdfind pdf... (2 Replies)
To Solaris 8 Experts,
Please let me know what's the best method / procedure as well as the Solaris 8 commands for accomplishing the following tasks on a production Sun Enterprise 250 Server running Sun Solaris 8 Operating System:
1. Make an exact image/copy of the SCSI Hard Drive in the... (3 Replies)
Discussion started by: ssabet
3 Replies
LEARN ABOUT DEBIAN
array-info
array-info(1)array-info(1)NAME
array-info - check the status of a HP (Compaq) SmartArray controller
SYNOPSIS
array-info -d array_device_path [-a|-l|-A|-c|-s|-L|-h]
DESCRIPTION
Array-info is a command line tool to retrieve informations and logical drives status from several RAID controllers (currently HP Compaq IDA
and CISS and MD). It displays informations about the firmware version, Rom revision, number of physical and logical drives on the con-
troller, aswell as the fault tolerance, size, number of physical disks and status for each logical drive.
OPTIONS --device | -d
Path to array device, e.g. /dev/ida/c0d0 or /dev/cciss/c0d1
--all-drives | -a
Show informations about all drives
--logical drive | -l
Show informations about selected logical drive
--show-ctrl | -c
Show informations about controller
--show-logical | -L
Show informations about logical drives
--show-physical | -p
Show physical device informations
--show-status | -s
Show status of logical drives
--show-all | -A
Show all informations
--version | -V
Show version
-h Show help about options
COPYRIGHT
This manual page was written by Raphael Pinson <<raphink@ubuntu.com>>. Permission is granted to copy, distribute and/or modify this docu-
ment under the terms of the GNU General Public License, Version 2 or any later version published by the Free Software Foundation.
2006-12-15 array-info(1)