Sponsored Content
Full Discussion: Migrate a Hard Disk
Operating Systems BSD Migrate a Hard Disk Post 302625261 by ccc on Tuesday 17th of April 2012 12:58:50 PM
Old 04-17-2012
Migrate a Hard Disk

hi

Has anyone already tried to migrate a hard disk with FreeBSD using recoverdisk?
 

8 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Hard Disk

I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies

2. Solaris

Migrate VxVM boot disks to higher capacity disk

Hi, Im getting a downtime of 4 hrs to do porting of bootdisks. Currently, the system is running on Sf4800. 2 internal disk 36G connected to a SE3510 storage. We're getting 72G disks and we want to restore the OS from the current 36G to the 72G disk. System is under veritas volume manager ctrl.... (4 Replies)
Discussion started by: incredible
4 Replies

3. AIX

disk space shortage, how to migrate to LVM?

Hello I'm working on AIX 6.1. I inherited something I do not know and now I need to bring it into the line. # df -m Filesystem MB blocks Free %Used Mounted on /dev/hd4 | 256.00 | 87.09 | 66% / /dev/hd2 | 4608.00 | 82.45 | 99%... (11 Replies)
Discussion started by: michalwu
11 Replies

4. UNIX for Dummies Questions & Answers

Hard Disk at 99% Help!

:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on "The following file systems are low, and could adversely affect server performance: File system /: 99%full" Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies

5. Red Hat

How to Migrate from Single Disk to Many? (RHEL 4.6)

I have a Red Hat Enterprise 4.6 virtual server built on 1 virtual disk running Oracle Applications on VMware ESX 3.5; the performance of the virtual server is not good because of IO bottlenecks. The ESX server is reporting minimal load, it's the virtual server which is struggling with disk IO... (2 Replies)
Discussion started by: home4ktt
2 Replies

6. SCO

declare disk driver for IDE hard disk

hi I've a fresh installation of SCO 5.0.7 on the IDE hard disk. For SCSI hard disk I can declare, for example blc disk driver using: # mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies

7. Emergency UNIX and Linux Support

Something is filling hard disk on its own.

I came in this morning to find that our mail server was down. Couldn't connect. I looked at logs. The logs complained about no space on device. I run df and it comfirms that the system disk (mounted on /) is at 100% capacity. I try to delete some files before attempting to look at cyrus. I rotate... (23 Replies)
Discussion started by: timgolding
23 Replies

8. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
RECOVERDISK(1)						    BSD General Commands Manual 					    RECOVERDISK(1)

NAME
recoverdisk -- recover data from hard disk or optical media SYNOPSIS
recoverdisk [-b bigsize] [-r readlist] [-s interval] [-w writelist] source [destination] DESCRIPTION
The recoverdisk utility reads data from the source file until all blocks could be successfully read. If destination was specified all data is being written to that file. It starts reading in multiples of the sector size. Whenever a block fails, it is put to the end of the work- ing queue and will be read again, possibly with a smaller read size. By default it uses block sizes of roughly 1 MB, 32kB, and the native sector size (usually 512 bytes). These figures are adjusted slightly, for devices whose sectorsize is not a power of 2, e.g., audio CDs with a sector size of 2352 bytes. The options are as follows: -b bigsize The size of reads attempted first. The middle pass is roughly the logarithmic average of the bigsize and the sectorsize. -r readlist Read the list of blocks and block sizes to read from the specified file. -s interval How often we should update the writelist file while things go OK. The default is 60 and the unit is "progress messages" so if things go well, this is the same as once per minute. -w writelist Write the list of remaining blocks to read to the specified file if recoverdisk is aborted via SIGINT. The -r and -w options can be specified together. Especially, they can point to the same file, which will be updated on abort. OUTPUT
The recoverdisk utility prints several columns, detailing the progress start Starting offset of the current block. size Read size of the current block. len Length of the current block. state Is increased for every failed read. done Number of bytes already read. remaining Number of bytes remaining. % done Percent complete. EXAMPLES
# recover data from failing hard drive ada3 recoverdisk /dev/ada3 /data/disk.img # clone a hard disk recoverdisk /dev/ada3 /dev/ada4 # read an ISO image from a CD-ROM recoverdisk /dev/cd0 /data/cd.iso # continue reading from a broken CD and update the existing worklist recoverdisk -r worklist -w worklist /dev/cd0 /data/cd.iso # recover a single file from the unreadable media recoverdisk /cdrom/file.avi file.avi # If the disk hangs the system on read-errors try: recoverdisk -b 0 /dev/ada3 /somewhere SEE ALSO
dd(1), ada(4), cam(4), cd(4), da(4) HISTORY
The recoverdisk utility first appeared in FreeBSD 7.0. AUTHORS
The original implementation was done by Poul-Henning Kamp <phk@FreeBSD.org> with minor improvements from Ulrich Sporlein <uqs@FreeBSD.org>. This manual page was written by Ulrich Sporlein. BUGS
Reading from media where the sectorsize is not a power of 2 will make all 1 MB reads fail. This is due to the DMA reads being split up into blocks of at most 128kB. These reads then fail if the sectorsize is not a divisor of 128kB. When reading a full raw audio CD, this leads to roughly 700 error messages flying by. This is harmless and can be avoided by setting -b to no more than 128kB. recoverdisk needs to know about read errors as fast as possible, i.e. retries by lower layers will usually slow down the operation. When using cam(4) attached drives, you may want to set kern.cam.XX.retry_count to zero, e.g.: # sysctl kern.cam.ada.retry_count=0 # sysctl kern.cam.cd.retry_count=0 # sysctl kern.cam.da.retry_count=0 BSD
October 1, 2013 BSD
All times are GMT -4. The time now is 06:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy