LinuxQuestions.org
Help answer threads with 0 replies.
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 07-26-2010, 06:04 AM   #1
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Rep: Reputation: 34
Backup solution on RAID configured system


I have used gparted for backup of my system, but now I have RAID configured and gparted didn't recognize my drives:
Disk /dev/md0 doesn't contain a valid partition table

I have 2x500Gb HDDs configured in RAID and primary and logical partitions set by LVM (on Debian lenny 5.03)

Code:
 fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cb4b9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          12       96358+  fd  Linux raid autodetect
/dev/sda2              13       60801   488287642+   5  Extended
/dev/sda5              13         498     3903763+  82  Linux swap / Solaris
/dev/sda6             499         516      144553+  8e  Linux LVM
/dev/sda7             517       60801   484239231   fd  Linux raid autodetect

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000830ee

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          12       96358+  fd  Linux raid autodetect
/dev/sdb2              13       60801   488287642+   5  Extended
/dev/sdb5              13         498     3903763+  82  Linux swap / Solaris
/dev/sdb6             499         516      144553+  8e  Linux LVM
/dev/sdb7             517       60801   484239231   fd  Linux raid autodetect

Disk /dev/md0: 98 MB, 98566144 bytes
2 heads, 4 sectors/track, 24064 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/md1: 495.8 GB, 495860842496 bytes
2 heads, 4 sectors/track, 121059776 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk identifier: 0x00000000

Disk /dev/md1 doesn't contain a valid partition table

Disk /dev/dm-0: 293 MB, 293601280 bytes
255 heads, 63 sectors/track, 35 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 149.9 GB, 149996699648 bytes
255 heads, 63 sectors/track, 18236 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 149.9 GB, 149996699648 bytes
255 heads, 63 sectors/track, 18236 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/dm-3: 195.8 GB, 195865608192 bytes
255 heads, 63 sectors/track, 23812 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-3 doesn't contain a valid partition table

Disk /dev/dm-4: 96 MB, 96468992 bytes
255 heads, 63 sectors/track, 11 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-4 doesn't contain a valid partition table
What program can I use to make a backup of my installation into /dev/dm-1 (this drive is mounted as /home)?
 
Old 07-26-2010, 10:38 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
(1) It's normal for /dev/md0 to not have a partition table; it's the array, not the drives.

(2) Backup your filesystem anyway you normally would. I rsync to an external drive, personally. If you want a bare metal backup in order to swap your drive out and replace it, then, either (a) arrange your backup drive to be an exact duplicate of your main drive using sfdisk to copy the partition table and then rsync to copy the files, or (b) use a disk cloning program such as clonezilla, Acronis or just dd.
 
  


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
How to use a standalone drive as a bootable/backup to a hw raid solution? Skalek Linux - General 1 06-16-2007 06:29 PM
yast system backup tool - badly configured...!? ungua SUSE / openSUSE 0 01-11-2007 12:00 PM
Help:ask for linux system backup solution! fredlong Linux - Software 4 12-01-2003 12:44 PM
Linux Raid system backup and restore ron4linux Red Hat 1 08-29-2003 12:57 PM
System wide backup - need solution bkeating Linux - General 6 04-15-2003 01:05 PM

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

All times are GMT -5. The time now is 12:15 AM.

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