04-27-2001
Attempted Mirroring with dd: failed
Dear Neo & Nuraman,
we had the same problem and wanted to mirror our boot disk
to a backup one. So we tried to use dd as suggested by Neo.
Our boot disk is partitioned in eight... partitions.
Our backup disk is exactly the same as the boot one (same
model, size) and has been partitioned in the same way as the boot one.
So we tried to dd each partition on the boot disk to the
corresponding partition on the backup
Example: dd if=/dev/dsk/c0t0d0s0 of=/dev/dsk/c0t2d0s0
At the end, we took a look at the backup disk: it was
empty, no file which was on the boot disk was found on the
backup.
We even tried to swap disks, but the server does not boot
anymore, a message is shown saying: Boot failed, loaded
file is not executable.
Did we dd'ed the correct devices ?
On our system there are the same partitions listed as
/dev/rdsk/c0t...
May be we must dd those devices instead ?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to find information to help me switch to UNIX os from Windows98. Is this where I should be? If so, can someone get me started? I have a Compaq Presario 5030 with a USR 56k modem and other peripherials. Sound card is integrated onto the motherboard (I think). So, I need drivers, etc. Any... (2 Replies)
Discussion started by: leohutt
2 Replies
2. HP-UX
Hi,
I looking to setup HP Unix to HP Unix replication as plan of business continuity. The setup can be active passive or active active. Anyone can give me some idea what solution able to perform that?
Thanks (3 Replies)
Discussion started by: ufo_999
3 Replies
3. HP-UX
Hi How Should I know the Total RAM available on HP-UX box? (7 Replies)
Discussion started by: skull123
7 Replies
4. UNIX for Dummies Questions & Answers
1. How do i replicate folders between windows and unix.
if i create a subfolder under NDC in windows, it should automatically create a
subfolder in unix as well.
windows nt
/NDC/SUBFOLDERS
hp ux
/NDC/SUBFOLDERS
2. How do i ftp a file from windows to unix using automated... (0 Replies)
Discussion started by: systemsb
0 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
Will df+du=Total space allocted for a file system??
Is the above correct. Please correct me If iam wrong.
In one my programs the above is not happening.
Please help me out.
Many thanks.
Regards,
Manas (2 Replies)
Discussion started by: manas6
2 Replies
6. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
7. Shell Programming and Scripting
Requirements: ftp files recursively from unix to windows. Replicate
directory paths on unix (source) to windows (destination) and place
files in their respective folders. There are no set number of files per
directory nor fix number of dirA or dirB etc....
Source OS: Solaris... (5 Replies)
Discussion started by: mlv_99
5 Replies
8. Linux
Hi All,
I am writing a block driver for a 2GB SD card where i get the total amount of data per request as follows:
struct request *req;
uint card_addr,total_bytes;
struct request_queue *rq = BlkDev->queue;
req = elv_next_request(rq);
..
..
card_addr = req->sector*512;... (1 Reply)
Discussion started by: amio
1 Replies
9. UNIX for Dummies Questions & Answers
Hi all
Can anyone advise/confirm whether total CPU usage when running sar is %user+%system+%iowait or is it %user+%system only?
I want to confirm whether I am having a CPU-bound problem or not.
This is a single-CPU VMware machine.
$ sar 5 20
Linux 2.6.18-238.5.1.el5... (7 Replies)
Discussion started by: newbie_01
7 Replies
LEARN ABOUT HPUX
bootconf
bootconf(4) Kernel Interfaces Manual bootconf(4)
NAME
bootconf - boot device configuration table
DESCRIPTION
The file contains the address and disk layout type of the system's boot devices or lif volumes. It is used by the and HP-UX kernel control
scripts (fileset to determine how and where to update the initial boot loader. Normally the kernel's script queries the system's hardware
and creates the file. In rare cases when either the system configuration cannot be automatically determined or additional and/or alternate
boot devices should be automatically updated, the administrator must edit the file manually.
There is one line in the file for each boot device. Each line contains the following blank-separated fields in the order shown:
disk type A flag indicating how the file system(s) on the disk are laid out. The flag must be one of the following:
Indicates that the root disk is in LVM or VERITAS Volume Manager
(VxVM) format. If LVM or VxVM mirrors are used, then each of the "mirrors" must have its own line in the file.
Indicates that the root disk is in the
"whole disk" format with no partitions, but boot and swap space are reserved outside the file system.
device file The absolute path of the device special file that accesses the physical device where the boot area is located. For LVM root
disks, the device special file is the physical volume(s) returned by the command. For "whole disks" this is the device file
that references the entire disk.
Blank lines are permitted. Any line beginning with a is considered to be a comment.
DIAGNOSTICS
The Software Distributor log file contains diagnostic messages under the fileset if the file is incorrect. Most of the messages are self-
explanatory; a few warrant additional explanation:
If there are no other messages about
the file is probably empty. Otherwise, the file is not in the proper format, and the other messages will explain what the problem
is.
The specified device file does not point to a disk where there is a
lif which contains the file
Some character other than
or is in the first field of a line.
As of release 10.0, the boot areas in
must all be on the same type of disk layout.
There are characters after the
device file specification.
EXAMPLES
The boot area is on an LVM root disk:
l /dev/disk/disk7_p2
The boot area is on a whole disk layout:
w /dev/disk/disk7
WARNINGS
All of the boot devices in the file must have the same disk layout.
AUTHOR
was developed by the Hewlett-Packard Company.
FILES
SEE ALSO
mediainit(1), hpux(1M), hpux.efi(1M), mkboot(1M), vgdisplay(1M), lif(4), intro(7).
documentation.
bootconf(4)