Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Dumping a FreeBSD Archive on a partiotion on Hard Disk Post 56434 by locustfurnace on Saturday 2nd of October 2004 09:42:16 PM
Old 10-02-2004
http://partimage.org/

Quote:
Partition Image is a Linux/UNIX utility which saves partitions in many formats (see below) to an image file. The image file can be compressed in the GZIP/BZIP2 formats to save disk space, and split into multiple files to be copied on removable floppies (ZIP for example), ... Partitions can be saved across the network since version 0.6.0.

Partition Image will only copy data from the used portions of the partition. For speed and efficiency, free blocks are not written to the image file. This is unlike the 'dd' command, which also copies empty blocks. Partition Image also works for large, very full partitions. For example, a full 1 GB partition can be compressed with gzip down to 400MB.
I use this on all my Windows boxes, Slackware Linux boxes. I've never had to use it yet with the *BSD machines.
You can use this to save your partition to an image file, even across the nework, which means your machine you plan to back up to must be running the partimaged server.
Then load this partimage Live-CD, and add the necessary IP info to the box after booting, which is usually just adding IP/subnet and gateway info (if needed).
Select the partition to backup, set options, and connect to the ip address of the server box.
It should only take a few minutes to copy the partition across the network. then you can resize the partition, and restore from the image.
Which would require booting once more on the Live-CD, adding the ip/subnet info, selecting the partition to restore, and the ip of the server and the directory where the partition was saved.

You will also need to download the program to install on the server box. Or run both boxes from the CD (not tested by myself.)

Also. you can just back up to a seperate partition on the same machine if you do not have a second box. if you have enough space on the Windows Partition, just backup to that drive.
It saves the backup as a image file.

I've been using this sucessfully for a few years now.

Look on the site for more info. This program works well.

Also contained on the Live-CD is a partition resizing tool. qt_parted which might be something you can use too, just to adjust the size of the partition without the image creation steps, which is really just used when backing up data. It is just like PowerQuests Partition Magic, except that PM costs and pated is free, Both tools are free.

Last edited by locustfurnace; 10-03-2004 at 08:26 PM..
 

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. UNIX for Dummies Questions & Answers

Hard disk problem

Hi everybody, I have Ultra 5 operating station, I fixed a new 80 GB HDD, when Iam installing Solaries "2.6, veeeeery old" the system see the hard disk as only 8002 MB "8GB" what can I do so the system will consider the whole capacity of the HDD. any capacity higher then 8 GB will be seen as 8 GB... (4 Replies)
Discussion started by: adol3
4 Replies

3. HP-UX

how can i get hard disk usage

I want to get hard disk usage hard disk usage= already allocated/total allocated first I use ioscan -kfnC disk get disk name c#t#d# then I use diskinfo /dev/rdsk/c#t#d# but this command can only get total disk size,not disk usage has any command can get that thanks:) (2 Replies)
Discussion started by: alert0919
2 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. 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

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

7. BSD

Mounting a hard disk in FreeBSD

I have just installed a second hard disk on a FreeBSD machine v8.0. It is seen as new hardware: # dmesg | grep ad4 ad4: 953869MB <SAMSUNG HD103UJ 1AA01113> at ata2-master SATA300 ad4: 953869MB <SAMSUNG HD103UJ 1AA01113> at ata2-master SATA300 However it is not listed in fstab where "ad4"... (2 Replies)
Discussion started by: figaro
2 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
scrounge-ntfs(8)					    BSD System Manager's Manual 					  scrounge-ntfs(8)

NAME
scrounge-ntfs -- helps retrieve data from corrupted NTFS partitions SYNOPSIS
scrounge-ntfs -l disk scrounge-ntfs -s disk scrounge-ntfs [-m mftoffset] [-c clustersize] [-o outdir] disk start end DESCRIPTION
scrounge-ntfs is a utility that can rescue data from corrupted NTFS partitions. It writes the files retrieved to another working file system. Certain information about the partition needs to be known in advance. The -l mode is meant to be run in advance of the data corruption, with the output stored away in a file. This allows scrounge-ntfs to recover data reliably. See the 'NOTES' section below for recover info when this isn't the case. OPTIONS
The options are as follows: -c The cluster size (in sectors). When not specified a default of 8 is used. -l List partition information for a drive. This will only work when the partition table for the given drive is intact. -m When recovering data this specifies the location of the MFT from the beginning of the partition (in sectors). If not specified then no directory information can be used, that is, all rescued files will be written to the same directory. -o Directory to put rescued files in. If not specified then files will be placed in the current directory. -s Search disk for partition information. (Not implemented yet). disk The raw device used to access the disk which contains the NTFS partition to rescue files from. eg: '/dev/hdc' start The beginning of the NTFS partition (in sectors). end The end of the NTFS partition (in sectors) NOTES
If you plan on using this program sucessfully you should prepare in advance by storing a copy of the partition information. Use the -l option to do this. Eventually searching for disk partition information will be implemented, which will solve this problem. When only one partition exists on a disk or you want to rescue the first partition there are ways to guess at the sector sizes and MFT loca- tion. See the scrounge-ntfs web page for more info: http://memberwebs.com/swalter/software/scrounge/ AUTHOR
Stef Walter <stef@memberwebs.com> scrounge-ntfs June 1, 2019 scrounge-ntfs
All times are GMT -4. The time now is 04:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy