SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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
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.
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?