BTRFS-IMAGE(8) System Manager's Manual BTRFS-IMAGE(8)NAME
btrfs-image - create/restore an image of the filesystem
SYNOPSIS
btrfs-image [options] source target
DESCRIPTION
btrfs-image is used to create an image of a btrfs filesystem. All data will be zeroed, but metadata and the like is preserved. source is
the special file corresponding to the device containing a btrfs filesystem. (e.g /dev/sdXX). target is the image file that btrfs-image
creates. When used with -r option, btrfs-image restores the image file from source into target.
OPTIONS -r restore metadump image.
-c value
compression level (0 ~ 9).
-t value
number of threads (1 ~ 32) to be used to process the image dump or restore.
-o use the old restore method, this does not fixup the chunk tree so the restored file system will not be able to be mounted.
-s Sanitize the file names when generating the image. One -s means just generate random garbage, which means that the directory indexes
won't match up since the hashes won't match with the garbage filenames. Using -ss will calculate a collision for the filename so
that the hashes match, and if it can't calculate a collision then it will just generate garbage. The collision calculator is very
time and CPU intensive so only use it if you are having problems with your file system tree and need to have it mostly working.
-w Walk all the trees manually and copy any blocks that are referenced. Use this option if your extent tree is corrupted to make sure
that all of the metadata is captured.
AVAILABILITY
btrfs-image is part of btrfs-progs. Btrfs is currently under heavy development, and not suitable for any uses other than benchmarking and
review. Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for further details.
SEE ALSO btrfsck(8),mkfs.btrfs(8)BTRFS-IMAGE(8)
Check Out this Related Man Page
xfs_mdrestore(8) System Manager's Manual xfs_mdrestore(8)NAME
xfs_mdrestore - restores an XFS metadump image to a filesystem image
SYNOPSIS
xfs_mdrestore [ -g ] source target
DESCRIPTION
xfs_mdrestore is a debugging tool that restores a metadata image generated by xfs_metadump(8) to a filesystem. The source argument speci-
fies the location of the metadump image and the target argument specifies the destination for the filsystem image. If the source is -,
then the metadata image is read from stdin. This allows the output of be another program such as a compression application to be redirected
to xfs_mdrestore. The target can be either a file or a device.
xfs_mdrestore should not be used to restore metadata onto an existing filesystem unless you are completely certain the target can be
destroyed.
OPTIONS -g Shows restore progress on stdout.
DIAGNOSTICS
xfs_mdrestore returns an exit code of 0 if all the metadata is successfully restored or 1 if an error occurs.
SEE ALSO xfs_metadump(8), xfs_repair(8), xfs_check(8), xfs(5)BUGS
Email bug reports to xfs@oss.sgi.com.
xfs_mdrestore(8)
I would like to pull a column from a file and place it in a variable:
The file would look like this:
N.Korea gibberish garbage
S.Korea gibberish garbage
USA gibberish garbage
Iraq gibberish garbage
Canada gibberish garbage
and items in the first... (8 Replies)
Hello,
We are trying to find a easy way to upgrade our old suse 8 boxes to Suse 9. I have discovered the the DD command that looks to be a way to restore a image from Suse 9 to a box at our other locations.
Question, could I use the DD command to restore a image I backed up from a Suse 9 box... (1 Reply)
i have my application running on AIX box (configuration given below)
My application does garbage collection pretty well, as such the memory free shows 500 MB - 700 MB freed up in the log statements printed in the application, but the nmon shows the physical space going upwards and does not reflect... (1 Reply)
Hi All,
char a="\0";
a) a contains \0
a contains garbage value
b) a contains \
a contains 0
a contains garbage value
Pls, let me know correct result is a or b. I guess a.
Thanks,
Naga:cool: (2 Replies)
hi there, im new to this forum, so just like to day hello to everyone!!!
i know im not aloud to post homework questions, but is it ok to ask for a formula to use to answer a question?
i looking for a formula for collison backoff algorithm to find the average time to successfully transmit a... (3 Replies)
I have a PERC 5/i card. Im using with it 3 15k rpm HDD's (model: SEAGATE Savvio 15K ST936751SS). Im going to install debian on this array.. and im looking for performance... So what would be the stripe size that i should set this raid 0 into to give me the best performance?
Thanks (22 Replies)
I don't know if there's a better name for what I call "file collision"... Basically, I have a script that I'm using for quick and dirty MySQL testing. Here's the idea...
#!/usr/local/bin/bash
for num in `jot $1` ## Yep, jot... this is FreeBSD
do
/usr/bin/time mysql --user=root... (2 Replies)
Hello,
Images won't work on UNIX when I try posting them on my website I'm working on. It doesn't show the image, and it's simply erroring.
Help! Thanks! (5 Replies)
I have two problems, and it would be great if someone could help me:
The first line does not calculate. I have checked the origin term to calculate the variables
and the result is OK. Normal substactions with $xx -100 work, but not in this constallation. I tried it with "| bc" and no result... (2 Replies)
Hi Folks,
How to restore mksysb image on LPAR which is already having cloned AIX OS installed on hdisk0 (nothing configured, only full partition image is sitting on hdisk0)
Let me know.
Thank a lot. (1 Reply)
Trying to restore an ignite image. Get pre-install analysis errors. Nothing really being logged-is using my ignite configuration because it shows my "Configuration I have customized", shows my Environment. But when I click to show my summary it does not show the configuration for filesytems I... (6 Replies)
Hi,
I have a big file of hashes, but some lines are complete garbage and do not match with hexadecimal caracters.
I would like to use sed to select only the lines thar are composed by a-fA-F0-9 and print them into an outside file.
I tried sed '/.\{32\}/p' myFile > myNewFile but it didn't... (9 Replies)
Hello,
I am monitoring file operations events (VFS).
I have a problem with BTRFS filesystem. BTRFS is using subvolumes. All highest hierarchy directories in btrfs has the same inode (256/512)
Short story:
When I receive file operation event, I receive the path and then resolve it to inode.... (2 Replies)
Sometimes when I boot, my system goes into emergency mode.
I then use Clonezilla to restore an image.
Usually the image is older than the current date.
This is part of a backup script that runs as a startup program.
cd /home/andy/bin/
zip -u -q Ubuntu_Scripts.zip *.sh *.rb *.c *.py... (22 Replies)