Sponsored Content
Operating Systems Linux Ubuntu Can't successfully clone an HDD in Ubuntu, please help Post 302519964 by DGPickett on Thursday 5th of May 2011 01:21:43 PM
Old 05-05-2011
As a stream of bytes, yes, but what if sector size is different?
 

9 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

script has been executed successfully or not??

Guys, How can we know whether a script has been executed successfully or not ? We dont have any log directories, and we are not given a chance to modify the script. Could someone help me out with this Thanks (2 Replies)
Discussion started by: bobby1015
2 Replies

3. UNIX for Dummies Questions & Answers

Cannot successfully execute .sh: su - <name> -c

Hi All, First time poster, I hope I have the basics covered. I am trying to execute a .sh but finding I am getting inconsistent results. A fresh set of eyes would be great. I am using Solaris 10 zones. So I am trying to execute a script but I am getting different results between... (2 Replies)
Discussion started by: att01
2 Replies

4. UNIX for Dummies Questions & Answers

Alphabet and numeric values repeat again and again on HDD/Linux-Ubuntu

My system is Linux, Ubuntu. I examine my hard disk drive with a hex editor, it's unencrypted, and when I scroll down, using page down in the ASCII section at right showing the alphanumeric and symbols information, the letters of the alphabet repeat from A-Z along with numbers repeating, followed by... (2 Replies)
Discussion started by: totalrecallz
2 Replies

5. HP-UX

How to clone a 382-workstations hdd?

Hi there, I got a pretty old HP 382 workstation, and the hdd is pretty LOUD ... ;) 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... (9 Replies)
Discussion started by: pelegrine
9 Replies

6. Shell Programming and Scripting

Did my script execute successfully ?

Hi, I have two scripts viz and I am running them in background. I wish to know if both the scripts completed execution successfully. So this is what I have done /tmp/commet/bin/connectdb1.sh & condb1=$? /tmp/commet/bin/connectdb2.sh & condb2=$? However, I am getting error... (7 Replies)
Discussion started by: mohtashims
7 Replies

7. UNIX for Advanced & Expert Users

Samba broken on clone Ubuntu

I configured freeradius version 2.2.0 running on Ubuntu 12.04 to authenticate against active directory and it is working fine until I decide to clone (vmware) the machine. Once the machine is clone I changed the IP address, hostname in (/etc/hosts and /etc/hostname) and also changed the name in... (1 Reply)
Discussion started by: hassan1
1 Replies

8. 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

9. 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
disksecn(1M)															      disksecn(1M)

NAME
disksecn - calculate default disk section sizes SYNOPSIS
block_size] [-n disk_name] DESCRIPTION
is used to calculate the disk section sizes based on the Berkeley disk partitioning method. recognizes the following options: Produce tables suitable for inclusion in the device driver. Produce tables suitable for generating the disk description file When generating the above tables, use a sector size of block_size bytes, where block_size can be or Defaults to DEV_BSIZE (defined in if not specified. Specifies the disk name to be used in calculating sector sizes; for example, or If an unknown disk name is specified, prompts the user for the necessary disk information. If neither nor table selection switches are specified a default table of the section sizes and range of cylinders used is output. Disk section sizes are based on the total amount of space on the disk as given in the table below (all values are supplied in units of 256-byte sectors). If the disk is smaller than approximately 44 Mbytes, aborts and returns the message Section 44-56MB 57-106MB 107-332MB 333+MB 0 97120 97120 97120 97120 1 39064 39064 143808 194240 3 39064 39064 78128 117192 4 unused 48560 110096 429704 6 7992 7992 7992 7992 10 unused unused unused 516096 Note It is important to note the difference between the block size passed into via the switch argument and the sector size the user is asked to input when an unknown disk name is passed to via the switch argument. The block size is the sector size that assumes the disk to have when it prints the requested tables. All information printed in the tables is adjusted to reflect this assumed sector size (block size) passed in by the user. The sector size requested by when an unknown disk name is passed does not necessarily have to be the same as the assumed sector size (block size) passed in by the switch argument. For example, a user wants to see the device driver tables for the disk named with an assumed sector size (block size) of 256 bytes. The user has the following information about the disk: Disk type = winchester Sector size = 512 Number of sectors per track (512 byte sectors) = 16 Number of tracks = 7 Number of cylinders = 968 Revolutions per minute = 3600 The user invokes by typing the following command: Assuming that is an unknown disk name, prompts the user for the necessary disk information. The user should input the information as shown above, reflecting a sector size of 512 bytes. All the information will be adjusted within to reflect the assumed sector size (block size) of 256 bytes, passed as the argument of the switch, before the requested device driver table is output. This adjustment also takes place when the disk name is known and an assumed sector size (block size) is passed in as the argument of the switch which is not DEV_BSIZE bytes, the assumed sector size (block size) used to create the file. RETURN VALUE
returns the following values: Successful completion. Usage error. User did not input parameters for an unknown disk. Disk too small or an invalid block size. aborts and prints an error message under the following conditions: o was invoked without specifying a disk name. o Requested both and switch. o Illegal block size requested. o Unknown disk name was specified and user did not supply disk information. o Disk's maximum storage space is less than approximately 44 MB. WARNINGS
Alternate names are not included in the output when the switch is used. Blanks are required in the command line between each of the switches when invoking A blank is required between the switch and the disk name argument to that switch. For example: does not save the block size used to generate the disk description file. The system assumes that the block size used was DEV_BSIZE when it reads the information stored in the file. AUTHOR
was developed by the University of California, Berkeley. FILES
SEE ALSO
disktab(4). Servers Only disksecn(1M)
All times are GMT -4. The time now is 04:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy