How to clone a 382-workstations hdd?


 
Thread Tools Search this Thread
Operating Systems HP-UX How to clone a 382-workstations hdd?
Prev   Next
# 1  
Old 09-13-2012
How to clone a 382-workstations hdd?

Hi there,

I got a pretty old HP 382 workstation, and the hdd is pretty LOUD ... Smilie
So I thought I clone it to an much quiter one.

I tried this:
- removed the loud hdd
- connected it to an system running knoppix 7.0.4 (hdd is recognized with UFS filesystem; Clonezilla couldn't handle the disk)
- run 'dd if=/dev/sda of=/srv/images/382.img conv=noerrors,sync'
- rebooted that knoppix system
- connected the quiter disk
- run 'dd if=/srv/images/382.img of=/dev/sda'
- changed SCSI-ID to the one the louder disk has
- build-in the quiter disk to the 382
- switch-on 382

It stops in second boot procedure with a swap-error-message, saying swapconf should be run ... but how do I do this?
And how to clone such an disk?

Thanks in advance!
Torsten


ps: my english is not that good, sorry for that

Last edited by vbe; 09-14-2012 at 05:12 AM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

BMW GT1 DIS - SCO 5.0 and Oracle 7 Root HDD Clone - IBM T30

Greeting All Diag tool HDD clone SCO 5 + Oracle 7 DB ( IBM T30 ) I am new to this forum and my knowledge on computers OS is average . I have just acquired a factory diag tool for BMW/RR/MINI from a retired mechanic. Its runs on a IBM T30 laptop with a Unix/Oracle DB system. Sco 5... (8 Replies)
Discussion started by: bmw635
8 Replies

2. AIX

IBM AIX Internal HDD vs SAN HDD and Oracle

Hi Folks, I am facing an issue with the performance. P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies

3. Hardware

Please help, I need Sun W2100z/1100z Workstations Supplemental CD 2.5

HI, I am having issue with my SUN W2100z and search all around internet, found this posting on Unix Help Dashboad. Wonder if I am able to get a copy of the Sun W2100z/1100z Workstations Supplemental CD 2.5 from anyone here. Appreciate your help. fungplus (1 Reply)
Discussion started by: fungplus
1 Replies

4. Ubuntu

Can't successfully clone an HDD in Ubuntu, please help

Hi guys, I am total newbie to Linux / Ubuntu but trying it to solve the problem I have. I have an OKI printer with bad HDD and trying to clone one from the same HDD from working printer. Board it goes on has a Fiery chipset and system used is Linux based / related - to the best of my knowlege. I... (12 Replies)
Discussion started by: Unlimitedbt
12 Replies

5. UNIX for Dummies Questions & Answers

Old HDD copy to new HDD ? im lost...

Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4. The current HDD is an IBM DGHS COMP IEC -950 FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies

6. UNIX for Advanced & Expert Users

Workstations are not sync

What's the idea of Unsyncron SUN WS's ? one of our client had a problem & my supervisor told me that this causes of unsynchron WS's i mean maybe the setting of one is not compatible with other ..... Any Suggestion would be helpful Rgrds, nikk (1 Reply)
Discussion started by: nikk
1 Replies

7. Filesystems, Disks and Memory

about emulation in workstations

i would like about the emulation in workstations. thanks. (2 Replies)
Discussion started by: rmilano
2 Replies

8. IP Networking

networking between two solaris workstations

I am trying to network two solaris workstations(ultra sparc 5) at home. what shoud I use to build the one of workstations as a http and ftp server and to network with the other workstation? (please explain to me in detail.. what kind of software or equipment do I need..) Thanks John (1 Reply)
Discussion started by: jung1975
1 Replies
Login or Register to Ask a Question
advfs_clonefset(3)					     Library Functions Manual						advfs_clonefset(3)

NAME
advfs_clonefset - Creates a read-only copy of an active fileset SYNOPSIS
#include <sys/advfs_syscalls.h> int advfs_clonefset( char *domain, char *fileset, char *clonename ); LIBRARY
AdvFS Library (libadvfs) PARAMETERS
Specifies the name of an existing AdvFS file domain. Specifies the name of original fileset. Specifies the name of the read-only clone fileset of the original fileset. DESCRIPTION
This function makes a read-only copy (clone) of an active fileset without taking the fileset off line. When you create a clone fileset, it is a read-only snapshot of fileset data structures (metadata). That is, when you clone a fileset only the structure of the original fileset is copied, not its data. As time goes by and as the files in the original fileset are modified, the file system copies the original pages to the clone fileset. In this way, the clone fileset preserves the contents of files as they were in the original fileset at the time you created the clone. You can form a fileset backup strategy by managing clone filesets without ever needing to take the original filesets off line. For exam- ple, you can determine when to unmount a clone, mount the clone on another mount point, and then use the vdump command to back it up. You can create new versions of a clone fileset, but you can maintain only one clone per fileset at a time. You can remove an existing clone fileset by using the advfs_rmfset function. NOTES
This function has features identical to the utility described in clonefset(8). RESTRICTIONS
This function only clones AdvFS filesets; it does not clone UFS file systems. The program that calls this function must be running with root privilege. A fileset must have a unique name of up to 31 characters. All whitespace characters (tab, new line, space, and so on) and the / # : * ? characters are invalid for fileset names. Do not create a clone fileset if the available disk space for the file domain is less than 5 percent of the total. When a file domain runs out of disk space, the file system loses its ability to maintain the consistency of files within clone filesets. When the file system can no longer maintain consistency, it displays warning messages similar to the following on the user's terminal and to the console: WARNING: advfs cannot copy-on-write data to a clone file. WARNING: encountered the following error: ENO_MORE_BLKS (-1040) WARNING: do not continue using the clone fileset. WARNING: original file set: name=mnt, id=2c06a73f.00027192.00000001.8001 WARNING: clone file set: name=clone, id=2c06a73f.00027192.00000002.8002 WARNING: file id = 0000000a.8002 This message also appears in the /var/adm/syslog.dated/latest_boot_date/kern.log file. RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of errno to the specific error. ERRORS
The function sets errno to the specified errors for the following failure conditions: A valid AdvFS Advanced Utilities license is not installed. The calling program is not running with root privileges. The AdvFS lock for domain could not be acquired because one of the follow- ing operations was already running on the domain: balance, defragment, rmfset, or rmvol. The fileset you want to clone already has an existing clone. The name of the clone contains an invalid character or any of the parameters are NULL or set to . An I/O error occurred on one of the disks in the file domain. The name of the clone is longer than 31 characters. The file domain specified by the domain parameter does not exist. The fileset specified by the fileset parameter does not exist in the file domain specified by the domain parameter. There is not enough memory available for the operation. There is not enough available space in the file domain to create a clone fileset. SEE ALSO
Commands: clonefset(8), mkfset(8), rmfset(8), showfsets(8) Functions: advfs_rmfset(3) advfs_clonefset(3)