05-21-2015
Quote:
Originally Posted by
RogerBaran
Yes DD will not work because the cylinders value on the other drive is not the same as the originating drive.
Just how old are these hard drives? "cylinders" is completely meaningless on any drive newer than 1996, and a partition table with primary partition starting at sector 2048 looks pretty modern too.
Having not seen what you were doing, I can't say why your other methods resulted in a corrupted partition table.
9 More Discussions You Might Find Interesting
1. Solaris
Please help urgently.
I need to setup up some sort of service on a solaris server on a port.
I dont need it do anything special, anything that is sent to this port from an external server should be dump to /dev/null or a flat file..
Can you help urgently? (1 Reply)
Discussion started by: frustrated1
1 Replies
2. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
3. UNIX for Dummies Questions & Answers
Hello,
i am using finch (unix commandline instant messaging client using libgnt) which is running connected to /dev/pts/1
Now I would like to "remote control" the program by sending the key combinations normally typed on the keyboard from a programm in another shell. So I tried:... (0 Replies)
Discussion started by: mentos
0 Replies
4. Slackware
Hello,
Ive got an HP LaserJet 2100 / parallel interface.
I had some troubles getting going due to non-working cups drivers. Updated cups and also used a .ppd.gz file from something HP provided. found the files here...
www.linuxprinting.org/show_printer.cgi?recnum=HP-LaserJet_2100
Anyways.... (1 Reply)
Discussion started by: agentrnge
1 Replies
5. Solaris
So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies
6. AIX
Hi,
How can i check that i am using RAW devices for storage in my AIX machine...
Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number
eg:
dcback1(root):/dev>ls -lrt | grep disk12
crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies
7. AIX
Hello AIXians,
I can't boot my AIX, it hangs and stops at the code error: 0518
After searching google, I knew the problem is due to problems in File Systems.
So the solution is booting from any bootable media, then run these commands in maintenance mode:
#fsck -y /dev/hd4
#fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies
8. Red Hat
Hi,
Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies
9. HP-UX
Hi,
In our HP-UX B.11.11. I could not find dev/urandom and dev/random
Are all pseudo-devices implemented as device drivers, or in need to run /configure some package to install the package to have dev/urandom.
Please help (4 Replies)
Discussion started by: rashi
4 Replies
WREN(3) Library Functions Manual WREN(3)
NAME
wren, ata - hard disk interface
SYNOPSIS
bind #H[drive] /dev
bind #w[target[.lun]] /dev
/dev/hd0disk
/dev/hd0partition
/dev/sd0disk
/dev/sd0partition
...
DESCRIPTION
The hard disk interfaces (wren, #w, is a SCSI disk; ata, #H, is an IDE or ATA disk) serve a one-level directory giving access to the hard
disk partitions. The parameter to attach defines the numerical SCSI target and logical unit number or the IDE drive number to access.
Both default to zero.
Each partition name is prefixed by hd and the numeric drive identifier. The partition always exists and covers the entire disk. The size
of each partition as reported by stat(2) is the number of bytes in the partition, so the size of is the size of the entire disk.
The partition also always exists; it is the last block on the disk for SCSI, second to last for IDE. If it contains valid partition data,
those partitions will be visible as well. Every time the device is bound, the partitions are updated to reflect any changes in the parti-
tion file.
The format of the partition file is the string
plan9 partitions
on a line, followed by partition specifications, one per line, consisting of a name and textual strings for the block start and limit for
each partition on the disk.
The program prep(8) writes the partition table for the disk; its use is preferred to writing it by hand.
SEE ALSO
prep(8), scsi(3)
SOURCE
/sys/src/9/port/devwren.c
/sys/src/9/pc/devata.c
WREN(3)