Copy of HP-UX from MO disc


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Copy of HP-UX from MO disc
# 1  
Old 10-19-2004
Copy of HP-UX from MO disc

This is my newbi question. I have HP-UX on a MO drive, need to backup that MO in case of damaging the original. Therefor I need a copy on server and be able to put that copy onto a blank MO to recreate a working bootable disc. This what I did.
First I tried to make a copy with dd

dd if=/dev/dsk/c1t0d0 bs=1048576 count=450 of=backup.copy
The data on disc is about 300Mb so 450 would be enough i thought. Not working, som of the files were corrupted. Tried without the count and just backed up the whole MO, same thing. Tried cat /dev/dsk/c1t0d0 >backup.copy, same thing. But on the latter I came a bit futher, almost ½ of the install sequence before it found a corruped filed and quit. Is there a better way?
I would prefer to specify the filesize, cause it seems unnessesary tu put about 1.3Gb file on server when the files on MO is about 300Mb. Can this be fixed?
Hope someone understand my newbi question....
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Disc is full - NOT! How to fix?

When I try to create a new text file on my server, via FTP, I get an error that the destination drive / disk is full. This is not true. I have at least 3-4 GB of space left. How can this be? Have not had this problem before, until today. I'm pretty new to Linux, and am therefore grateful for... (4 Replies)
Discussion started by: Guldstrand
4 Replies

2. Solaris

Ultra 10 - Copying Files From Disc After Booting Up With Recovery Disc?

Hello, I'm still learning unix and I have what is probably a simple question but I can't seem to find the question to. I have an Ultra 10 Sparc Server running solaris 8 and the drive may have crashed (I hope not). Currently, it appears some files in the /etc folder are missing. I have a backup... (1 Reply)
Discussion started by: ideffects
1 Replies

3. UNIX for Dummies Questions & Answers

format disc

What is the best way to format the partition? (3 Replies)
Discussion started by: mirusnet
3 Replies

4. OS X (Apple)

disc ownership permissions

Hi all, I am running OSX 10.4.11 on a G4 Sawtooth with 3 internal hard drives. Recently while setting up new user accounts for family members, I foolishly assigned 'No Access' to 2 drives other than the boot drive. Naturally, they now don't appear on the desktop. I tried to fix... (1 Reply)
Discussion started by: les51
1 Replies

5. UNIX for Dummies Questions & Answers

Disc Needs Maintenance

Hello All Here I am using Sun V880 server which have discsuit pack of 8 discs with 2 sub mirrors each. Everything was fine for the last 1 year. Now I am getting problem of taking backup of the server. After analysis what I got that each 2nd submirrors are in NEEDS MAINTENANCE status. What... (5 Replies)
Discussion started by: ailnilanjan
5 Replies

6. Filesystems, Disks and Memory

New to Unix, need to copy disc using DD

Hello, I'm new to Unix :confused: , but very comfortable with computers, we have a old ScoUnix system at work and we have no IT person, although we have limited basic knowledge of commands we are by far not experts. We have called around to have someone work on this but to date have not found... (3 Replies)
Discussion started by: bill306
3 Replies

7. Filesystems, Disks and Memory

MO disc stuck in drive, Help!

Im a newbie at unix and need some help with my MO disc, which is stuck in the MO drive. I cant get it out. I have tried several commands but nothing works, so if there is some fullproof way to get it out i would be thankful if someone could tell me! /O (1 Reply)
Discussion started by: Olink
1 Replies

8. Filesystems, Disks and Memory

Calculating Disc Space

Ok.... Can someone please point me in the right direction. I simply want to know how to take the results of a dfspace or df command and be able to know how to determine how much disk space is either used or remaining. 1$ dfspace Filesystem 512-blocks Free %Used Iused %Iused Mounted... (5 Replies)
Discussion started by: Docboyeee
5 Replies

9. UNIX for Dummies Questions & Answers

Calculating Disc Space

I need some help in determining disc space. I ran the following commands on my IBM RS6000 server and this is what I get # dfspace Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 32768 19832 40% 1225 15% / /dev/hd2 802816 277256 66% ... (2 Replies)
Discussion started by: Docboyeee
2 Replies

10. UNIX for Dummies Questions & Answers

Disc Copy

Is there a disk copy utiliy for unix systems eg: I need to make a duplicate copy of a netraT1 to a netraT1 Thanks (1 Reply)
Discussion started by: SmartJuniorUnix
1 Replies
Login or Register to Ask a Question
File::Copy::Link(3pm)					User Contributed Perl Documentation				     File::Copy::Link(3pm)

NAME
File::Copy::Link - Perl extension for replacing a link by a copy of the linked file. SYNOPSIS
use File::Copy::Link; copylink 'file.lnk'; use File::Copy::Link qw(safecopylink); safecopylink 'file.lnk'; DESCRIPTION
"copylink" reads the filename linked to by the argument and replaced the link with a copy of the file. It opens a filehandle to read from the link, deletes the link, and then copies the filehandle back to the link. "safecopylink" does the same as "copylink" but without the open-and-delete manouvre. Instead, it uses "File::Spec::Link" to find the target of the link and copies from there. This module is mostly a wrapper round "File::Spec::Link::linked" and "File::Copy::copy", the functionality is available in a command line script copylink. EXPORT Nothing by default, can export "copylink", `"safecopylink". SEE ALSO
copylink(1) File::Copy(3) File::Spec::Link(3) AUTHOR
Robin Barker, <Robin.Barker@npl.co.uk> COPYRIGHT AND LICENSE
Copyright 2003, 2006, 2007 by Robin Barker This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2011-09-30 File::Copy::Link(3pm)