SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
What I would like to do is completly image /dev/md2 which is everything but my /boot partition. Ive tried Ghost-4-Linux but the kernel it comes with doesnt support software-raid, ive even used a modified kernel which does but then it complains about no dev called 'md2', and 'mknod /dev/md2 b 9 0' didnt seem to fix it. Then I tried 'Partimage' but for some unknown reason it say EVERY partition I had EXCEPT md2. It saw all the individual partitions which made up md2 (which are sda6, sdb6, sdc6), it even saw md0 and all the partitions that made up that, but no md2, WTF? And I doubled checked 'cat /proc/mdstat' and it indeed showed md2 and md0 as up. So right now im at a complete loss, ive been googling up a storm to no avail, im hoping one of you here can shed some light on what my best path to least resistance is. Thanks
Update:
I have successfully used 'mirrordir' ,although it was hard to find because mirrordir.sourceforge.net seems to 404, where the hell did the project disappear to? However, this really isnt making an "image" of my /dev/md2 partition which is ultimately what I'd like to do.
I was curious about perhaps using 'dd if=/dev/md2 of=/mnt/otherdrive'. My only reservations on this is that 'dd' is going to copy blank space not used up at all by my partition so thats a ton of wasted space and id like to create an image file that I would open up with some app and extract certain files from it as I see fit, much like how you can do with a .rar or .iso etc.
I appreciate your suggestions, and I am well aware of tar but it too does not exactly an "image" file and since im copying individual files it doesnt have the capability that 'mirrordir' has. As far as 'dump' goes, I did some googling and it seems to be a BSD only thing, that and its also an ext2 filesystem only util (according to the man page). I guess I should mention that im using Reiserfs as my file system.
I can't believe there isnt ONE utility that claims to do Norton Ghost like imaging that cant understand and mount a software-Raid partition that uses Reiserfs.
As far I know Norton Ghost is like dd, I mean it copies blank space not used,
it has an option to compress the resulting image though but it is the same if
you gzip the image created with dd.
Hmm, I vaugly remember sombody mentioning that there is a tool that will take an image file made by 'dd' and remove all the 'blank space' from it, but I cant seem to find that utility, perhaps you or sombody else knows what Im referring to. Also, what would be the proper extension for a file made by 'dd' such that when I copy it over to my Windows box I can use the correct application to open it up and extract out individual files, or is that not even possible?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.