LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-26-2008, 01:08 PM   #1
XtremeGamer99
LQ Newbie
 
Registered: Jan 2008
Posts: 9

Rep: Reputation: 0
PartImage with dmraid?


I somehow messed up my Debian a few days ago to the point where it wouldn't boot. I tried and tried but just couldn't recover anything, and so I decided to just reinstall. I didn't have anything important on it yet, except configuration files, so it wasn't a big loss.

But I'm trying to avoid something like that from happening again. I've been looking into it, and PartImage seems to be just what I need.

However, it doesn't seem to support dmraid. When I start it, it shows partitions not in any RAID configuration.

I have two 160GB Hitachi SATA HDDs set up in a RAID0 configuration for a total of about 306GB.

I used dmraid when installing my Debian Lenny, and my RAID volume is mapped to /dev/mapper/isw_ceeihadafd_MyVolume

The first partition is my Windows XP partition. It starts at the beginning of the volume, taking 120GB with it. Then I have about 93GB of free space, then a 2.4GB extented filesystem with 54MB of free space and the rest going to swap (fifth patition, I dunno why I have free space with it). At the very end of the volume comes my Linux partition (second partition), with 91GB of space.

Here's a picture of GParted documenting my RAID volume in full. I've also got the device drop-down activated to show the different devices; sda and sdb are the physical HDDs, with the /dev/mapper/... are the RAID volumes and partitions.
http://i82.photobucket.com/albums/j2...r99/screen.jpg

Now that I have my partition layout explained, let me explain the problem. I don't think PartImage is working with dmraid. Every time I start PartImage, it gives me this warning:
Code:
/dev/dm inode doesn't exists.
Partimage can create it for you.
You can also use the manual mknod
command. Do you want this inode
to be created for you now?
I said yes, then it shows me the partitions.
Direct copy of PartImage screen:
Code:
     ┌─────────────────────┤ Partition Image 0.6.4 ├─────────────────────┐
     │ * Partition to save/restore                                       │
     │   sda1                                 ntfs         120.00 GiB  ↑ │
     │   sda2                                 -unknown-    91.27 GiB   ▮ │
     │   sda3                                 -extended-               ▒ │
     │                                                                 ▒ │
     │                                                                 ▒ │
     │                                                                 ▒ │
     │                                                                 ↓ │
     │                                                                   │
     │ * Image file to create/use                                        │
     │   ______________________________________________________________  │
     │                                                                   │
     │ Action to be done:                                <Next (F5)>     │
     │ (*) Save partition into a new image file                          │
     │ ( ) Restore partition from an image file          <About>         │
     │ ( ) Restore an MBR from the imagefile                             │
     │                                                   <Exit (F6)>     │
     │ [ ] Connect to server                                             │
     │     IP/name of the server: _________________________ Port: 4025__ │
     │     [X] Encrypt data on the network with SSL                      │
     └───────────────────────────────────────────────────────────────────┘
Like i said, I don't think it's giving me an accurate readout of my partitions. First of all, it's showing that they're a part of sda, which is the physical HDD, not the logical RAID volume. Secondly, it says the second partition is of unknown format, when it should detect it as being ext3.

So, what can I do? I would like to backup my Linux partition every so often to a partition on the disk. Maybe use the free space available as a backup partition. But that makes me nervous, because the last time I used GParted to create a new partition out of nothing, it promptly corrupted the partition table somehow. Maybe it was user error; I dunno. Anyway, how can I get PartImage to read my drives correctly?

Thanks!

Also, on a side note: how big should my Linux partition really be? I set it at 90GB just to give me a good solid number, but I've worked on some Linux machines and have never really seen it go over 30GB used. I'm not using it for gaming or anything like that (that's where Windows come in at), just general web browsing, everyday stuff, eye candy... >_>
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid problems?? DMRAID metalenkist Linux - Software 1 12-02-2007 10:13 AM
dmraid monitoring collen Linux - General 0 11-15-2007 07:21 AM
How to make an initrd for dmraid Erik_FL Slackware 1 09-05-2006 07:47 AM
dmraid vs mdadm M K Linux - Software 1 02-14-2006 01:54 PM
using dmraid bbbb LinuxQuestions.org Member Success Stories 0 12-23-2005 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration