Partition Management Software for Linux? 8
Chris Siebenmann is curious about the following:
"As part of thinking about disaster recovery for
our Linux machines, I'm looking at ways to back
up and restore the partition tables of our disks,
because it's about the only piece of data about
the system that isn't backed up. We've got
printouts of the partitioning details (via
'fdisk -l' and 'cfdisk -P') but I'd rather not go through the error-prone bit
of typing them in again to partition new disks.
Is there any program that saves and restores
partition tables? Better yet, is there one that
saves partition tables in some reasonably
abstract levels, describing the size of the
partitions and how they're structured in an
editable form, with a restoration program that
can cope with a not-completely-identical disk
to restore them onto? (Such a program would be
a useful part of an automated Linux setup and
install system, too.)"
Linux Partition issues/LVM (Score:1)
Partition Magic 4.0!!! (Score:1)
Partition Magic 4.0!!! (Score:1)
Linux Partition issues (Score:1)
If you really want to save the partition table,
all you've got to do is save the very first
sector of your hard-drive using DD.
To restore the partition, just copy it back
(also using DD). It might be handy to have
linux on floppies just in case you're stuck
with a dead system.
I believe you should think about the uses of
such a thing. Having a copy of your partition
may be handy if you lose your partition sector
(it happens, sometimes), but saving a partition
table in one geometry and restoring it on
another may be messy. Linux only uses the
"relative sector" count, but anyway I don't
believe it's wise to change the disk and keep
the old partition table.
As for "changing the partition" on the fly,
well, I think it would *rule* but it's very
complicated. Think of your underlying file
system. It will have to be changed too.
Files will have to be relocated and things
like that. In the future, I hope Linux will
have something like LVM (Logical Volume
Manager) from HP, but in the meantime, It's
my opinion that logical backups are the best
way to protect yourself against failures.
In the event of a catastrophe, all you have
to do is reinstall the same version of Linux
(usually a quick task) and restore all of your
files from the tape
Hope it helps
Paga